upgrade hydrator 2.0 #1615
mutation-tests-diff.yml
on: pull_request
Matrix: Mutation tests on diff
Annotations
1 error and 1 warning
|
Mutation tests on diff (locked, 8.4, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation tests on diff (locked, 8.4, ubuntu-latest):
src/Serializer/DefaultEventSerializer.php#L66
Escaped Mutant for Mutator "IfNegation":
@@ @@
public static function createFromPaths(array $paths, Upcaster|null $upcaster = null, PayloadCryptographer|null $cryptographer = null): static
{
$metadataFactory = new AttributeMetadataFactory();
- if ($cryptographer) {
+ if (!$cryptographer) {
$metadataFactory = new CryptographyMetadataFactory($metadataFactory);
}
return new self((new AttributeEventRegistryFactory())->create($paths), new MetadataHydrator($metadataFactory, $cryptographer), new JsonEncoder(), $upcaster);
}
}
|