Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(0 errors, 37 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

report/customsql/tests/external/external_get_users_test.php
(#69) Test method test_get_users_site_config() is missing any coverage information, own or at class level
(#87) Test method test_get_users_site_viewreports() is missing any coverage information, own or at class level
(#112) Test method test_get_users_customsql_view() is missing any coverage information, own or at class level
(#144) Test method test_get_users_serch_without_admins() is missing any coverage information, own or at class level
(#162) Test method test_get_users_serch_with_admin() is missing any coverage information, own or at class level
report/customsql/tests/local/category_test.php
(#31) PHPUnit testcase name "_category_test" does not match file name "category_test"
(#35) Test method test_create_category() is missing any coverage information, own or at class level
(#52) Test method test_load_queries_data() is missing any coverage information, own or at class level
report/customsql/tests/local/query_test.php
(#35) Test method test_create_query() is missing any coverage information, own or at class level
report/customsql/tests/privacy_test.php
(#53) Test method test_get_contexts_for_userid() is missing any coverage information, own or at class level
(#62) Test method test_get_users_in_context() is missing any coverage information, own or at class level
(#75) Test method test_export_user_data() is missing any coverage information, own or at class level
(#91) Test method test_delete_data_for_all_users_in_context() is missing any coverage information, own or at class level
(#107) Test method test_delete_data_for_user() is missing any coverage information, own or at class level
(#122) Test method test_delete_data_for_users() is missing any coverage information, own or at class level
report/customsql/tests/report_test.php
(#65) Test method test_get_week_starts() is missing any coverage information, own or at class level
(#86) Test method test_get_week_starts_use_calendar_default() is missing any coverage information, own or at class level
(#98) Test method test_get_month_starts_test() is missing any coverage information, own or at class level
(#112) Test method test_report_customsql_get_element_type() is missing any coverage information, own or at class level
(#123) Test method test_report_customsql_substitute_user_token() is missing any coverage information, own or at class level
(#129) Test method test_report_customsql_capability_options() is missing any coverage information, own or at class level
(#138) Test method test_report_customsql_runable_options() is missing any coverage information, own or at class level
(#147) Test method test_report_customsql_daily_at_options() is missing any coverage information, own or at class level
(#156) Test method test_report_customsql_email_options() is missing any coverage information, own or at class level
(#162) Test method test_report_customsql_bad_words_list() is missing any coverage information, own or at class level
(#167) Test method test_report_customsql_contains_bad_word() is missing any coverage information, own or at class level
(#172) Test method test_report_customsql_get_ready_to_run_daily_reports() is missing any coverage information, own or at class level
(#245) Test method test_report_customsql_is_integer() is missing any coverage information, own or at class level
(#252) Test method test_report_customsql_get_table_headers() is missing any coverage information, own or at class level
(#278) Test method test_report_customsql_pretify_column_names() is missing any coverage information, own or at class level
(#289) Test method test_report_customsql_pretify_column_names_multi_line() is missing any coverage information, own or at class level
(#304) Test method test_report_customsql_pretify_column_names_same_name_diff_capitialisation() is missing any coverage information, own or at class level
(#314) Test method test_report_customsql_pretify_column_names_issue() is missing any coverage information, own or at class level
(#344) Test method test_report_customsql_display_row() is missing any coverage information, own or at class level
(#373) Test method test_report_customsql_email_report() is missing any coverage information, own or at class level
(#429) Test method test_report_custom_sql_download_report_url() is missing any coverage information, own or at class level
(#464) Test method test_report_customsql_write_csv_row() is missing any coverage information, own or at class level

Javascript coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by eslint [More info]


CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]


PHPDocs style problems

(74 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

report/customsql/category.php
(#17) No one-line description found in phpdocs for file
report/customsql/categoryadd_form.php
(#43) Function report_customsql_addcategory_form::definition is not documented
(#68) Function report_customsql_addcategory_form::validation is not documented
report/customsql/classes/event/query_deleted.php
(#35) Function query_deleted::init is not documented
(#41) Function query_deleted::get_name is not documented
(#45) Function query_deleted::get_description is not documented
(#49) Function query_deleted::get_url is not documented
(#53) Function query_deleted::get_legacy_logdata is not documented
report/customsql/classes/event/query_edited.php
(#35) Function query_edited::init is not documented
(#41) Function query_edited::get_name is not documented
(#45) Function query_edited::get_description is not documented
(#49) Function query_edited::get_url is not documented
(#53) Function query_edited::get_legacy_logdata is not documented
report/customsql/classes/event/query_viewed.php
(#35) Function query_viewed::init is not documented
(#41) Function query_viewed::get_name is not documented
(#45) Function query_viewed::get_description is not documented
(#49) Function query_viewed::get_url is not documented
(#53) Function query_viewed::get_legacy_logdata is not documented
report/customsql/classes/local/query.php
(#126) Phpdocs for function query::can_view has incomplete parameters list
report/customsql/classes/output/category.php
(#82) Function category::export_for_template is not documented
report/customsql/classes/output/category_query.php
(#60) Function category_query::export_for_template is not documented
(#41) Variable category_query::$context is not documented
report/customsql/classes/output/index_page.php
(#72) Function index_page::export_for_template is not documented
report/customsql/classes/output/renderer.php
(#37) Phpdocs for function renderer::render_report_actions has incomplete parameters list
report/customsql/classes/utils.php
(#27) Package is not specified for class utils. It is also not specified in file-level phpdocs
(#27) Class utils is not documented
(#63) Function utils::get_queries_data is not documented
report/customsql/edit_form.php
(#37) Function report_customsql_edit_form::definition is not documented
(#158) Function report_customsql_edit_form::set_data is not documented
(#184) Function report_customsql_edit_form::validation is not documented
report/customsql/locallib.php
(#32) Function report_customsql_execute_query is not documented
(#51) Function report_customsql_prepare_sql is not documented
(#99) Function report_customsql_generate_csv is not documented
(#187) Function report_customsql_csv_filename is not documented
(#200) Function report_customsql_temp_cvs_name is not documented
(#208) Function report_customsql_scheduled_cvs_name is not documented
(#216) Function report_customsql_accumulating_cvs_name is not documented
(#223) Function report_customsql_get_archive_times is not documented
(#240) Function report_customsql_substitute_time_tokens is not documented
(#244) Function report_customsql_substitute_user_token is not documented
(#283) Function report_customsql_capability_options is not documented
(#291) Function report_customsql_runable_options is not documented
(#302) Function report_customsql_daily_at_options is not documented
(#311) Function report_customsql_email_options is not documented
(#317) Function report_customsql_bad_words_list is not documented
(#322) Function report_customsql_contains_bad_word is not documented
(#326) Function report_customsql_log_delete is not documented
(#332) Function report_customsql_log_edit is not documented
(#338) Function report_customsql_log_view is not documented
(#469) Function report_customsql_time_note is not documented
(#484) Function report_customsql_pretify_column_names is not documented
(#541) Function report_customsql_start_csv is not documented
(#567) Function report_customsql_get_week_starts is not documented
(#585) Function report_customsql_get_month_starts is not documented
(#594) Function report_customsql_get_starts is not documented
(#607) Function report_customsql_delete_old_temp_files is not documented
(#660) Function report_customsql_get_message_no_data is not documented
(#679) Function report_customsql_get_message is not documented
(#739) Function report_customsql_email_report is not documented
(#764) Function report_customsql_get_ready_to_run_daily_reports is not documented
(#826) Function report_customsql_category_options is not documented
(#179) There is no description in phpdocs for function report_customsql_is_integer
(#549) There is no description in phpdocs for function report_customsql_get_daily_time_starts
(#347) Phpdocs for function report_customsql_get_reports_for has incomplete parameters list
(#362) Phpdocs for function report_customsql_print_reports_for has incomplete parameters list
(#784) Inline phpdocs tag {@link message_send()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
report/customsql/tests/behat/behat_report_customsql.php
(#157) Function behat_report_customsql::save_new_report is not documented
report/customsql/tests/external/external_get_users_test.php
(#37) Function external_get_users_test::setup_users is not documented
(#69) Function external_get_users_test::test_get_users_site_config is not documented
(#87) Function external_get_users_test::test_get_users_site_viewreports is not documented
(#112) Function external_get_users_test::test_get_users_customsql_view is not documented
(#144) Function external_get_users_test::test_get_users_serch_without_admins is not documented
(#162) Function external_get_users_test::test_get_users_serch_with_admin is not documented
report/customsql/view_form.php
(#37) Function report_customsql_view_form::definition is not documented

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 2 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

report/customsql/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to backup and restore, that may affect storage and transportability, please verify!

grunt changes

(2 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]

report/customsql/amd/build/userselector.min.js
Uncommitted change detected.
report/customsql/amd/build/userselector.min.js.map
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]