mirror of
https://github.com/moodle/moodle.git
synced 2025-02-08 00:52:33 +01:00
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\('
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.