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

(10 errors, 2 warnings)

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

report/customsql/db/access.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
report/customsql/db/install.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
report/customsql/edit_form.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
report/customsql/index.php
(#60) Expected 1 space before "=>"; 0 found
(#60) Expected 1 space after "=>"; 0 found
(#81) Expected 1 space before "=>"; 0 found
(#81) Expected 1 space after "=>"; 0 found
report/customsql/lib.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
report/customsql/locallib.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
report/customsql/settings.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
report/customsql/tests/report_test.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
report/customsql/view_form.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 2 warnings)

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

report/customsql/styles.css
(#14) Expected end of value but found 'left'.
(#19) Expected end of value but found 'left'.

PHPDocs style problems

(56 errors, 0 warnings)

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

report/customsql/categoryadd_form.php
(#33) Class report_customsql_addcategory_form is not documented
(#36) Function report_customsql_addcategory_form::definition is not documented
(#61) Function report_customsql_addcategory_form::validation is not documented
(#17) No one-line description found in phpdocs for file
report/customsql/categorydelete.php
(#17) No one-line description found in phpdocs for file
report/customsql/db/install.php
(#26) Function xmldb_report_customsql_install is not documented
(#20) Package report is not valid
report/customsql/db/upgrade.php
(#29) There is no description in phpdocs for function xmldb_report_customsql_upgrade
(#20) Package report is not valid
report/customsql/edit_form.php
(#35) Function report_customsql_edit_form::definition is not documented
(#119) Function report_customsql_edit_form::validation is not documented
report/customsql/locallib.php
(#28) Function report_customsql_execute_query is not documented
(#38) Function report_customsql_prepare_sql is not documented
(#72) Function report_customsql_generate_csv is not documented
(#143) Function report_customsql_csv_filename is not documented
(#156) Function report_customsql_temp_cvs_name is not documented
(#164) Function report_customsql_scheduled_cvs_name is not documented
(#172) Function report_customsql_accumulating_cvs_name is not documented
(#179) Function report_customsql_get_archive_times is not documented
(#196) Function report_customsql_substitute_time_tokens is not documented
(#200) Function report_customsql_substitute_user_token is not documented
(#204) Function report_customsql_url is not documented
(#209) Function report_customsql_capability_options is not documented
(#217) Function report_customsql_runable_options is not documented
(#228) Function report_customsql_daily_at_options is not documented
(#237) Function report_customsql_email_options is not documented
(#243) Function report_customsql_bad_words_list is not documented
(#248) Function report_customsql_contains_bad_word is not documented
(#252) Function report_customsql_log_action is not documented
(#258) Function report_customsql_log_delete is not documented
(#262) Function report_customsql_log_edit is not documented
(#266) Function report_customsql_log_view is not documented
(#270) Function report_customsql_print_reports is not documented
(#307) Function report_customsql_time_note is not documented
(#321) Function report_customsql_pretify_column_names is not documented
(#329) Function report_customsql_write_csv_row is not documented
(#339) Function report_customsql_start_csv is not documented
(#365) Function report_customsql_get_week_starts is not documented
(#377) Function report_customsql_get_month_starts is not documented
(#386) Function report_customsql_get_starts is not documented
(#399) Function report_customsql_delete_old_temp_files is not documented
(#419) Function report_customsql_validate_users is not documented
(#447) Function report_customsql_get_message_no_data is not documented
(#465) Function report_customsql_get_message is not documented
(#516) Function report_customsql_email_report is not documented
(#541) Function report_customsql_get_list_of_users is not documented
(#556) Function report_customsql_get_ready_to_run_daily_reports is not documented
(#615) Function report_customsql_category_options is not documented
(#135) There is no description in phpdocs for function report_customsql_is_integer
(#347) There is no description in phpdocs for function report_customsql_get_daily_time_starts
(#574) Phpdocs for function report_customsql_send_email_notification has incomplete parameters list
(#598) Phpdocs for function report_customsql_is_daily_report_ready has incomplete parameters list
report/customsql/settings.php
(#17) File-level phpdocs block is not found
report/customsql/tests/report_test.php
(#28) Class report_customsql_test is not documented
(#23) Invalid phpdocs tag @group used
report/customsql/view_form.php
(#35) 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]


Mustache template problems

(0 errors, 0 warnings)

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