Repository navigation
Add hydrator decorators and a tracing extension #460
mutation-tests-diff.yml
on: pull_request
Matrix: Mutation tests on diff
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);
}
}
|