handle null and other types in old cryptographer #338
mutation-tests-diff.yml
on: pull_request
Matrix: Mutation tests on diff
Annotations
1 error and 2 warnings
|
Mutation tests on diff (locked, 8.5, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Cryptography/PersonalDataPayloadCryptographer.php#L118
Escaped Mutant for Mutator "Continue_":
@@ @@
}
if (!is_string($rawData)) {
- continue;
+ break;
}
if (!$cipherKey) {
|
|
Mutation tests on diff (locked, 8.5, ubuntu-latest):
src/Cryptography/PersonalDataPayloadCryptographer.php#L62
Escaped Mutant for Mutator "Continue_":
@@ @@
$value = $data[$propertyMetadata->fieldName()] ?? null;
if (!$this->encryptNull && $value === null) {
- continue;
+ break;
}
$targetFieldName = $this->useEncryptedFieldName
|