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

(3 errors, 22 warnings)

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

grade/report/history/classes/filter_form.php
(#83) Possible useless method overriding detected
grade/report/history/lib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#122) Line exceeds 132 characters; contains 149 characters
(#382) Inline comments must end in full-stops, exclamation marks, or question marks
(#436) Inline comments must end in full-stops, exclamation marks, or question marks
(#521) Functions must not contain multiple empty lines in a row; found 2 empty lines
grade/report/history/renderer.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
grade/report/history/settings.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) 3 slashes comments are not allowed; use "// Comment." instead

Javascript coding style problems

(0 errors, 31 warnings)

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

grade/report/history/yui/quickselect/quickselect.js
(#93) Expected '===' and instead saw '=='.
(#98) 'list' is already defined.
(#99) Expected '!==' and instead saw '!='.
(#115) ['id'] is better written in dot notation.
(#171) ['sesskey'] is better written in dot notation.
(#172) ['action'] is better written in dot notation.
(#173) ['search'] is better written in dot notation.
(#174) ['page'] is better written in dot notation.
(#175) ['perpage'] is better written in dot notation.
(#206) 'result' used out of scope.
(#217) 'result' used out of scope.
(#219) 'result' used out of scope.
(#228) Expected '===' and instead saw '=='.
(#231) 'actionnode' is already defined.
(#243) 'actionnode' used out of scope.
(#248) 'result' used out of scope.
(#248) Expected '===' and instead saw '=='.
(#248) 'result' used out of scope.
(#252) 'result' used out of scope.
(#255) Missing semicolon.
(#261) 'result' used out of scope.
(#272) Expected '!==' and instead saw '!='.
(#403) Missing semicolon.
(#59) 'config' is defined but never used.
(#66) 'config' is defined but never used.
(#129) 'e' is defined but never used.
(#151) 'e' is defined but never used.
(#163) 'on' is defined but never used.
(#231) 'actionnode' is defined but never used.
(#266) 'args' is defined but never used.
(#287) 'args' is defined but never used.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(31 errors, 1 warnings)

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

grade/report/history/classes/filter_form.php
(#29) Class gradereport_history_filter_form is not documented
(#31) Function gradereport_history_filter_form::definition is not documented
(#75) Function gradereport_history_filter_form::definition_after_data is not documented
(#83) Function gradereport_history_filter_form::validation is not documented
(#29) Package is not specified for class gradereport_history_filter_form. It is also not specified in file-level phpdocs
grade/report/history/classes/user_button.php
(#105) Phpdocs for function gradereport_history_user_button::strings_for_js has incomplete parameters list
(#27) Class gradereport_history_user_button does not have @copyright tag
(#27) Class gradereport_history_user_button does not have @license tag
(#53) Not recommended phpdocs tag @staticvar used
(#27) Package is not specified for class gradereport_history_user_button. It is also not specified in file-level phpdocs
grade/report/history/lib.php
(#32) Class grade_report_history is not documented
(#213) Function grade_report_history::get_table_data is not documented
(#310) Function grade_report_history::get_selected_users is not documented
(#357) Function grade_report_history::get_history_table is not documented
(#414) Function grade_report_history::get_table_headings is not documented
(#591) Function grade_report_history::get_user_select_button is not documented
(#34) Variable grade_report_history::$fieldorder is not documented
(#35) Variable grade_report_history::$filters is not documented
(#36) Variable grade_report_history::$tabledata is not documented
(#37) Variable grade_report_history::$history is not documented
(#38) Variable grade_report_history::$itemidmap is not documented
(#110) There is no description in phpdocs for function get_history
(#72) Phpdocs for function grade_report_history::__construct has incomplete parameters list
(#324) Phpdocs for function grade_report_history::load_users has incomplete parameters list
(#476) Phpdocs for function grade_report_history::process_action has incomplete parameters list
(#486) Phpdocs for function grade_report_history::do_process_action has incomplete parameters list
grade/report/history/renderer.php
(#17) File-level phpdocs block is not found
(#17) Class gradereport_history_renderer is not documented
(#19) Function gradereport_history_renderer::render_select_user_button is not documented
(#68) Function gradereport_history_renderer::report_title is not documented
(#17) Package is not specified for class gradereport_history_renderer. It is also not specified in file-level phpdocs
grade/report/history/settings.php
(#29) Found comment starting with three or more slashes

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]