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
..

Question import/export formats
==============================

This directory contains plug-ins to supprt importing and exporting questions in
a variety of formats.

Each sub-module must contain at least a format.php file containing a class that
contains functions for reading, writing, importing and exporting questions.

For correct operation the class name must be based on the name of the plugin.
For example:

plugin: webct
class:  class qformat_webct extends qformat_default {

Most of them are based on the class found in question/format.php.
See the comments therein for more information.