Closed ivanmunozruiz closed 4 months ago
@ivanmunozruiz , what is the Mink version requirement in your composer.json
?
Version 2.2.0 requires version ^1.11
of behat/mink, which has a signature Behat\Mink\Driver\CoreDriver::visit(string $url)
. So this error should not happen (unless you made a weird thing to force composer to install an incompatible version)
I have updated to 2.2.0 version and I receive this error
Fatal error: Declaration of Behat\Mink\Driver\BrowserKitDriver::visit(string $url) must be compatible with Behat\Mink\Driver\CoreDriver::visit($url) in /srv/api/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php on line 120