Closed rlanting closed 5 years ago
Same here, cannot run the suite!
To fix the issue temporarily I made sure one of my contexts requires the $minkParameters
as a constructor dependency.
It looks like symfony/dependency-injection
4.2.3 introduces this error and 4.2.2 works fine - I'll look more into that.
In fact, we were relying on an unstable and undocumented behaviour of Symfony's DI, will revert it and publish a patch release. See #66 for more details.
Could you update to v2.0.3 and give it one more try? It should be solved.
Indeed, thanks!
Verified fixed. Thanks!
composer create-project symfony/skeleton behattest
cd behattest
composer require --dev friends-of-behat/symfony-extension:^2.0
vendor/bin/behat
=> Unused binding "$minkParameters" in service "App\Tests\Behat\DemoContext".
Looks like a bind is created when mink is not enabled.