@@ -1,10 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Behat\Behat\Tester\Exception\PendingException; |
|
4 | 3 | use Behat\Behat\Context\Context; |
5 | 4 | use Behat\Behat\Context\SnippetAcceptingContext; |
6 | 5 | use Behat\Gherkin\Node\PyStringNode; |
7 | -use Behat\Gherkin\Node\TableNode; |
|
8 | 6 | |
9 | 7 | /** |
10 | 8 | * Defines application features from the specific context. |
@@ -1733,6 +1733,9 @@ discard block |
||
1733 | 1733 | return '"' . substr($this->string, $this->position) . '"'; |
1734 | 1734 | } |
1735 | 1735 | |
1736 | + /** |
|
1737 | + * @param string $expecting |
|
1738 | + */ |
|
1736 | 1739 | protected function report($position, $expecting) |
1737 | 1740 | { |
1738 | 1741 | if ($this->cut) { |
@@ -1755,6 +1758,9 @@ discard block |
||
1755 | 1758 | return implode(', ', end($this->warnings)); |
1756 | 1759 | } |
1757 | 1760 | |
1761 | + /** |
|
1762 | + * @param string $_string |
|
1763 | + */ |
|
1758 | 1764 | public function parse($_string) |
1759 | 1765 | { |
1760 | 1766 | $this->string = $_string; |