Behat / MinkExtension

Mink extension (tight integration and configuration) for Behat
MIT License
636 stars 279 forks source link

Fix PHP8 deprecation #373

Open zviryatko opened 3 years ago

zviryatko commented 3 years ago

When run behat with PHP8 it shown next deprecation warning:

$ behat
PHP Deprecated:  Method ReflectionParameter::getClass() is deprecated in /var/www/html/vendor/behat/mink-extension/src/Behat/MinkExtension/ServiceContainer/Driver/GoutteFactory.php on line 119
stronk7 commented 3 years ago

Friendly ping... any news here? It's breaking all our CI integrations because we use to exit with error on any PHP notice/warn or debugging.

It would be really great to get "clean" runs with PHP8 by default. Please make a mini-release including the needed (since some months ago) PHP8 compatibility.

Ciao :-)

stronk7 commented 3 years ago

For anybody arriving here... just saw https://github.com/Behat/MinkExtension/issues/370 ... where a new alternative is suggested.

Would be great to have this project archived/moved if it's not maintained anymore... anyway... that's in the linked issue.

Ciao :-)