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

(24 errors, 1 warnings)

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

report/engagement/db/access.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
report/engagement/db/upgrade.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
report/engagement/index.php
(#97) Variable "_user" must not contain underscores.
(#98) Variable "_user" must not contain underscores.
(#99) Variable "_user" must not contain underscores.
report/engagement/locallib.php
(#30) Expected 1 space after "?"; newline found
(#44) Expected 1 space after "?"; newline found
(#63) Variable "new_weights" must not contain underscores.
(#72) Variable "new_weights" must not contain underscores.
report/engagement/renderer.php
(#79) Variable "ind_data" must not contain underscores.
(#87) Variable "total_raw" must not contain underscores.
(#89) Variable "ind_data" must not contain underscores.
(#90) Variable "ind_value" must not contain underscores.
(#90) Variable "ind_data" must not contain underscores.
(#91) Variable "ind_data" must not contain underscores.
(#93) Variable "ind_value" must not contain underscores.
(#96) Variable "weighted_value" must not contain underscores.
(#96) Variable "ind_value" must not contain underscores.
(#97) Variable "raw_value" must not contain underscores.
(#97) Variable "ind_value" must not contain underscores.
(#98) Variable "weighted_value" must not contain underscores.
(#98) Variable "raw_value" must not contain underscores.
(#99) Variable "ind_value" must not contain underscores.
(#100) Variable "total_raw" must not contain underscores.
(#100) Variable "ind_value" must not contain underscores.

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, 0 warnings)

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


PHPDocs style problems

(14 errors, 3 warnings)

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

report/engagement/db/upgrade.php
(#25) Function xmldb_report_engagement_upgrade is not documented
report/engagement/edit_form.php
(#31) Class report_engagement_edit_form is not documented
(#33) Function report_engagement_edit_form::definition is not documented
(#74) Function report_engagement_edit_form::validation is not documented
report/engagement/lib.php
(#46) Function report_engagement_get_course_summary is not documented
(#132) Function report_engagement_cron is not documented
(#91) Not recommended phpdocs tag @access used
(#104) Not recommended phpdocs tag @access used
report/engagement/locallib.php
(#27) Function report_engagement_sort_indicators is not documented
(#42) Function report_engagement_sort_risks is not documented
(#63) Function report_engagement_update_indicator is not documented
report/engagement/renderer.php
(#198) Function report_engagement_renderer::user_report is not documented
(#113) Phpdocs for function report_engagement_renderer::display_indicator_list has incomplete parameters list
(#32) Class report_engagement_renderer does not have @copyright tag
(#32) Class report_engagement_renderer does not have @license tag
(#42) Not recommended phpdocs tag @access used
(#20) Package report is not valid

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]