Skip to content

Add hydrator decorators and a tracing extension #460

Add hydrator decorators and a tracing extension

Add hydrator decorators and a tracing extension #460

Triggered via pull request October 6, 2026 10:05
@DavidBaduraDavidBadura
synchronize #213
tracing
Status Failure
Total duration 33s
Artifacts –

mutation-tests-diff.yml

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

Annotations

1 error and 5 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/StackHydratorBuilder.php#L107
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $hydrator = $decorator->decorate($hydrator, $stack); } - $stack->setRootHydrator($hydrator); + return $hydrator; }
Mutation tests on diff (locked, 8.5, ubuntu-latest): src/StackHydratorBuilder.php#L69
Escaped Mutant for Mutator "DecrementInteger": @@ @@ * * @return $this */ - public function addDecorator(HydratorDecorator $decorator, int $priority = 0): static + public function addDecorator(HydratorDecorator $decorator, int $priority = -1): static { $this->decorators[$priority][] = $decorator;
Mutation tests on diff (locked, 8.5, ubuntu-latest): src/StackHydratorBuilder.php#L69
Escaped Mutant for Mutator "IncrementInteger": @@ @@ * * @return $this */ - public function addDecorator(HydratorDecorator $decorator, int $priority = 0): static + public function addDecorator(HydratorDecorator $decorator, int $priority = 1): static { $this->decorators[$priority][] = $decorator;
Mutation tests on diff (locked, 8.5, ubuntu-latest): src/Extension/Tracing/TracingExtension.php#L19
Escaped Mutant for Mutator "DecrementInteger": @@ @@ public function configure(StackHydratorBuilder $builder): void { - $builder->addDecorator(new TracingDecorator($this->tracer), 32); + $builder->addDecorator(new TracingDecorator($this->tracer), 31); } }
Mutation tests on diff (locked, 8.5, ubuntu-latest): src/Extension/Tracing/TracingExtension.php#L19
Escaped Mutant for Mutator "IncrementInteger": @@ @@ public function configure(StackHydratorBuilder $builder): void { - $builder->addDecorator(new TracingDecorator($this->tracer), 32); + $builder->addDecorator(new TracingDecorator($this->tracer), 33); } }