Moodle - the world's open source learning platform https://moodle.org/
Find a file
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
.github MDL-81698 phpunit: New workflow to run tests 1by1 @ GitHub 2024-05-25 17:19:43 +02:00
.grunt MDL-81125 core: Fix illegal whitespace 2024-05-21 15:42:48 +07:00
.upgradenotes Merge branch 'MDL-81749-main' of https://github.com/aanabit/moodle 2024-06-06 22:02:36 +08:00
admin MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
analytics MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
auth MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
availability MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
backup MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
badges MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
blocks MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
blog MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
cache MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
calendar MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
cohort MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
comment MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
communication Merge branch 'MDL-81125-main-alt' of https://github.com/andrewnicols/moodle 2024-05-21 15:33:09 +07:00
competency MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
completion MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
contentbank MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
course MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
customfield MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
dataformat MDL-81125 core: Update upgrade.txt files to document new upgrade notes 2024-05-20 22:26:45 +08:00
enrol MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
error MDL-69958 auth: Handle well-known/change-password requests 2023-08-28 23:57:22 +10:00
favourites MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
files MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
filter MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
grade MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
group MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
h5p MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
install Automatically generated installer lang files 2024-05-12 00:14:35 +00:00
iplookup MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
lang MDL-81982 lang: Import fixed English strings (en_fix) 2024-06-05 10:25:28 +08:00
lib MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
local MDL-81125 core: Update upgrade.txt files to document new upgrade notes 2024-05-20 22:26:45 +08:00
login MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
media MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
message MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
mnet MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
mod MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
moodlenet MDL-75502 core: Added MoodleNet share progress page 2023-09-12 15:14:39 +10:00
my MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
notes MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
payment MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
pix NOBUG: Fixed SVG browser compatibility 2024-03-22 14:03:38 +01:00
plagiarism MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
portfolio MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
privacy MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
question MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
rating MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
report MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
reportbuilder NOBUG: Add upgrade notes 2024-05-30 17:00:19 +02:00
repository MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
rss MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
search MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
tag MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
theme MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
user MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
userpix MDL-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
webservice MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
.eslintrc MDL-74301 eslint: Enable 'reportUnusedDisableDirectives' eslint setting 2023-07-03 15:21:53 +01:00
.gherkin-lintrc MDL-66109 behat: Prevent the use of Examples in Scenarios 2020-05-11 11:07:49 +08:00
.gitattributes MDL-64506 theme_bootstrapbase: Remove bootstrapbase from core 2019-04-03 19:34:17 +08:00
.gitignore MDL-81125 core: Add tooling to generate developer upgrade notes 2024-05-20 22:26:44 +08:00
.jshintignore MDL-66265 javascript: Add jshint ignore for ES6 files in root dir 2019-09-04 06:48:11 +08:00
.jshintrc MDL-54889 jshint: stop using for everything but shifter 2016-06-30 09:14:57 +01:00
.nvmrc MDL-79003 core: Bump NodeJS to lts/iron (NodeJS 20) 2024-01-30 12:19:39 +08:00
.phpstorm.meta.php MDL-81233 core: Include phpstorm meta info 2024-03-14 12:29:15 +08:00
.shifter.json
.stylelintrc MDL-79003 js: Bump stylelint and components 2024-01-30 12:19:53 +08:00
behat.yml.dist MDL-78934 behat: Move to BrowserKit in extension and other custom code 2023-08-18 13:59:17 +02:00
brokenfile.php
composer.json MDL-81266 composer: PHPUnit 9.6, Behat to 3.14 and other deps 2024-03-25 14:33:34 +01:00
composer.lock MDL-81591 composer: Reconcile the lock file with json contents 2024-04-17 18:33:59 +02:00
config-dist.php MDL-81813 config-dist.php: correct path 2024-05-08 09:47:25 +02:00
CONTRIBUTING.md MDL-80577 core: Update and rewrite contribution guidelines 2024-01-15 22:47:44 +08:00
COPYING.txt
draftfile.php MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
editmode.php MDL-78934 behat: Replace all the rest of goutte by browserkit 2023-08-18 13:59:17 +02:00
file.php MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
Gruntfile.js MDL-76802 core: Create a grunt task to get upgradable libs 2023-03-13 11:53:23 +01:00
help.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
help_ajax.php
index.php MDL-78806 core: Remove redundant site name 2023-09-09 08:58:54 +08:00
install.php NOBUG: Fixed file access permissions 2024-06-06 22:30:03 +08:00
INSTALL.txt MDL-53081 docs: Improve the text doc files in the root directory 2016-02-19 09:11:06 +01:00
npm-shrinkwrap.json MDL-81125 core: Add tooling to generate developer upgrade notes 2024-05-20 22:26:44 +08:00
package.json MDL-81125 core: Add tooling to generate developer upgrade notes 2024-05-20 22:26:44 +08:00
phpcs.xml.dist MDL-78496 environment: Moodle 4.4 requirements 2023-11-17 21:50:28 +08:00
phpunit.xml.dist MDL-77576 core: Add testsuite for communication 2023-05-05 14:42:45 +10:00
pluginfile.php MDL-36754 core_files: Add a token version of pluginfile 2018-08-14 06:57:32 +08:00
README.md MDL-80577 core: Rewrite and update README 2024-01-15 22:47:44 +08:00
security.txt MDL-80036 core: Update security.txt expiry 2024-03-19 15:30:24 +08:00
tokenpluginfile.php MDL-77054 files: Allow CORS in tokenpluginfile.php 2023-11-30 12:22:26 +01:00
TRADEMARK.txt MDL-77376 Licensing: Update trademark.txt 2023-02-23 15:35:25 +11:00
UPGRADING.md NOBUG: Add upgrade notes 2024-06-06 22:30:24 +08:00
version.php weekly release 4.5dev 2024-06-06 22:30:25 +08:00

Moodle

The Moodle Logo

Moodle is the World's Open Source Learning Platform, widely used around the world by countless universities, schools, companies, and all manner of organisations and individuals.

Moodle is designed to allow educators, administrators and learners to create personalised learning environments with a single robust, secure and integrated system.

Documentation

Community

moodle.org is the central hub for the Moodle Community, with spaces for educators, administrators and developers to meet and work together.

You may also be interested in:

Installation and hosting

Moodle is Free, and Open Source software. You can easily download Moodle and run it on your own web server, however you may prefer to work with one of our experienced Moodle Partners.

Moodle also offers hosting through both MoodleCloud, and our partner network.

License

Moodle is provided freely as open source software, under version 3 of the GNU General Public License. For more information on our license see