moodle/question/format
Eloy Lafuente (stronk7) 35bc26b516 MDL-67673 phpunit: Remove deprecated assertContains() uses on strings
Both assertContains() and assertNotContains() are deprecated in PHPUnit 8
for operations on strings. Also the optional case parameter is. All uses
must be changed to one of:

- assertStringContainsString()
- assertStringContainsStringIgnoringCase()
- assertStringNotContainsString()
- assertStringNotContainsStringIgnoringCase()

More info: https://github.com/sebastianbergmann/phpunit/issues/3422

Regexp to find all uses:

ag 'assert(Not)?Contains\('
2020-10-21 12:46:05 +02:00
..
aiken MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
blackboard_six MDL-68973 versions: bump all versions and requires near release 2020-06-09 16:23:09 +02:00
examview MDL-68973 versions: bump all versions and requires near release 2020-06-09 16:23:09 +02:00
gift MDL-68973 versions: bump all versions and requires near release 2020-06-09 16:23:09 +02:00
missingword MDL-68973 versions: bump all versions and requires near release 2020-06-09 16:23:09 +02:00
multianswer MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
webct MDL-68973 versions: bump all versions and requires near release 2020-06-09 16:23:09 +02:00
xhtml MDL-68973 versions: bump all versions and requires near release 2020-06-09 16:23:09 +02:00
xml MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
README.txt MDL-20636 Boilerplate and other cleanup in the question core code. 2011-02-21 18:00:15 +00:00
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.