mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
![]() It has been detected that the flatten_dependencies_array() was fragile and leading to wrong results when some incorrect data was passed to it. This includes: - Missing elements. - Null dependencies. - Non array dependencies. While the existing behaviour (testing-wise) has been preserved, now the situations above are better controlled and the function ignores all those incorrect cases that shouldn't happen ever. That implies that a good number of notices/warnings/errors aren't happening anymore. That was impacting both results (when the problems were only notices and warnings) and execution (when the problems were errors). Covered with tests. |
||
---|---|---|
.. | ||
fixtures | ||
grade_category_test.php | ||
grade_grade_test.php | ||
grade_item_test.php | ||
grade_object_test.php | ||
grade_outcome_test.php | ||
grade_scale_test.php |