Skip to content

fix: Update StackHydratorTest to counter timeout mutation #2740

fix: Update StackHydratorTest to counter timeout mutation

fix: Update StackHydratorTest to counter timeout mutation #2740

Re-run triggered October 2, 2026 20:49
Status Success
Total duration 2m 2s
Artifacts –

mutation-tests.yml

on: pull_request
Matrix: Mutation tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 1 notice
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/OpensslCipher.php#L58
Escaped Mutant for Mutator "Identical": @@ @@ { $tag = $parameter->tag !== null ? base64_decode($parameter->tag, true) : null; - if ($parameter->tag !== null && $tag === false) { + if ($parameter->tag !== null && $tag !== false) { throw DecryptionFailed::invalidBase64('tag'); }
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/OpensslCipher.php#L58
Escaped Mutant for Mutator "NotIdentical": @@ @@ { $tag = $parameter->tag !== null ? base64_decode($parameter->tag, true) : null; - if ($parameter->tag !== null && $tag === false) { + if ($parameter->tag === null && $tag === false) { throw DecryptionFailed::invalidBase64('tag'); }
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/OpensslCipher.php#L30
Escaped Mutant for Mutator "GreaterThan": @@ @@ throw EncryptionFailed::invalidIvLength($key->method); } - $nonce = $ivLength > 0 ? openssl_random_pseudo_bytes($ivLength) : null; + $nonce = $ivLength >= 0 ? openssl_random_pseudo_bytes($ivLength) : null; $tag = null; $encryptedData = @openssl_encrypt(
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/OpensslCipher.php#L27
Escaped Mutant for Mutator "Throw_": @@ @@ $ivLength = @openssl_cipher_iv_length($key->method); if ($ivLength === false) { - throw EncryptionFailed::invalidIvLength($key->method); + EncryptionFailed::invalidIvLength($key->method); } $nonce = $ivLength > 0 ? openssl_random_pseudo_bytes($ivLength) : null;
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/EncryptionFailed.php#L17
Escaped Mutant for Mutator "IncrementInteger": @@ @@ { private function __construct(string $message, Throwable|null $previous = null) { - parent::__construct($message, 0, $previous); + parent::__construct($message, 1, $previous); } public static function forMethod(string $method, Throwable|null $previous = null): self
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/EncryptionFailed.php#L17
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { private function __construct(string $message, Throwable|null $previous = null) { - parent::__construct($message, 0, $previous); + parent::__construct($message, -1, $previous); } public static function forMethod(string $method, Throwable|null $previous = null): self
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/DecryptionFailed.php#L17
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { private function __construct(string $message, Throwable|null $previous = null) { - parent::__construct($message, 0, $previous); + parent::__construct($message, -1, $previous); } public static function forMethod(string $method, Throwable|null $previous = null): self
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/DecryptionFailed.php#L17
Escaped Mutant for Mutator "IncrementInteger": @@ @@ { private function __construct(string $message, Throwable|null $previous = null) { - parent::__construct($message, 0, $previous); + parent::__construct($message, 1, $previous); } public static function forMethod(string $method, Throwable|null $previous = null): self
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/CreateCipherKeyFailed.php#L17
Escaped Mutant for Mutator "IncrementInteger": @@ @@ { private function __construct(string $message, Throwable|null $previous = null) { - parent::__construct($message, 0, $previous); + parent::__construct($message, 1, $previous); } public static function forMethod(string $method, string $reason): self
Mutation tests (locked, 8.5, ubuntu-latest): src/Extension/Cryptography/Cipher/CreateCipherKeyFailed.php#L17
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { private function __construct(string $message, Throwable|null $previous = null) { - parent::__construct($message, 0, $previous); + parent::__construct($message, -1, $previous); } public static function forMethod(string $method, string $reason): self
Mutation tests (locked, 8.5, ubuntu-latest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"