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

(249 errors, 4 warnings)

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

course/format/menutopic/form_config.php
(#32) Variable "format_data" must not contain underscores.
(#44) Line exceeds 132 characters; contains 176 characters
(#45) Variable "config_saved" must not contain underscores.
(#47) Variable "config_saved" must not contain underscores.
(#48) Variable "config_saved" must not contain underscores.
(#51) Variable "config_saved" must not contain underscores.
(#52) Variable "config_saved" must not contain underscores.
(#55) Variable "config_saved" must not contain underscores.
(#56) Variable "config_saved" must not contain underscores.
(#59) Variable "config_saved" must not contain underscores.
(#60) Variable "config_saved" must not contain underscores.
(#63) Variable "config_saved" must not contain underscores.
(#64) Variable "config_saved" must not contain underscores.
(#67) Variable "config_saved" must not contain underscores.
(#68) Variable "config_saved" must not contain underscores.
(#71) Variable "config_saved" must not contain underscores.
(#72) Variable "config_saved" must not contain underscores.
(#75) Variable "config_saved" must not contain underscores.
(#76) Variable "config_saved" must not contain underscores.
(#79) Variable "config_saved" must not contain underscores.
(#80) Variable "config_saved" must not contain underscores.
(#151) Variable "display_form" must not contain underscores.
(#151) Variable "format_data" must not contain underscores.
(#153) Variable "display_form" must not contain underscores.
(#154) Variable "course_cancel_link" must not contain underscores.
(#155) Variable "display_form" must not contain underscores.
(#158) Variable "format_data" must not contain underscores.
(#160) Variable "format_data" must not contain underscores.
(#167) Variable "display_form" must not contain underscores.
course/format/menutopic/form_csstemplate.php
(#73) Variable "display_form" must not contain underscores.
(#73) Variable "format_data" must not contain underscores.
(#73) Line exceeds 132 characters; contains 134 characters
(#75) Variable "display_form" must not contain underscores.
(#76) Variable "course_cancel_link" must not contain underscores.
(#77) Variable "display_form" must not contain underscores.
(#79) Variable "format_data" must not contain underscores.
(#81) Variable "format_data" must not contain underscores.
(#88) Variable "display_form" must not contain underscores.
course/format/menutopic/form_jstemplate.php
(#74) Variable "display_form" must not contain underscores.
(#74) Variable "format_data" must not contain underscores.
(#74) Line exceeds 132 characters; contains 133 characters
(#76) Variable "display_form" must not contain underscores.
(#77) Variable "course_cancel_link" must not contain underscores.
(#78) Variable "display_form" must not contain underscores.
(#80) Variable "format_data" must not contain underscores.
(#82) Variable "format_data" must not contain underscores.
(#89) Variable "display_form" must not contain underscores.
course/format/menutopic/form_tree.php
(#65) Commas (,) must be followed by white space.
(#92) Variable "display_form" must not contain underscores.
(#92) Variable "format_data" must not contain underscores.
(#94) Variable "display_form" must not contain underscores.
(#95) Variable "course_cancel_link" must not contain underscores.
(#97) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#97) Variable "display_form" must not contain underscores.
(#98) Variable "format_data" must not contain underscores.
(#100) Variable "format_data" must not contain underscores.
(#108) Variable "display_form" must not contain underscores.
(#125) Line indented incorrectly; expected 20 spaces, found 24
(#127) Line indented incorrectly; expected 20 spaces, found 24
course/format/menutopic/lang/en/format_menutopic.php
(#110) Whitespace found at end of line within string
(#129) Whitespace found at end of line within string
(#137) Whitespace found at end of line within string
course/format/menutopic/lang/es/format_menutopic.php
(#102) Whitespace found at end of line within string
(#129) Whitespace found at end of line within string
(#137) Whitespace found at end of line within string
(#139) Whitespace found at end of line within string
course/format/menutopic/lib.php
(#327) This comment is 43% valid code; is this commented out code?
course/format/menutopic/menu.php
(#57) Variable "with_styles" must not contain underscores.
(#72) Variable "with_styles" must not contain underscores.
(#91) Line indented incorrectly; expected at least 16 spaces, found 12
(#111) Variable "topic_number" must not contain underscores.
(#113) Variable "topic_number" must not contain underscores.
(#140) Variable "li_properties" must not contain underscores.
(#142) Variable "topic_number" must not contain underscores.
(#143) Variable "li_properties" must not contain underscores.
(#147) Variable "li_properties" must not contain underscores.
(#150) Variable "li_properties" must not contain underscores.
(#152) Variable "link_properties" must not contain underscores.
(#155) Variable "link_properties" must not contain underscores.
(#158) Variable "link_properties" must not contain underscores.
(#167) Variable "link_properties" must not contain underscores.
(#168) Variable "li_properties" must not contain underscores.
(#171) Variable "link_properties" must not contain underscores.
(#174) Variable "topic_number" must not contain underscores.
(#175) Variable "li_properties" must not contain underscores.
(#179) Variable "li_properties" must not contain underscores.
(#183) Variable "li_properties" must not contain underscores.
(#184) Variable "link_properties" must not contain underscores.
(#193) Variable "with_styles" must not contain underscores.
(#197) Variable "with_styles" must not contain underscores.
course/format/menutopic/renderer.php
(#131) Variable "current_exists" must not contain underscores.
(#133) Variable "ids_topics" must not contain underscores.
(#136) Variable "ids_topics" must not contain underscores.
(#136) Variable "id_topic" must not contain underscores.
(#137) Variable "id_topic" must not contain underscores.
(#138) Variable "current_exists" must not contain underscores.
(#144) Variable "current_exists" must not contain underscores.
(#146) Variable "ids_topics" must not contain underscores.
(#147) Variable "previous_topic" must not contain underscores.
(#147) Variable "next_topic" must not contain underscores.
(#149) Variable "previous_topic" must not contain underscores.
(#150) Variable "next_topic" must not contain underscores.
(#150) Variable "ids_topics" must not contain underscores.
(#151) Variable "ids_topics" must not contain underscores.
(#152) Variable "previous_topic" must not contain underscores.
(#152) Variable "ids_topics" must not contain underscores.
(#153) Variable "next_topic" must not contain underscores.
(#155) Variable "previous_topic" must not contain underscores.
(#155) Variable "ids_topics" must not contain underscores.
(#156) Variable "next_topic" must not contain underscores.
(#156) Variable "ids_topics" must not contain underscores.
(#159) Variable "previous_topic" must not contain underscores.
(#159) Variable "previous_topic" must not contain underscores.
(#161) Variable "previous_topic" must not contain underscores.
(#165) Variable "previous_topic" must not contain underscores.
(#166) Variable "previous_url" must not contain underscores.
(#166) Variable "previous_topic" must not contain underscores.
(#168) Variable "previous_url" must not contain underscores.
(#172) Variable "next_topic" must not contain underscores.
(#172) Variable "next_topic" must not contain underscores.
(#174) Variable "next_topic" must not contain underscores.
(#177) Variable "next_topic" must not contain underscores.
(#179) Variable "next_topic" must not contain underscores.
(#199) Variable "format_data" must not contain underscores.
(#199) Variable "_format_data" must not contain underscores.
(#200) Variable "format_data" must not contain underscores.
(#201) Variable "config_menu" must not contain underscores.
(#201) Variable "format_data" must not contain underscores.
(#202) Variable "format_data" must not contain underscores.
(#203) Variable "_course" must not contain underscores.
(#246) Variable "config_menu" must not contain underscores.
(#247) Variable "config_menu" must not contain underscores.
(#260) Variable "format_data" must not contain underscores.
(#266) Variable "format_data" must not contain underscores.
(#270) Variable "format_data" must not contain underscores.
(#276) Variable "format_data" must not contain underscores.
(#276) Variable "format_data" must not contain underscores.
(#300) Variable "config_menu" must not contain underscores.
(#301) Variable "config_menu" must not contain underscores.
(#312) Variable "format_data" must not contain underscores.
(#312) Variable "format_data" must not contain underscores.
(#358) Variable "course_link" must not contain underscores.
(#361) Variable "course_cancel_link" must not contain underscores.
(#366) Variable "course_link" must not contain underscores.
(#370) Variable "course_link" must not contain underscores.
(#374) Variable "course_link" must not contain underscores.
(#378) Variable "course_link" must not contain underscores.
(#387) Variable "format_data" must not contain underscores.
(#388) Variable "format_data" must not contain underscores.
(#389) Variable "format_data" must not contain underscores.
(#391) Variable "format_data" must not contain underscores.
(#391) Variable "format_data" must not contain underscores.
(#393) Variable "course_cancel_link" must not contain underscores.
(#414) Variable "format_data" must not contain underscores.
(#417) Variable "format_data" must not contain underscores.
(#417) Variable "format_data" must not contain underscores.
(#419) "require_once" must be immediately followed by an open parenthesis
(#422) Variable "format_data" must not contain underscores.
(#425) Variable "print_for_menu" must not contain underscores.
(#427) Variable "format_data" must not contain underscores.
(#428) Variable "format_data" must not contain underscores.
(#431) Variable "format_data" must not contain underscores.
(#432) Variable "print_for_menu" must not contain underscores.
(#433) Variable "print_for_menu" must not contain underscores.
(#433) Variable "format_data" must not contain underscores.
(#434) Variable "print_for_menu" must not contain underscores.
(#437) Variable "print_for_menu" must not contain underscores.
(#440) Variable "format_data" must not contain underscores.
(#440) Variable "format_data" must not contain underscores.
(#459) Variable "_format_data" must not contain underscores.
(#502) Variable "_format_data" must not contain underscores.
(#512) Variable "obj_replace" must not contain underscores.
(#516) Variable "_format_data" must not contain underscores.
(#520) Variable "_format_data" must not contain underscores.
(#571) Variable "obj_replace" must not contain underscores.
(#572) Variable "obj_replace" must not contain underscores.
(#574) Variable "obj_replace" must not contain underscores.
(#575) Variable "obj_replace" must not contain underscores.
(#578) Variable "_format_data" must not contain underscores.
(#590) Variable "_format_data" must not contain underscores.
(#612) Variable "_format_data" must not contain underscores.
(#633) Variable "_format_data" must not contain underscores.
(#846) Variable "format_data" must not contain underscores.
(#847) Variable "format_data" must not contain underscores.
(#848) Variable "format_data" must not contain underscores.
(#850) Variable "format_data" must not contain underscores.
(#850) Variable "format_data" must not contain underscores.
(#855) Variable "format_data" must not contain underscores.
(#856) Variable "format_data" must not contain underscores.
(#859) Variable "format_data" must not contain underscores.
(#860) Variable "format_data" must not contain underscores.
(#860) Variable "format_data" must not contain underscores.
(#861) Variable "format_data" must not contain underscores.
(#863) Variable "format_data" must not contain underscores.
(#864) Variable "format_data" must not contain underscores.
(#865) Variable "format_data" must not contain underscores.
(#872) Variable "format_data" must not contain underscores.
(#873) Variable "format_data" must not contain underscores.
(#876) Variable "format_data" must not contain underscores.
(#882) Variable "format_data" must not contain underscores.
(#883) Variable "format_data" must not contain underscores.
(#887) Variable "config_menu" must not contain underscores.
(#888) Variable "config_menu" must not contain underscores.
(#889) Variable "config_menu" must not contain underscores.
(#890) Variable "config_menu" must not contain underscores.
(#891) Variable "config_menu" must not contain underscores.
(#892) Variable "config_menu" must not contain underscores.
(#893) Variable "config_menu" must not contain underscores.
(#894) Variable "config_menu" must not contain underscores.
(#895) Variable "config_menu" must not contain underscores.
(#897) Variable "format_data" must not contain underscores.
(#897) Variable "format_data" must not contain underscores.
(#898) Variable "config_saved" must not contain underscores.
(#898) Variable "format_data" must not contain underscores.
(#900) Variable "config_saved" must not contain underscores.
(#901) Variable "config_saved" must not contain underscores.
(#904) Variable "config_saved" must not contain underscores.
(#905) Variable "config_menu" must not contain underscores.
(#905) Variable "config_saved" must not contain underscores.
(#908) Variable "config_saved" must not contain underscores.
(#909) Variable "config_menu" must not contain underscores.
(#909) Variable "config_saved" must not contain underscores.
(#912) Variable "config_saved" must not contain underscores.
(#913) Variable "config_menu" must not contain underscores.
(#913) Variable "config_saved" must not contain underscores.
(#916) Variable "config_saved" must not contain underscores.
(#917) Variable "config_menu" must not contain underscores.
(#917) Variable "config_saved" must not contain underscores.
(#920) Variable "config_saved" must not contain underscores.
(#921) Variable "config_menu" must not contain underscores.
(#921) Variable "config_saved" must not contain underscores.
(#924) Variable "config_saved" must not contain underscores.
(#925) Variable "config_menu" must not contain underscores.
(#925) Variable "config_saved" must not contain underscores.
(#928) Variable "config_saved" must not contain underscores.
(#929) Variable "config_menu" must not contain underscores.
(#929) Variable "config_saved" must not contain underscores.
(#932) Variable "config_saved" must not contain underscores.
(#933) Variable "config_menu" must not contain underscores.
(#933) Variable "config_saved" must not contain underscores.
(#937) Variable "format_data" must not contain underscores.
(#937) Variable "config_menu" must not contain underscores.
(#947) Variable "format_data" must not contain underscores.
(#952) Variable "format_data" must not contain underscores.
(#965) Variable "format_data" must not contain underscores.
(#979) Variable "format_data" must not contain underscores.
(#981) Variable "format_data" must not contain underscores.
(#985) Variable "format_data" must not contain underscores.
(#986) Variable "format_data" must not contain underscores.
(#993) Variable "_course" must not contain underscores.
(#994) Variable "_format_data" must not contain underscores.
(#994) Variable "format_data" must not contain underscores.
(#996) Variable "format_data" must not contain underscores.

Javascript coding style problems

(0 errors, 23 warnings)

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

course/format/menutopic/amd/src/menutopictree.js
(#42) Expected to return a value at the end of this function. (consistent-return)
(#46) There should be no space after '{'. (object-curly-spacing)
(#46) There should be no space before '}'. (object-curly-spacing)
(#47) There should be no space after '{'. (object-curly-spacing)
(#47) There should be no space before '}'. (object-curly-spacing)
(#48) There should be no space after '{'. (object-curly-spacing)
(#49) There should be no space after '{'. (object-curly-spacing)
(#50) There should be no space after '{'. (object-curly-spacing)
(#51) There should be no space after '{'. (object-curly-spacing)
(#69) ["update"] is better written in dot notation. (dot-notation)
(#91) Expected space(s) after "switch". (keyword-spacing)
(#104) '$group' is already defined. (no-redeclare)
(#119) '$prev' is already defined. (no-redeclare)
(#124) ["delete"] is better written in dot notation. (dot-notation)
(#124) ["actiondeleteconfirm_sheet_sheetedit"] is better written in dot notation. (dot-notation)
(#124) ["yes"] is better written in dot notation. (dot-notation)
(#124) ["no"] is better written in dot notation. (dot-notation)
(#133) ["new"] is better written in dot notation. (dot-notation)
(#145) '$group' is already defined. (no-redeclare)
(#158) Expected space(s) after "if". (keyword-spacing)
(#167) ["update"] is better written in dot notation. (dot-notation)
(#255) Expected space(s) after "if". (keyword-spacing)
(#258) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)

CSS problems

(4 errors, 0 warnings)

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

course/format/menutopic/styles.css
(#109) Unexpected data URI (function-url-data-uris)
(#114) Unexpected data URI (function-url-data-uris)
(#148) Unexpected data URI (function-url-data-uris)
(#172) Unexpected data URI (function-url-data-uris)

PHPDocs style problems

(33 errors, 0 warnings)

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

course/format/menutopic/backup/moodle2/backup_format_menutopic_plugin.class.php
(#20) Package contribution is not valid
(#27) Class backup_format_menutopic_plugin is not documented
(#17) No one-line description found in phpdocs for file
course/format/menutopic/backup/moodle2/restore_format_menutopic_plugin.class.php
(#20) Package contribution is not valid
(#27) Class restore_format_menutopic_plugin is not documented
(#17) No one-line description found in phpdocs for file
(#47) Phpdocs for function restore_format_menutopic_plugin::process_menutopic has incomplete parameters list
course/format/menutopic/db/upgrade.php
(#21) Package contribution is not valid
course/format/menutopic/form_config.php
(#29) Class config_menutopic_form is not documented
(#31) Function config_menutopic_form::definition is not documented
(#17) No one-line description found in phpdocs for file
course/format/menutopic/form_csstemplate.php
(#38) Function csstemplate_menutopic_form::definition is not documented
(#17) No one-line description found in phpdocs for file
course/format/menutopic/form_jstemplate.php
(#39) Function jstemplate_menutopic_form::definition is not documented
(#17) No one-line description found in phpdocs for file
course/format/menutopic/form_tree.php
(#39) Function tree_menutopic_form::definition is not documented
(#17) No one-line description found in phpdocs for file
course/format/menutopic/format.php
(#17) No one-line description found in phpdocs for file
course/format/menutopic/lang/en/format_menutopic.php
(#21) Package contribution is not valid
course/format/menutopic/lang/es/format_menutopic.php
(#21) Package contribution is not valid
course/format/menutopic/lib.php
(#38) Class format_menutopic is not documented
course/format/menutopic/menu.php
(#57) Function format_menutopic_menu::list_code_horizontal_menu is not documented
(#193) Function format_menutopic_menu::script_menu is not documented
(#36) Variable format_menutopic_menu::$tree is not documented
(#37) Variable format_menutopic_menu::$_config is not documented
(#38) Variable format_menutopic_menu::$current is not documented
(#39) Variable format_menutopic_menu::$displaysection is not documented
(#17) No one-line description found in phpdocs for file
(#41) Phpdocs for function format_menutopic_menu::__construct has incomplete parameters list
(#101) Phpdocs for function format_menutopic_menu::list_item_menu has incomplete parameters list
course/format/menutopic/renderer.php
(#17) No one-line description found in phpdocs for file
(#406) Phpdocs for function format_menutopic_renderer::print_menu has incomplete parameters list
(#1002) Phpdocs for function format_menutopic_renderer::render_format_menutopic_header 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

(1 errors, 1 warnings)

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

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

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]