Gherkin
Gherkin copied to clipboard
Gherkin parser, written in PHP for Behat project
From the cucumber test data [descriptions.feature](https://github.com/cucumber/gherkin/blob/main/testdata/good/descriptions.feature) - the description on the final Example causes a parse error
fixes #256
Both are out and supported.
## [24.1.0] - 2022-10-10 ### Added * [Java] Added support for reading directly from input (files%2C streams%2C paths%2C ect) * [C] The C implementation re-enabled and made up to date....
Context -------- - I was looking at the `composer.json` file and saw a declared repository [cucumber/cucumber](https://github.com/cucumber/cucumber) - Because curiosity, I followed the link ... which redirected me to [cucumber/common](https://github.com/cucumber/common) 🤔...
- This PR is for tracking the remaining changes to be able to switch to PHPStan level 10. (💯💥🎉) - ~~Do not spend time reviewing this now - this PR...
- makes the `mkdir()` call more atomic - ensures that the specified path is definitely a directory
- `load()` is now guarded by a call to `supports()` (throwing a `LogicException` when that returns `false`) - improves narrowing the real type of `mixed $resource` with the use of...
Historically, we have not supported parsing descriptions as a separate concept for Examples, Background, Scenario or Scenario Outline. Text following the keyword line was instead parsed as a multi-line title....