mudrd8mz / moodle-tool_pluginskel

Generator of Moodle plugins skeletons
https://moodle.org/plugins/tool_pluginskel
Other
51 stars 46 forks source link

assertRegExp() and assertNotRegExp() are deprecated #111

Closed ewallah closed 2 years ago

ewallah commented 3 years ago

assertRegExp() and assertNotRegExp() are deprecated and will be removed in PHPUnit 10.

mudrd8mz commented 3 years ago

Thank you @ewallah for sharing this. The tricky part of this change is that the new methods were introduced in PHPUnit 9 that only ships with Moodle 3.11 and higher. So until we have a plugin version that supports Moodle 3.11 and higher only, I cannot merge this.

I am leaving this open for now to wait for the next major version of the plugin with higher requirements.