moodle/mod
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
..
assign MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
assignment MDL-69044 upgrade: add 3.9.0 separation line to all upgrade scripts 2020-06-14 13:08:09 +02:00
book MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
chat MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
choice MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:05 +02:00
data MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
feedback MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
folder MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
forum MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
glossary MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
h5pactivity Merge branch 'MDL-69174-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE 2020-09-02 13:14:34 +02:00
imscp MDL-69044 upgrade: add 3.9.0 separation line to all upgrade scripts 2020-06-14 13:08:09 +02:00
label MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
lesson MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
lti MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
page MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
quiz MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
resource MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
scorm MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:05 +02:00
survey MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
url MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
wiki MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
workshop MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
index.html
README.txt
upgrade.txt MDL-68645 output: Do not apply filters when creating calendar events 2020-05-13 10:03:01 +02:00

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod_form.php: a form to setup/update a module instance

  version.php: defines some meta-info and provides upgrading code

  pix/icon.gif: a 16x16 icon for the module

  db/install.xml: an SQL dump of all the required db tables and data

  index.php: a page to list all instances in a course

  view.php: a page to view a particular instance

  lib.php: any/all functions defined by the module should be in here.
         constants should be defined using MODULENAME_xxxxxx
         functions should be defined using modulename_xxxxxx

         There are a number of standard functions:

         modulename_add_instance()
         modulename_update_instance()
         modulename_delete_instance()

         modulename_user_complete()
         modulename_user_outline()

         modulename_cron()

         modulename_print_recent_activity()


If you are a developer and interested in developing new Modules see:

   Moodle Documentation:  http://moodle.org/doc
   Moodle Community:      http://moodle.org/community