moodle/course
Eloy Lafuente (stronk7) 4f7631113c
MDL-81522 phpunit: Add missing void return type to all tests #2
This commit includes more changes, all them also adding the :void
return type to unit tests missing them.

The difference is that all these changes, while also detected
perfectly by the moodle.PHPUnit.TestReturnType sniff, were not
auto-fixed (like the previous commit ones), because all them
do include some "return" statement and, for safety, we don't
fix them.

All the cases have been visually inspected and confirmed that
the existing "return" statements always belong to anon
functions within the test body and not the test own return statement.
2024-06-11 11:55:08 +02:00
..
ajax
amd MDL-82045 course: Destroy copy course modal instead of hiding it 2024-06-06 10:03:44 +08:00
classes MDL-81330 reportbuilder: add cohort data to participants report source. 2024-04-29 11:14:16 +01:00
format MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
report
templates MDL-70829 course: Mark up decorative images properly 2024-04-12 10:42:10 +08:00
tests MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
yui MDL-77174 course: Update course move to drop YUI confirm usage 2023-07-31 10:56:21 +08:00
admin.php MDL-73316 navigation: Add homepagesecondary nav 2022-01-12 13:54:57 +08:00
bulkcompletion.php MDL-78633 core_course: Improve tertiary navigation in course completion 2023-07-10 15:07:50 +02:00
category.ajax.php
changenumsections.php
completion.php MDL-78633 core_course: Improve tertiary navigation in course completion 2023-07-10 15:07:50 +02:00
completion_form.php MDL-68325 completion: Add validation to course completion form 2021-09-13 12:06:08 +02:00
customfield.php
defaultcompletion.php Merge branch 'MDL-79102-master' of https://github.com/sarjona/moodle 2023-09-01 10:15:19 +08:00
delete.php MDL-78806 core: Remove redundant site name 2023-09-09 08:58:54 +08:00
dndupload.js MDL-76271 dndupload: Corrected layout when uploading to course via dnd 2022-11-16 11:16:45 +11:00
dndupload.php
dnduploadlib.php MDL-79617 repository_upload: Close session early in upload process 2023-10-23 15:31:48 +01:00
downloadcontent.php MDL-81890 course: Fix sesskey checks 2024-06-06 22:02:35 +08:00
edit.php MDL-78806 core: Remove redundant site name 2023-09-09 08:58:54 +08:00
edit_form.php MDL-81456 core: Correct namespace imports 2024-04-09 16:13:42 +08:00
editbulkcompletion.php MDL-73863 course: Add tertiary navigation in completion pages 2022-03-10 12:28:39 +08:00
editcategory.php MDL-78806 core: Remove redundant site name 2023-09-09 08:58:54 +08:00
editsection.php MDL-80715 core_courseformat: delegate section and cm rename 2024-03-20 16:51:12 +01:00
editsection_form.php MDL-80923 course: Replace custom element with placeholder 2024-03-20 12:02:38 +01:00
enrol.php
externallib.php Merge branch 'MDL-78370-main' of https://github.com/junpataleta/moodle 2024-04-04 14:17:15 +08:00
index.php MDL-73169 core_course: Update course category breadcrumb nodes 2022-03-02 17:27:38 +08:00
info.php MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
jumpto.php MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
lib.php Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle 2024-04-15 10:42:22 +08:00
loginas.php MDL-78173 user: correct return URL upon login as from frontpage. 2024-01-24 14:46:19 +00:00
management.php MDL-73169 core_course: Update course category breadcrumb nodes 2022-03-02 17:27:38 +08:00
mod.php MDL-80248 course: Display only content for the General section 2024-01-19 12:03:36 +01:00
modduplicate.php
modedit.php MDL-78284 theme: Add new interactive content and update styles 2024-02-15 17:49:43 +01:00
modlib.php MDL-80911 Course: Fix missing required files 2024-05-20 10:05:41 +07:00
modregrade.php MDL-75878 Course: Adding graded activity too slow when lots of grades 2023-01-03 16:04:58 +00:00
moodleform_mod.php MDL-80204 lang: Polysemic lang strings to & from 2024-03-12 11:51:03 +01:00
pending.php MDL-79781 course: detect invalid creator role for pending courses. 2023-10-26 13:16:22 +01:00
recent.php MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
recent_form.php MDL-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
recommendations.php MDL-67587 course: Add search in recommended activities admin page 2020-04-09 09:17:53 +08:00
renderer.php MDL-70829 course: Mark up decorative images properly 2024-04-12 10:42:10 +08:00
report.php
request.php MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
request_form.php MDL-72309 course: make category a required field in forms. 2021-10-04 08:11:32 +01:00
reset.php MDL-81872 course: Coding style improvements 2024-05-28 09:25:39 +08:00
reset_form.php MDL-81872 course: Improve wording and workflow for reset 2024-05-27 16:18:54 +02:00
resources.php MDL-52805 core: Remove legacy log calls 2023-03-07 13:08:46 +08:00
rest.php MDL-73735 course: remove duplicate line of code 2024-05-21 13:11:20 +02:00
scales.php MDL-74649 course: render scale information using page popup layout. 2022-06-09 12:18:45 +01:00
search.php MDL-78433 course: Remove duplicated course search form 2024-04-23 16:08:03 +02:00
section.php MDL-82009 course: Course blocks should be displayed in section page too 2024-05-31 08:16:49 +02:00
switchrole.php MDL-80660 user: preserve return URL upon role switch from frontpage. 2024-01-25 15:40:52 +00:00
switchrole_form.php
tags.php MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
tags_form.php
togglecompletion.php MDL-77164 various: fix incorrect phpdocs 2023-04-13 11:35:06 +01:00
upgrade.txt MDL-81125 core: Update upgrade.txt files to document new upgrade notes 2024-05-20 22:26:45 +08:00
UPGRADING.md NOBUG: Add upgrade notes 2024-06-06 22:30:24 +08:00
user.php MDL-76362 various: Avoid passing nulls to functions that don't allow nulls 2023-01-23 09:15:54 +08:00
view.php MDL-78551 core_course: Add hooks api for course updates 2024-03-26 13:53:39 +11:00