@@ -32,7 +32,6 @@ |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * |
| 35 | - * @param type $config_files |
|
| 36 | 35 | * @todo user %paths.base% value |
| 37 | 36 | */ |
| 38 | 37 | private function loadConfigFiles($configs_mapping){ |
@@ -104,6 +104,10 @@ |
||
| 104 | 104 | $step->getKeyword(), $text, $arguments, $step->getLine(), $step->getKeywordType()); |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | + /** |
|
| 108 | + * @param string $string |
|
| 109 | + * @param string $env |
|
| 110 | + */ |
|
| 107 | 111 | private function replacePlaceholders($string, $var, $env) { |
| 108 | 112 | preg_match_all('/\${(?P<key>[^}]+)}/i', $string, $placeholders, PREG_SET_ORDER); |
| 109 | 113 | foreach ($placeholders as $placeholder) { |
@@ -120,6 +120,9 @@ discard block |
||
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | |
| 123 | + /** |
|
| 124 | + * @param string[] $variants |
|
| 125 | + */ |
|
| 123 | 126 | private function forkScenario(ScenarioNode $scenario, $variants, $configTag) { |
| 124 | 127 | $scenarios = array(); |
| 125 | 128 | $nonVariantTags = array_filter($scenario->getTags(), function ($val) { |
@@ -141,6 +144,9 @@ discard block |
||
| 141 | 144 | return $scenarios; |
| 142 | 145 | } |
| 143 | 146 | |
| 147 | + /** |
|
| 148 | + * @param StepNode[] $steps |
|
| 149 | + */ |
|
| 144 | 150 | private function injectParametersOnSteps($steps, $variant, $configTag) { |
| 145 | 151 | $injectedSteps = array(); |
| 146 | 152 | foreach ($steps as $step) { |