Update neos/buildessentials requirement from ~8.3.0 to ~9.0.0 #33
Annotations
4 warnings
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/
|
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']);
}
}
|
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'),
|
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';
}
|
The logs for this run have expired and are no longer available.
Loading