Completed
Push — master ( 6760b6...21593a )
by Rudie
02:10
created
features/bootstrap/SimpleFeatureContext.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use Behat\Behat\Context\Context;
4 4
 use Behat\Behat\Context\SnippetAcceptingContext;
5
-use Behat\Behat\Tester\Exception\PendingException;
6 5
 use Behat\Gherkin\Node\PyStringNode;
7 6
 
8 7
 class SimpleFeatureContext implements Context, SnippetAcceptingContext {
Please login to merge, or discard this patch.
src/BehatVariablesArgumentTransformer.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Behat\Behat\Definition\Call\DefinitionCall;
6 6
 use Behat\Behat\Transformation\Transformer\ArgumentTransformer;
7
-use rdx\behatvars\BehatVariablesContext;
8 7
 use rdx\behatvars\BehatVariablesDatabase;
9 8
 
10 9
 class BehatVariablesArgumentTransformer implements ArgumentTransformer {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 	public function transformArgument(DefinitionCall $definitionCall, $argumentIndex, $argumentValue) {
40 40
 		$replacements = array();
41 41
 		foreach ($this->matches as $match) {
42
-			$replacements[ $match[0] ] = BehatVariablesDatabase::get($match[1]);
42
+			$replacements[$match[0]] = BehatVariablesDatabase::get($match[1]);
43 43
 		}
44 44
 
45 45
 		return strtr($argumentValue, $replacements);
Please login to merge, or discard this patch.
features/bootstrap/ProxyFeatureContext.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -158,6 +158,8 @@  discard block
 block discarded – undo
158 158
 
159 159
 	/**
160 160
 	 *
161
+	 * @param string $filename
162
+	 * @param string $content
161 163
 	 */
162 164
 	private function createFile($filename, $content) {
163 165
 		$path = dirname($filename);
@@ -170,6 +172,7 @@  discard block
 block discarded – undo
170 172
 
171 173
 	/**
172 174
 	 *
175
+	 * @param string $path
173 176
 	 */
174 177
 	private static function clearDirectory($path) {
175 178
 		$files = scandir($path);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 use Behat\Behat\Context\Context;
4 4
 use Behat\Behat\Context\SnippetAcceptingContext;
5 5
 use Behat\Gherkin\Node\PyStringNode;
6
-use Behat\Gherkin\Node\TableNode;
7 6
 use Symfony\Component\Process\PhpExecutableFinder;
8 7
 use Symfony\Component\Process\Process;
9 8
 
Please login to merge, or discard this patch.