-
Task
-
Resolution: Fixed
-
Minor
-
3.11, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
Working on MDL-70745 (php80 epic) it was detected that behat/mink-extension, part of out behat tool-chain... is not ready for php8.
The problem, right now, doesn't go beyond displaying some PHP Warnings, and normally allow CI tools to pass (ci.moodle.org, GHA integrations...)... although... if the tool performs any output/error analysis (for example moodle-plugin-ci with travis), it fails.
PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /h
|
538 ome/travis/build/moodle/vendor/behat/mink-extension/src/Behat/MinkExtension
|
539 /ServiceContainer/Driver/GoutteFactory.php on line 119
|
540 PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /h
|
541 ome/travis/build/moodle/vendor/behat/mink-extension/src/Behat/MinkExtension
|
542 /ServiceContainer/Driver/GoutteFactory.php on line 119
|
In any case, this is only the detail that raised the alarms.
The current status is that, while the extension is not officially abandoned... in practice it has not received any update since 2018 and, also, they aren't proceeding to fix or process stuff. See, for example, https://github.com/Behat/MinkExtension/pull/373 about the PHP Warnings problem commented above.
So this issue is about consider which alternatives we have, understanding that the extension is a MUST in our Behat tool-chain.