@@ -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){ |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | use Symfony\Component\Yaml\Yaml; |
| 5 | 5 | use Ciandt\Behat\PlaceholdersExtension\Utils\PlaceholderUtils; |
| 6 | -use Ciandt\Behat\PlaceholdersExtension\PlaceholderContainer\PlaceholderContainer; |
|
| 7 | 6 | use Ciandt\Behat\PlaceholdersExtension\Exception\MissingSectionException; |
| 8 | 7 | use Ciandt\Behat\PlaceholdersExtension\Exception\UndefinedPlaceholderException; |
| 9 | 8 | |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | return self::USER_DEFINED_PLACEHOLDER_REGEX; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $string |
|
| 30 | + */ |
|
| 28 | 31 | private static function replaceStringPlaceholders($string, PlaceholdersRepository $repository, PlaceholderContainerStepNode $container) { |
| 29 | 32 | preg_match_all(self::USER_DEFINED_PLACEHOLDER_REGEX, $string, $matches, PREG_SET_ORDER); |
| 30 | 33 | foreach ($matches as $match) { |
@@ -3,11 +3,9 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Ciandt\Behat\PlaceholdersExtension\Transformation; |
| 5 | 5 | |
| 6 | -use Behat\Behat\Definition\Call\DefinitionCall; |
|
| 7 | 6 | use Behat\Gherkin\Node\TableNode; |
| 8 | 7 | use Behat\Testwork\Call\RuntimeCallee; |
| 9 | 8 | use Ciandt\Behat\PlaceholdersExtension\Config\PlaceholdersRepository; |
| 10 | -use Ciandt\Behat\PlaceholdersExtension\PlaceholderContainer\PlaceholderContainer; |
|
| 11 | 9 | use Ciandt\Behat\PlaceholdersExtension\PlaceholderContainer\PlaceholderContainerStepNode; |
| 12 | 10 | |
| 13 | 11 | /** |