moodle/lib
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
..
adodb MDL-79662 libraries: upgrade to version 5.22.7 of ADOdb. 2023-12-18 20:05:14 +00:00
ajax MDL-79422 ajax: Update service.php for coding style 2023-09-20 16:03:12 +08:00
amd MDL-77661 mod_data: Use danger button for reset templates modals 2024-04-23 13:17:52 +02:00
antivirus MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
aws-sdk MDL-78511 lib: Include aws-sdk library 2023-12-08 15:27:05 +01:00
behat MDL-80972 behat: Behat check_server_status can provide better info. 2024-05-08 21:48:40 +02:00
bennu MDL-78142 lib: Added class properties that are not declared in bennu 2023-05-27 09:49:39 +07:00
classes Merge branch 'MDL-81794-main' of https://github.com/meirzamoodle/moodle 2024-06-06 22:02:36 +08:00
db MDL-81609 enrol: Set readonlysession for core_enrol_get_potential_users 2024-05-08 14:44:25 +01:00
ddl MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
dml MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
dtl MDL-65292 style: Fix all the function declaration ordering 2024-02-28 23:47:47 +01:00
editor MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
emoji-data
evalmath MDL-75464 libraries: upgrade EvalMath to 1.0.1 2023-03-16 17:27:30 +07:00
external MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
filebrowser MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
filestorage MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
fonts MDL-79668 lib: Update Font Awesome to v6.5.1 2024-03-11 17:08:40 +08:00
form MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
geopattern-php
google MDL-79890 core: Stop using get_class() without args 2023-11-15 09:14:40 +08:00
grade MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
guzzlehttp MDL-80640 lib: Update Guzzle library 2024-05-17 14:26:37 +02:00
html2text MDL-76362 various: Avoid passing nulls to functions that don't allow nulls 2023-01-23 09:15:54 +08:00
htmlpurifier NOBUG: Fixed file access permissions 2024-03-22 14:03:42 +01:00
jmespath MDL-78511 lib: Include JmesPath library 2023-12-08 15:27:05 +01:00
jquery MDL-78244 lib: Update jQuery to 3.7.1 2023-09-05 14:30:30 +07:00
laravel/serializable-closure MDL-80072 core: Add php-di codebase 2024-02-12 11:11:15 +08:00
lti1p3 MDL-79675 libraries: upgrade lti1p3 to v6.0.0 2024-03-06 08:44:07 +08:00
ltiprovider MDL-64152 library: Fix legacy LTI launches when using reverse proxy 2023-06-30 16:41:03 +08:00
markdown Merge branch 'MDL-75470-master' of https://github.com/davewoloszyn/moodle 2022-10-24 16:10:11 +02:00
maxmind MDL-76915 libraries: upgrade GeoIP2 to 2.13.0 2023-03-02 21:25:42 +07:00
minify MDL-79663 libraries: upgrade to version 1.3.71 of Minify. 2023-12-18 20:10:47 +00:00
mlbackend MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
mustache MDL-75473 lib: Updated Mustache to 2.14.2 2022-10-03 10:10:06 +11:00
openspout MDL-79667 lib: Upgrade OpenSpout to 4.23.0 2024-03-09 22:09:47 +08:00
pear MDL-80820 lib/pear: phpdoc corrections 2024-04-08 10:13:39 +01:00
php-css-parser MDL-75475 lib: Applied PHP CSS Parser patches 2022-10-20 09:32:47 +11:00
php-di MDL-80072 core: Add php-di codebase 2024-02-12 11:11:15 +08:00
php-enum MDL-76924 Libraries: Upgrade php-enum to 1.8.4 2023-03-02 11:41:49 +11:00
php-jwt MDL-79669 lib: Update PHP-jwt to 6.10.0 2024-03-12 11:02:32 +08:00
phpmailer MDL-79664 libraries: upgrade to version 6.9.1 of PHPMailer. 2024-03-11 11:03:32 +00:00
phpspreadsheet MDL-79210 lib: Code adjustments to the PHPSpreadSheet 1.29.0 2023-09-06 10:51:08 +07:00
phpunit MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
phpxmlrpc MDL-76929 Libraries: Upgrade phpxmlrpc to 4.10.1 2023-03-14 14:45:42 +11:00
plist MDL-75487 libraries: upgrade to version 2.0.3 of CFPropertyList. 2022-10-20 22:01:15 +01:00
polyfills
portfolio MDL-65292 style: Fix all the function declaration ordering 2024-02-28 23:47:47 +01:00
psr MDL-80838 core: Add PSR-20/Clock support 2024-04-02 10:24:54 +08:00
ralouphie/getallheaders MDL-76135 core: Import the Guzzle library 2023-01-30 13:05:27 +11:00
requirejs MDL-81236 javascript: Remove MathJax workaround from MDL-60458 2024-05-10 16:11:19 +10:00
rtlcss
scssphp MDL-79666 libraries: upgrade to version 1.12.1 of ScssPhp. 2024-01-24 15:23:07 +00:00
simplepie MDL-76909 Libraries: Upgrade Simplepie to 1.8.0 2023-03-03 16:42:01 +11:00
symfony/deprecation-contracts MDL-76135 core: Import the Guzzle library 2023-01-30 13:05:27 +11:00
table MDL-72321 core: Allow custom filteroptions to be passed by datafilters 2023-08-24 11:09:34 +01:00
tcpdf MDL-79665 libraries: upgrade to version 6.6.5 of TCPDF. 2024-01-10 10:10:49 +00:00
templates MDL-82055 output: replace usage of named templatable interface. 2024-05-31 13:04:20 +01:00
testing MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
tests MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
userkey MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
webauthn MDL-80638 lib: Update WebAuthn to 2.1.1 2024-04-09 15:12:04 +02:00
xapi MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
xhprof MDL-79285 xhprof: Add support for optional "reducedata" parameter 2023-09-26 19:39:48 +02:00
xmldb MDL-65292 style: Fix all function declarations white space 2024-02-28 23:33:26 +01:00
yui MDL-75670 theme: Refactor form-inline helper class dropped in BS5 2024-02-29 13:56:46 +01:00
yuilib MDL-76932 libraries: remove old YUI lib 3.17.2 2023-03-15 13:35:00 +07:00
zipstream MDL-78256 lib: Code adjustments to the Zipstream 3.1.0 2024-02-12 16:56:37 +07:00
accesslib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
adminlib.php Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle 2024-04-15 10:42:22 +08:00
apis.json MDL-81903 core: Add exception as L2 API 2024-05-16 23:03:36 +08:00
apis.schema.json MDL-71096 core: Add meta information about APIs to core 2022-12-09 10:49:12 +01:00
authlib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
badgeslib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
blocklib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
cacert.pem
cacert.txt
clilib.php
completionlib.php MDL-81749 core_completion: Let custom rules to return failed state 2024-06-05 15:55:04 +02:00
componentlib.class.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
components.json MDL-77576 core: Register a new communication plugin-type 2023-05-05 14:41:30 +10:00
conditionlib.php
configonlylib.php MDL-80229 core: Add tolerance to min_get_minimum_revision 2023-11-24 15:49:16 +11:00
cookies.js
cronlib.php MDL-77186 core: Move deprecated cron functions to deprecatedlib 2023-03-14 11:19:03 +08:00
csslib.php
csvlib.class.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
customcheckslib.php
datalib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
ddllib.php
default.ttf
deprecatedlib.php MDL-81940 core: deprecate RC4 encryption library methods. 2024-06-03 13:43:41 +01:00
dmllib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
dtllib.php
editorlib.php MDL-65292 style: Fix all the function declaration ordering 2024-02-28 23:47:47 +01:00
emptyfile.php
enrollib.php MDL-80599 core: Refactor enrol methods 2024-05-14 12:08:46 +08:00
environmentlib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
excellib.class.php MDL-77164 various: fix incorrect phpdocs 2023-04-13 11:35:06 +01:00
externallib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
filelib.php Merge branch 'MDL-78198-main' of https://github.com/andrewnicols/moodle 2024-06-06 22:02:34 +08:00
filterlib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
flickrclient.php
flickrlib.php MDL-65292 style: Fix all function declarations white space 2024-02-28 23:33:26 +01:00
formslib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
gdlib.php Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle 2024-04-15 10:42:22 +08:00
googleapi.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
gradelib.php MDL-51360 core_grades: Improve documentation of grade_get_grades(). 2024-05-10 09:16:36 +08:00
graphlib.php MDL-78159 lib: Added missing properties for core libraries 2023-06-21 15:39:53 +07:00
grouplib.php Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle 2024-04-15 10:42:22 +08:00
index.html
installlib.php MDL-78806 admin: Consistent page title during upgrade and install 2023-09-09 08:58:55 +08:00
javascript-static.js MDL-79498 javascript: Adjust get_string function signature 2024-01-18 10:51:02 +08:00
javascript.php MDL-77846 core: Make endpoint revision number checks stricter 2023-10-04 01:24:19 +00:00
jslib.php
jssourcemap.php MDL-78431 core: Abort after config for source maps 2023-06-07 21:07:25 +08:00
ldaplib.php MDL-78434 Lib: PHP 8.1 incompatible code relating to LDAP\Connection 2023-06-13 09:46:49 +01:00
lexer.php
licenselib.php MDL-65292 style: Fix all the function declaration ordering 2024-02-28 23:47:47 +01:00
licenses.json MDL-43195 license: upgrading cc core licenses to version 4.0 2023-08-14 22:53:57 +02:00
listlib.php MDL-65292 style: Fix all the function declaration ordering 2024-02-28 23:47:47 +01:00
mathslib.php MDL-76362 core: Coding style fixes 2023-01-23 09:15:55 +08:00
messagelib.php
modinfolib.php Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle 2024-04-15 10:42:22 +08:00
moodlelib.php MDL-81940 core: deprecate RC4 encryption library methods. 2024-06-03 13:43:41 +01:00
myprofilelib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
navigationlib.php Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle 2024-04-15 10:42:22 +08:00
oauthlib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
odslib.class.php MDL-78957 libraries: Fix php82 undefined property deprecation 2023-08-09 15:27:49 +02:00
outputactions.php MDL-78159 lib: Added missing properties for core libraries 2023-06-21 15:39:53 +07:00
outputcomponents.php MDL-82055 output: replace usage of named templatable interface. 2024-05-31 13:04:20 +01:00
outputfactories.php
outputfragmentrequirementslib.php
outputlib.php MDL-81948 theme: fix fallback layout logic 2024-05-17 10:38:22 +02:00
outputrenderers.php Merge branch 'MDL-81901-progress-cli' of https://github.com/brendanheywood/moodle 2024-05-29 13:32:26 +02:00
outputrequirementslib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
pagelib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
pdflib.php MDL-80731 core: ensure valid /Lang attribute in generated PDF files. 2024-02-22 16:51:39 +00:00
phpminimumversionlib.php MDL-80819 install: halt any install if php min version is not met 2024-02-23 11:08:08 +01:00
plagiarismlib.php MDL-67526 plagiarism: Final deprecation of plagiarism functions 2023-03-14 17:04:20 +01:00
plugins.json Merge branch 'MDL-79863-ordering' of https://github.com/Chocolate-lightning/moodle 2024-04-05 10:07:23 +08:00
plugins.schema.json MDL-81084 core: Move standard plugins to plugins.json 2024-03-28 09:31:31 +08:00
portfoliolib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
questionlib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
recaptchalib_v2.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
requirejs.php MDL-78379 js: Add missing newline character 2023-07-06 15:55:31 +10:00
resourcelib.php MDL-79283 core: add title to embedded iframe, for accessibility. 2023-09-14 09:26:14 +01:00
rsslib.php MDL-74586 rss: Make rss_get_userid_from_token() use table index 2023-02-28 13:21:35 +01:00
searchlib.php MDL-48940 core: Final deprecation of search_generate_text_SQL() 2024-04-29 11:41:22 +08:00
sessionlib.php MDL-81940 core: deprecate RC4 encryption library methods. 2024-06-03 13:43:41 +01:00
setup.php MDL-80275 core: Move disable_output_buffering to setup.php 2024-05-18 21:03:54 +08:00
setuplib.php MDL-80275 core: Move disable_output_buffering to setup.php 2024-05-18 21:03:54 +08:00
soaplib.php
statslib.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
tablelib.php Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle 2024-04-15 10:42:22 +08:00
thirdpartylibs.xml MDL-80640 lib: Update Guzzle library 2024-05-17 14:26:37 +02:00
tokeniserlib.php
upgrade.txt MDL-81125 core: Update upgrade.txt files to document new upgrade notes 2024-05-20 22:26:45 +08:00
upgradelib.php MDL-81870 core: re-factor duplicate plugin savepoint implementations. 2024-05-22 20:59:43 +01:00
UPGRADING.md NOBUG: Add upgrade notes 2024-06-06 22:30:24 +08:00
uploadlib.php
validateurlsyntax.php
wasmlib.php
webdavlib.php MDL-81552 core: Assign proper webdav_client class variables 2024-04-16 12:54:00 +08:00
weblib.php Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle 2024-04-15 10:42:22 +08:00
wiki_to_markdown.php MDL-65292 style: Fix all function declarations white space 2024-02-28 23:33:26 +01:00
wordlist.txt
xhtml.xsl
xmlize.php MDL-80820 various: fix incorrect phpdocs 2024-04-08 10:13:10 +01:00
xsendfilelib.php MDL-81306 core: Coding style fixes 2024-03-28 09:30:16 +08:00