moodle/question/type/randomsamatch
Eloy Lafuente (stronk7) ba5b6089d5 MDL-71036 phpunit: Renamed various regexp-related assertions
In PHPUnit 9.1, the following regexp-related assertions
have been deprecated and there are new alternatives for
all them:
    - assertRegExp()     -> assertMatchesRegularExpression()
    - assertNotRegExp()  -> assertDoesNotMatchRegularExpression()

This is about to, simply, move all cases to the new alternatives.

Source: https://github.com/sebastianbergmann/phpunit/blob/9.1.0/ChangeLog-9.1.md

Regexp to find all them:

    ag 'assertRegExp|assertNotRegExp' -li
2021-03-11 19:22:24 +01:00
..
backup MDL-49247 question restore: avoid unique key errors from old bad data 2015-02-19 21:46:56 +00:00
classes/privacy MDL-61407 qtype: Add null_writer for all qtypes 2018-05-03 16:14:37 +08:00
db MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:11:19 +01:00
lang/en MDL-62354 lang: Merge English strings from the en_fix language pack 2018-05-09 22:39:21 +02:00
pix NOBUG: Fixed SVG browser compatibility 2018-01-25 15:14:21 +08:00
tests MDL-71036 phpunit: Renamed various regexp-related assertions 2021-03-11 19:22:24 +01:00
edit_randomsamatch_form.php MDL-27414 Upgrade the randomsamatch qtype to the new question engine 2014-02-14 16:53:04 +01:00
lib.php MDL-45618 Fix @since PHPdoc tags. 2014-05-19 17:03:04 +01:00
question.php MDL-27414 Upgrade the randomsamatch qtype to the new question engine 2014-02-14 16:53:04 +01:00
questiontype.php MDL-52193 questions: add missing require_once 2015-11-18 13:33:34 +08:00
renderer.php MDL-27414 Upgrade the randomsamatch qtype to the new question engine 2014-02-14 16:53:04 +01:00
version.php MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00