moodle/question/format
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
..
aiken MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
blackboard_six MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
examview MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
gift MDL-70966 various: Under PHP8 empty string is no longer equals to 0 2021-02-28 19:16:09 +01:00
missingword MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
multianswer MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
webct MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
xhtml MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
xml MDL-71036 phpunit: Renamed various regexp-related assertions 2021-03-11 19:22:24 +01:00
README.txt
upgrade.txt MDL-23545 question_format: Replace tabs with spaces in upgrade.txt 2018-09-18 10:04:03 +08: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.