Closed ewallah closed 2 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.
assertRegExp() and assertNotRegExp() are deprecated and will be removed in PHPUnit 10.