On composer.json there is:
This will get the Behat/Gherkin 2.2.9
AFAIK "~" will install the highest version of last digit, so it will be stuck with 2.2.9.
And the commit needed is:
And @stov says it will be on 2.3.5 release:
Should the version be changed to "2.5.*@dev", or somehow add the fix manualy?