Skip to content

upgrade hydrator 2.0 #1615

upgrade hydrator 2.0

upgrade hydrator 2.0 #1615

Triggered via pull request November 28, 2025 20:46
Status Failure
Total duration 1m 35s
Artifacts

mutation-tests-diff.yml

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

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); } }