Skip to content

Argument resolver for subscriber #15

Argument resolver for subscriber

Argument resolver for subscriber #15

Triggered via pull request March 25, 2024 17:07
Status Failure
Total duration 26s
Artifacts

mutation-tests-diff.yml

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

Annotations

1 error and 2 warnings
Mutation tests on diff (locked, 8.3, ubuntu-latest)
Process completed with exit code 1.
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/Subscription/Subscriber/MetadataSubscriberAccessorRepository.php#L35
Escaped Mutant for Mutator "UnwrapArrayMerge": --- Original +++ New @@ @@ */ public function __construct(private readonly iterable $subscribers, private readonly SubscriberMetadataFactory $metadataFactory = new AttributeSubscriberMetadataFactory(), array $argumentResolvers = []) { - $this->argumentResolvers = array_merge($argumentResolvers, [new MessageArgumentResolver(), new EventArgumentResolver(), new AggregateIdArgumentResolver(), new RecordedOnArgumentResolver()]); + $this->argumentResolvers = [new MessageArgumentResolver(), new EventArgumentResolver(), new AggregateIdArgumentResolver(), new RecordedOnArgumentResolver()]; } /** @return iterable<SubscriberAccessor> */ public function all() : iterable