moodle/lib/dml
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
..
tests MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
auroramysql_native_moodle_database.php MDL-58931 dml: add support for aurora mysql 2020-07-01 22:56:20 +02:00
database_column_info.php
mariadb_native_moodle_database.php MDL-69581 dml: Improve MySQL/MariaDB server version detection 2022-12-28 10:59:45 +01:00
moodle_database.php MDL-81282 dml: define SQL_INT_MAX, to determine large supported ints. 2024-05-24 22:19:54 +01:00
moodle_read_slave_trait.php Merge branch 'MDL-75548' of https://github.com/timhunt/moodle 2022-09-05 13:09:09 +02:00
moodle_recordset.php MDL-65292 style: Fix all the function declaration ordering 2024-02-28 23:47:47 +01:00
moodle_temptables.php
moodle_transaction.php
mysqli_native_moodle_database.php MDL-80821 dml: declare arguments for sql_concat() 2024-02-19 12:27:51 +00:00
mysqli_native_moodle_recordset.php MDL-73424 general: specify return type where possible 2022-10-10 16:46:26 +02:00
mysqli_native_moodle_temptables.php
oci_native_moodle_database.php MDL-65292 style: Fix all function declarations white space 2024-02-28 23:33:26 +01:00
oci_native_moodle_package.sql
oci_native_moodle_recordset.php MDL-73424 general: specify return type where possible 2022-10-10 16:46:26 +02:00
oci_native_moodle_temptables.php
pdo_moodle_database.php MDL-80821 dml: declare arguments for sql_concat() 2024-02-19 12:27:51 +00:00
pdo_moodle_recordset.php MDL-73424 general: specify return type where possible 2022-10-10 16:46:26 +02:00
pgsql_native_moodle_database.php MDL-80821 dml: declare arguments for sql_concat() 2024-02-19 12:27:51 +00:00
pgsql_native_moodle_recordset.php MDL-77164 various: fix incorrect phpdocs 2023-04-13 11:35:06 +01:00
pgsql_native_moodle_temptables.php
sqlite3_pdo_moodle_database.php MDL-80821 dml: declare arguments for sql_concat() 2024-02-19 12:27:51 +00:00
sqlsrv_native_moodle_database.php MDL-81246 dml: Check the statement resource before freeing it 2024-03-15 11:07:51 +07:00
sqlsrv_native_moodle_recordset.php MDL-81246 dml: Check the statement resource before freeing it 2024-03-15 11:07:51 +07:00
sqlsrv_native_moodle_temptables.php