moodle/question/engine
Eloy Lafuente (stronk7) 46606b3ddd MDL-67673 phpunit: Remove deprecated assertEquals() params
The optional parameters of assertEquals() and assertNotEquals()
are deprecated in PHPUnit 8 (to be removed in PHPUnit 9):

- delta => use assertEqualsWithDelta()
- canonicalize => use assertEqualsCanonicalizing()
- ignoreCase => use assertEqualsIgnoringCase
- maxDepth => removed without replacement.

More info @ https://github.com/sebastianbergmann/phpunit/issues/3341

Initial search done with:

ag 'assert(Not)?Equals\(.*,.*,' --php

Then, running tests and fixing remaining cases.
2020-10-21 12:46:05 +02:00
..
tests MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:05 +02:00
upgrade MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
bank.php MDL-63812 qtype_gapselect: fix questions with non-consecutive gap nos 2020-04-23 14:39:52 +01:00
datalib.php MDL-67183 questions: get_question & get_behaviour only init if required 2020-05-19 20:52:07 +01:00
lib.php MDL-69246 questions: allow for float issues when validating manual marks 2020-08-27 17:39:15 +01:00
questionattempt.php MDL-69246 questions: allow for float issues when validating manual marks 2020-08-27 17:39:15 +01:00
questionattemptstep.php MDL-65207 core: replace typos by actually 2019-04-01 08:49:18 +08:00
questionusage.php MDL-67183 question engine: allow lazy-init of question_attempts 2020-05-19 20:49:33 +01:00
renderer.php MDL-67183 questions: get_question & get_behaviour only init if required 2020-05-19 20:52:07 +01:00
states.php MDL-66754 question engine: fix lots of PHPdoc errors 2019-09-24 10:25:29 +01:00
upgrade.txt MDL-67183 questions: get_question & get_behaviour only init if required 2020-05-19 20:52:07 +01:00