add event payload cryptographer for personal data #11
mutation-tests-diff.yml
on: pull_request
Matrix: Mutation tests on diff
Annotations
4 warnings
Mutation tests on diff (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Mutation tests on diff (locked, 8.3, ubuntu-latest):
src/Cryptography/Cipher/OpensslCipher.php#L65
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
private function dataDecode(string $data) : mixed
{
- return json_decode($data, true, 512, JSON_THROW_ON_ERROR);
+ return json_decode($data, true, 511, JSON_THROW_ON_ERROR);
}
}
|
Mutation tests on diff (locked, 8.3, ubuntu-latest):
src/Cryptography/Cipher/OpensslCipher.php#L65
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
}
private function dataDecode(string $data) : mixed
{
- return json_decode($data, true, 512, JSON_THROW_ON_ERROR);
+ return json_decode($data, true, 513, JSON_THROW_ON_ERROR);
}
}
|
Mutation tests on diff (locked, 8.3, ubuntu-latest):
src/Metadata/Event/AttributeEventMetadataFactory.php#L107
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
foreach ($reflectionClass->getProperties() as $reflectionProperty) {
$attributeReflectionList = $reflectionProperty->getAttributes(DataSubjectId::class);
if (!$attributeReflectionList) {
- continue;
+ break;
}
if ($property !== null) {
throw new MultipleDataSubjectId($property->getName(), $reflectionProperty->getName());
|