Skip to content

Update neos/buildessentials requirement from ~8.3.0 to ~9.0.0 #33

Update neos/buildessentials requirement from ~8.3.0 to ~9.0.0

Update neos/buildessentials requirement from ~8.3.0 to ~9.0.0 #33

Triggered via pull request November 8, 2023 01:11
Status Success
Total duration 1m 48s
Artifacts

ci.yml

on: pull_request
Matrix: ci / test
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
ci / Test with prefer-lowest dependency versions on PHP 8.2
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci / Test with prefer-lowest dependency versions on PHP 8.2: Classes/Configuration/Factory/Sealed.php#L20
Escaped Mutant for Mutator "CastArray": --- Original +++ New @@ @@ public function build(array $configuration, string $path = 'CodenamePHP.GoogleSecretsManager') : Configuration { /** @psalm-var GSMSettings $settings */ - $settings = (array) (Arrays::getValueByPath($configuration, $path) ?? []); + $settings = Arrays::getValueByPath($configuration, $path) ?? []; $configuration = array_merge(['credentials' => '', 'project' => '', 'secrets' => [], 'enabled' => true], $settings); return new SealedConfiguration($configuration['project'], $this->secretsFactory->buildCollection($configuration['secrets'], $configuration['project']), $configuration['credentials'], $configuration['enabled']); } }
ci / Test with prefer-lowest dependency versions on PHP 8.2: Classes/Configuration/Sealed.php#L25
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ * @param string $credentials The path to the credentials json or the credentials json itself or empty to let the client library figure it out * @param bool $enabled Whether the configuration is enabled or not */ - public function __construct(public readonly string $project, public readonly array $secrets = [], public readonly string $credentials = '', public readonly bool $enabled = true) + public function __construct(public readonly string $project, public readonly array $secrets = [], public readonly string $credentials = '', public readonly bool $enabled = false) { match (true) { $this->enabled && $this->project === '' => throw new InvalidArgumentException('Project must not be empty'),
ci / Test with prefer-lowest dependency versions on PHP 8.2: Classes/Secret/Factory/Sealed.php#L36
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ if (is_string($secret)) { $secret = ['name' => $secretName, 'project' => $defaultProject, 'path' => $secret, 'version' => 'latest']; } else { - $secret['name'] ??= $secretName; + $secret['name'] = $secretName; $secret['project'] ??= $defaultProject; $secret['version'] ??= 'latest'; }
ci / Test with prefer-stable dependency versions on PHP 8.2: Classes/Configuration/Factory/Sealed.php#L20
Escaped Mutant for Mutator "CastArray": --- Original +++ New @@ @@ public function build(array $configuration, string $path = 'CodenamePHP.GoogleSecretsManager') : Configuration { /** @psalm-var GSMSettings $settings */ - $settings = (array) (Arrays::getValueByPath($configuration, $path) ?? []); + $settings = Arrays::getValueByPath($configuration, $path) ?? []; $configuration = array_merge(['credentials' => '', 'project' => '', 'secrets' => [], 'enabled' => true], $settings); return new SealedConfiguration($configuration['project'], $this->secretsFactory->buildCollection($configuration['secrets'], $configuration['project']), $configuration['credentials'], $configuration['enabled']); } }
ci / Test with prefer-stable dependency versions on PHP 8.2: Classes/Configuration/Sealed.php#L25
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ * @param string $credentials The path to the credentials json or the credentials json itself or empty to let the client library figure it out * @param bool $enabled Whether the configuration is enabled or not */ - public function __construct(public readonly string $project, public readonly array $secrets = [], public readonly string $credentials = '', public readonly bool $enabled = true) + public function __construct(public readonly string $project, public readonly array $secrets = [], public readonly string $credentials = '', public readonly bool $enabled = false) { match (true) { $this->enabled && $this->project === '' => throw new InvalidArgumentException('Project must not be empty'),
ci / Test with prefer-stable dependency versions on PHP 8.2: Classes/Secret/Factory/Sealed.php#L36
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ if (is_string($secret)) { $secret = ['name' => $secretName, 'project' => $defaultProject, 'path' => $secret, 'version' => 'latest']; } else { - $secret['name'] ??= $secretName; + $secret['name'] = $secretName; $secret['project'] ??= $defaultProject; $secret['version'] ??= 'latest'; }
ci / Test with prefer-stable dependency versions on PHP 8.2
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/