| @@ -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 | |
| @@ -39,7 +39,6 @@ | ||
| 39 | 39 | |
| 40 | 40 | /** | 
| 41 | 41 | * | 
| 42 | - * @param type $config_files | |
| 43 | 42 | * @todo user %paths.base% value | 
| 44 | 43 | */ | 
| 45 | 44 | private function loadConfigFiles($configs_mapping) | 
| @@ -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 | /** | 
| @@ -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, $tags) { | 
| 29 | 32 | preg_match_all(self::USER_DEFINED_PLACEHOLDER_REGEX, $string, $matches, PREG_SET_ORDER); | 
| 30 | 33 |          foreach ($matches as $match) { | 
| @@ -2,15 +2,12 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Ciandt\Behat\PlaceholdersExtension\Gherkin; | 
| 4 | 4 | |
| 5 | -use Behat\Gherkin\Cache\CacheInterface; | |
| 6 | 5 | use Behat\Gherkin\Loader\GherkinFileLoader; | 
| 7 | 6 | use Behat\Gherkin\Node\FeatureNode; | 
| 8 | 7 | use Behat\Gherkin\Node\OutlineNode; | 
| 9 | 8 | use Behat\Gherkin\Node\ScenarioInterface; | 
| 10 | 9 | use Behat\Gherkin\Node\ScenarioNode; | 
| 11 | -use Behat\Gherkin\Parser; | |
| 12 | 10 | use Ciandt\Behat\PlaceholdersExtension\Utils\PlaceholderUtils; | 
| 13 | -use phpDocumentor\Reflection\Types\Boolean; | |
| 14 | 11 | |
| 15 | 12 | /** | 
| 16 | 13 | * Gherkin *.feature files loader. |