File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/Middleware/FailureHandling Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 22 "$schema" :" ./vendor/phpbench/phpbench/phpbench.schema.json" ,
33 "runner.bootstrap" : " vendor/autoload.php" ,
44 "runner.path" : " tests/Benchmark" ,
5- "runner.revs" : 100000 ,
5+ "runner.revs" : 10000 ,
66 "runner.iterations" : 5 ,
77 "runner.warmup" : 5
88}
Original file line number Diff line number Diff line change 1010
1111final class FailureEnvelope implements EnvelopeInterface
1212{
13- use EnvelopeTrait;
13+ use EnvelopeTrait {
14+ getMetadata as getMetadataParent;
15+ }
1416
1517 public const FAILURE_META_KEY = 'failure-meta ' ;
1618
@@ -28,7 +30,7 @@ public static function fromMessage(MessageInterface $message): self
2830
2931 public function getMetadata (): array
3032 {
31- $ meta = $ this ->message -> getMetadata ();
33+ $ meta = $ this ->getMetadataParent ();
3234 $ meta [self ::FAILURE_META_KEY ] = array_merge ($ meta [self ::FAILURE_META_KEY ] ?? [], $ this ->meta );
3335
3436 return $ meta ;
You can’t perform that action at this time.
0 commit comments