Completed
Pull Request — master (#174)
by Phil
02:59
created
tests/Behat/Gherkin/ParserTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@  discard block
 block discarded – undo
121 121
         return $this->yaml;
122 122
     }
123 123
 
124
+    /**
125
+     * @param string $fixture
126
+     */
124 127
     protected function parseFixture($fixture)
125 128
     {
126 129
         $file = __DIR__ . '/Fixtures/features/' . $fixture;
@@ -128,6 +131,9 @@  discard block
 block discarded – undo
128 131
         return array($this->getGherkinParser()->parse(file_get_contents($file), $file));
129 132
     }
130 133
 
134
+    /**
135
+     * @param string $etalon
136
+     */
131 137
     protected function parseEtalon($etalon)
132 138
     {
133 139
         $features = $this->getYamlParser()->load(__DIR__ . '/Fixtures/etalons/' . $etalon);
Please login to merge, or discard this patch.
tests/Behat/Gherkin/Keywords/KeywordsTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -13,8 +13,16 @@
 block discarded – undo
13 13
 
14 14
 abstract class KeywordsTest extends \PHPUnit\Framework\TestCase
15 15
 {
16
+    /**
17
+     * @return \Behat\Gherkin\Keywords\KeywordsInterface
18
+     */
16 19
     abstract protected function getKeywords();
17 20
     abstract protected function getKeywordsArray();
21
+
22
+    /**
23
+     * @param string $text
24
+     * @param string $keywordType
25
+     */
18 26
     abstract protected function getSteps($keywords, $text, &$line, $keywordType);
19 27
 
20 28
     public function translationTestDataProvider()
Please login to merge, or discard this patch.