a1355134df49b12bc2ff50b1873a26c82912441f
CI matrix now has a behat-version dimension (stable / 4.x-dev) so both Behat 3.31 and Behat 4 are tested explicitly. Symfony 8.x rows always use Behat 4; Symfony 7.4 rows test both versions. behat.dist.php works with Behat 3.31 too (Behat\Config\Config exists as a bridge since 3.31), so drop behat.yml.dist and always use the PHP config — removes the if/else branch from CI and unifies local dev too. SessionsListener: fix type hint on prepareDefaultMinkSession from ScenarioLikeTested to ScenarioTested — the method uses getSuite() which is on LifecycleEvent (not ScenarioLikeTested), and the dispatched events are ScenarioTested subclasses. Also remove now-unused ScenarioLikeTested import. ServiceContainer/MinkExtension: add missing return types (: string, : void) to all interface method overrides to satisfy Behat 4's stricter interface signatures. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This is the fork of MinkExtension library that supports PHP >=7.4 and supports Symfony >=4.4.
For the documentation, please refer to the original repository.
No updates other than Symfony compatibility will be provided, but this fork might be synchronised with the original repository in the future.
Languages
PHP
99.4%
Gherkin
0.6%