moodle/lib/dml/tests
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
..
fixtures MDL-75952 general: Since php81, refection->setAccessible() is no-op 2024-03-10 21:15:00 +01:00
dml_mysqli_read_slave_test.php MDL-75952 general: Since php81, refection->setAccessible() is no-op 2024-03-10 21:15:00 +01:00
dml_pgsql_read_slave_test.php MDL-71000 lib/dml: New query type SQL_QUERY_AUX_READONLY 2022-08-23 10:39:43 +10:00
dml_read_slave_test.php MDL-65292 style: Fix all function declarations white space 2024-02-28 23:33:26 +01:00
dml_table_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
dml_test.php MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
mysqli_native_moodle_database_test.php MDL-81457 core: Mark SSL test as skipped, not incomplete 2024-04-08 08:45:16 +08:00
pgsql_native_moodle_database_test.php MDL-81457 core: Mark SSL test as skipped, not incomplete 2024-04-08 08:45:16 +08:00
pgsql_native_recordset_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
recordset_walk_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
sqlsrv_native_moodle_database_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00