Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
24 | public function gatherContexts(BeforeScenarioScope $scope): void |
||
25 | { |
||
26 | $env = $scope->getEnvironment(); |
||
27 | |||
28 | if ($env instanceof InitializedContextEnvironment) { |
||
29 | $this->robotsContext = $env->getContext(RobotsContext::class); |
||
30 | $this->metaContext = $env->getContext(MetaContext::class); |
||
31 | } |
||
66 |