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

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

mod/moodleoverflow/tests/subscriptions_test.php
(#1005) Inline comments must end in full-stops, exclamation marks, or question marks
(#1005) This comment is 55% valid code; is this commented out code?
(#1008) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1078) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1078) Inline comments must end in full-stops, exclamation marks, or question marks
(#1078) This comment is 55% valid code; is this commented out code?
(#1082) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1097) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1097) This comment is 41% valid code; is this commented out code?
(#1161) Inline comments must end in full-stops, exclamation marks, or question marks
(#1161) This comment is 55% valid code; is this commented out code?
(#1164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1238) Inline comments must start with a capital letter, digit or 3-dots sequence

Javascript coding style problems

(0 errors, 3 warnings)

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

mod/moodleoverflow/amd/src/functions.js
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#61) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#67) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(18 errors, 0 warnings)

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

mod/moodleoverflow/classes/privacy/data_export_helper.php
(#269) Function data_export_helper::export_rating_data is not documented
(#449) Function data_export_helper::get_post_area_for_parent is not documented
(#459) Function data_export_helper::get_subcontext is not documented
(#142) Phpdocs for function data_export_helper::export_all_posts_in_discussion has incomplete parameters list
(#209) Phpdocs for function data_export_helper::export_posts_in_structure has incomplete parameters list
(#233) Phpdocs for function data_export_helper::export_post_data has incomplete parameters list
(#312) Phpdocs for function data_export_helper::export_subscription_data has incomplete parameters list
(#332) Phpdocs for function data_export_helper::export_discussion_subscription_data has incomplete parameters list
(#369) Phpdocs for function data_export_helper::export_tracking_data has incomplete parameters list
(#389) Phpdocs for function data_export_helper::export_read_data has incomplete parameters list
mod/moodleoverflow/classes/privacy/provider.php
(#48) Phpdocs for function provider::_get_metadata has incomplete parameters list
mod/moodleoverflow/tests/generator/lib.php
(#97) Phpdocs for function mod_moodleoverflow_generator::create_discussion has incomplete parameters list
(#277) Phpdocs for function mod_moodleoverflow_generator::post_to_forum has incomplete parameters list
(#345) Phpdocs for function mod_moodleoverflow_generator::reply_to_post has incomplete parameters list
mod/moodleoverflow/tests/privacy_provider_test.php
(#863) Function mod_moodleoverflow_privacy_provider_testcase::create_courses_and_modules is not documented
(#895) Function mod_moodleoverflow_privacy_provider_testcase::create_and_enrol_users is not documented
(#35) Variable mod_moodleoverflow_privacy_provider_testcase::$generator is not documented
(#59) Phpdocs for function mod_moodleoverflow_privacy_provider_testcase::assert_discussion_data has incomplete parameters list

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]


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 13 warnings)

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

mod/moodleoverflow/templates/email_html.mustache
(#1) HTML Validation error, line 12: The “cellpadding” attribute on the “table” element is obsolete. Use CSS instead. (></div><table border="0" cellpadding="3" cellspacing="0" class="moodleoverflowpost"> <)
(#1) HTML Validation error, line 12: The “cellspacing” attribute on the “table” element is obsolete. Use CSS instead. (></div><table border="0" cellpadding="3" cellspacing="0" class="moodleoverflowpost"> <)
(#1) HTML Validation error, line 12: The “border” attribute on the “table” element is obsolete. Use CSS instead. (></div><table border="0" cellpadding="3" cellspacing="0" class="moodleoverflowpost"> <)
(#1) HTML Validation error, line 14: The “width” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation error, line 14: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation error, line 30: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (> <tr> <td class="left side" valign="top"> )
mod/moodleoverflow/templates/email_html_body.mustache
(#1) HTML Validation error, line 2: The “cellpadding” attribute on the “table” element is obsolete. Use CSS instead. (ad><body><table border="0" cellpadding="3" cellspacing="0" class="moodleoverflowpost"> <)
(#1) HTML Validation error, line 2: The “cellspacing” attribute on the “table” element is obsolete. Use CSS instead. (ad><body><table border="0" cellpadding="3" cellspacing="0" class="moodleoverflowpost"> <)
(#1) HTML Validation error, line 2: The “border” attribute on the “table” element is obsolete. Use CSS instead. (ad><body><table border="0" cellpadding="3" cellspacing="0" class="moodleoverflowpost"> <)
(#1) HTML Validation error, line 4: The “width” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation error, line 4: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation error, line 20: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (> <tr> <td class="left side" valign="top"> )
mod/moodleoverflow/templates/email_text.mustache
(#1) HTML Validation info, line 1: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><head><title)