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

(9 errors, 66 warnings)

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

course/format/topcoll/backup/moodle2/restore_format_topcoll_plugin.class.php
(#90) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
course/format/topcoll/classes/activity.php
(#595) This comment is 50% valid code; is this commented out code?
course/format/topcoll/classes/admin_setting_information.php
(#138) Line exceeds 132 characters; contains 151 characters
course/format/topcoll/classes/output/renderer.php
(#431) Line exceeds 132 characters; contains 133 characters
(#493) Line exceeds 132 characters; contains 143 characters
(#603) Line exceeds 132 characters; contains 139 characters
(#666) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#688) Logical operator "or" is prohibited; use "||" instead
(#688) Logical operator "or" is prohibited; use "||" instead
(#730) Logical operator "or" is prohibited; use "||" instead
(#730) Logical operator "or" is prohibited; use "||" instead
(#909) Inline comments must end in full-stops, exclamation marks, or question marks
(#946) Line exceeds 132 characters; contains 133 characters
(#1001) Logical operator "and" is prohibited; use "&&" instead
(#1006) Logical operator "or" is prohibited; use "||" instead
(#1129) Line exceeds 132 characters; contains 138 characters
(#1146) Line exceeds 132 characters; contains 136 characters
(#1147) Line exceeds 132 characters; contains 136 characters
(#1148) Line exceeds 132 characters; contains 136 characters
(#1149) Line exceeds 132 characters; contains 136 characters
course/format/topcoll/js/tc_colourpopup.php
(#55) Member variable "_hiddenLabel" must be all lower-case
(#65) Public method name "MoodleQuickForm_tccolourpopup::setHiddenLabel" must be in lower-case letters only
(#65) Variable "hiddenLabel" must be all lower-case
(#66) Variable "hiddenLabel" must be all lower-case
(#69) Public method name "MoodleQuickForm_tccolourpopup::toHtml" must be in lower-case letters only
(#87) Line exceeds 132 characters; contains 141 characters
(#113) Method name "_generateId" should not be prefixed with an underscore to indicate visibility
(#113) Public method name "MoodleQuickForm_tccolourpopup::_generateId" must be in lower-case letters only
(#127) Public method name "MoodleQuickForm_tccolourpopup::setHelpButton" must be in lower-case letters only
(#136) Public method name "MoodleQuickForm_tccolourpopup::getHelpButton" must be in lower-case letters only
(#147) Public method name "MoodleQuickForm_tccolourpopup::getElementTemplateType" must be in lower-case letters only
course/format/topcoll/lib.php
(#470) Line exceeds 132 characters; contains 144 characters
(#1001) Line exceeds 132 characters; contains 147 characters
(#1021) Line exceeds 132 characters; contains 152 characters
(#1041) Line exceeds 132 characters; contains 147 characters
(#1061) Line exceeds 132 characters; contains 152 characters
(#1203) Line exceeds 132 characters; contains 135 characters
course/format/topcoll/settopcollpref.php
(#41) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#49) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
course/format/topcoll/tests/format_topcoll_courseformatlib_test.php
(#32) PHPUnit class "format_topcoll_courseformatlib_test" does not have any namespace. It is recommended to add it to the "format_topcoll" namespace, using more levels if needed, in order to match the code being tested
(#57) Test method test_set_up() is missing any coverage information, own or at class level
(#85) Test method test_reset_opacity() is missing any coverage information, own or at class level
(#110) Test method test_reset_all_opacity() is missing any coverage information, own or at class level
(#130) Test method test_showadditionalmoddata_default_yes() is missing any coverage information, own or at class level
(#148) Test method test_showadditionalmoddata_reset() is missing any coverage information, own or at class level
course/format/topcoll/tests/format_topcoll_courseformatrenderer_test.php
(#32) PHPUnit class "format_topcoll_courseformatrenderer_test" does not have any namespace. It is recommended to add it to the "format_topcoll" namespace, using more levels if needed, in order to match the code being tested
(#124) Test method test_start_section_list() is missing any coverage information, own or at class level
(#133) Test method test_start_toggle_section_list() is missing any coverage information, own or at class level
(#143) Test method test_page_title() is missing any coverage information, own or at class level
(#152) Test method test_section_right_content() is missing any coverage information, own or at class level
(#172) Test method test_section_left_content() is missing any coverage information, own or at class level
(#188) Test method test_section_summary() is missing any coverage information, own or at class level
(#219) Test method test_topcoll_section() is missing any coverage information, own or at class level
(#281) Test method test_section_hidden() is missing any coverage information, own or at class level
(#308) Test method test_stealth_section() is missing any coverage information, own or at class level
(#332) This comment is 64% valid code; is this commented out code?
(#349) Line exceeds 132 characters; contains 136 characters
(#351) Line exceeds 132 characters; contains 168 characters
(#352) Line exceeds 132 characters; contains 167 characters
(#354) Line exceeds 132 characters; contains 152 characters
(#358) Line exceeds 132 characters; contains 142 characters
(#364) Test method test_multiple_section_page_horizontal() is missing any coverage information, own or at class level
(#387) Test method test_multiple_section_page_vertical() is missing any coverage information, own or at class level
(#412) Test method test_multiple_section_page_no_sections() is missing any coverage information, own or at class level
(#431) Test method test_toggle_all() is missing any coverage information, own or at class level
(#454) Test method test_display_instructions() is missing any coverage information, own or at class level
course/format/topcoll/tests/format_topcoll_courseformattoolbox_test.php
(#32) PHPUnit class "format_topcoll_courseformattoolbox_test" does not have any namespace. It is recommended to add it to the "format_topcoll" namespace, using more levels if needed, in order to match the code being tested
(#40) Test method test_hex2rgba() is missing any coverage information, own or at class level
course/format/topcoll/tests/format_topcoll_privacy_provider_test.php
(#36) PHPUnit class "format_topcoll_privacy_provider_test" does not have any namespace. It is recommended to add it to the "format_topcoll" namespace, using more levels if needed, in order to match the code being tested
(#94) Test method test_get_metadata() is missing any coverage information, own or at class level
(#104) Test method test_export_user_preferences_no_pref() is missing any coverage information, own or at class level
(#116) Test method test_export_user_preferences() is missing any coverage information, own or at class level
course/format/topcoll/tests/format_topcoll_togglelib_test.php
(#32) PHPUnit class "format_topcoll_togglelib_test" does not have any namespace. It is recommended to add it to the "format_topcoll" namespace, using more levels if needed, in order to match the code being tested
(#34) Test method test_decode_toggle_state() is missing any coverage information, own or at class level
course/format/topcoll/version.php
(#38) This comment is 50% valid code; is this commented out code?

Javascript coding style problems

(17 errors, 109 warnings)

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

course/format/topcoll/amd/src/content.js
(#108) Operator '+' must be spaced. (space-infix-ops)
course/format/topcoll/format.js
(#45) Identifier 'get_config' is not in camel case. (camelcase)
(#47) Identifier 'container_node' is not in camel case. (camelcase)
(#47) Extra space after key 'container_node'. (key-spacing)
(#48) Identifier 'container_class' is not in camel case. (camelcase)
(#48) Extra space after key 'container_class'. (key-spacing)
(#49) Identifier 'section_node' is not in camel case. (camelcase)
(#49) Extra space after key 'section_node'. (key-spacing)
(#50) Identifier 'section_class' is not in camel case. (camelcase)
(#50) Extra space after key 'section_class'. (key-spacing)
(#60) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#62) Identifier 'swap_sections' is not in camel case. (camelcase)
(#64) Extra space after key 'COURSECONTENT'. (key-spacing)
(#65) Extra space after key 'SECTIONADDMENUS'. (key-spacing)
(#83) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#85) Identifier 'process_sections' is not in camel case. (camelcase)
(#87) Extra space after key 'SECTIONNAME'. (key-spacing)
(#90) Extra space after key 'LEFTCONTENT'. (key-spacing)
(#91) Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)
course/format/topcoll/js/tc_colourpopup.js
(#34) Identifier 'init_tccolour_popup' is not in camel case. (camelcase)
(#35) Missing space before opening brace. (space-before-blocks)
(#40) Extra space after key 'box'. (key-spacing)
(#41) Extra space after key 'input'. (key-spacing)
(#42) Extra space after key 'swatch'. (key-spacing)
(#43) Extra space after key 'image'. (key-spacing)
(#44) Extra space after key 'preview'. (key-spacing)
(#45) Extra space after key 'current'. (key-spacing)
(#46) Extra space after key 'eventClick'. (key-spacing)
(#47) Extra space after key 'eventFocus'. (key-spacing)
(#48) Extra space after key 'eventMouseEnter'. (key-spacing)
(#49) Extra space after key 'eventMouseLeave'. (key-spacing)
(#50) Extra space after key 'eventMouseMove'. (key-spacing)
(#51) Extra space after key 'width'. (key-spacing)
(#52) Extra space after key 'height'. (key-spacing)
(#53) Extra space after key 'factor'. (key-spacing)
(#57) Extra space after key 'init'. (key-spacing)
(#65) This line has a length of 139. Maximum allowed is 132. (max-len)
(#67) This line has a length of 143. Maximum allowed is 132. (max-len)
(#70) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#71) 'e' is defined but never used. (no-unused-vars)
(#71) Missing space before opening brace. (space-before-blocks)
(#81) A space is required after ','. (comma-spacing)
(#86) 'e' is defined but never used. (no-unused-vars)
(#89) Extra space after key 'showColours'. (key-spacing)
(#89) 'e' is defined but never used. (no-unused-vars)
(#93) Extra space after key 'setColour'. (key-spacing)
(#93) 'e' is defined but never used. (no-unused-vars)
(#97) Extra space after key 'startFollow'. (key-spacing)
(#97) 'e' is defined but never used. (no-unused-vars)
(#100) Missing space before opening brace. (space-before-blocks)
(#102) Comments should not begin with a lowercase character. (capitalized-comments)
(#102) Expected space or tab after '//' in comment. (spaced-comment)
(#106) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#109) Extra space after key 'endFollow'. (key-spacing)
(#109) 'e' is defined but never used. (no-unused-vars)
(#112) A space is required after ','. (comma-spacing)
(#115) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#118) Extra space after key 'pickColour'. (key-spacing)
(#126) Missing JSDoc @returns for function. (valid-jsdoc)
(#126) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#129) Extra space after key 'determineColour'. (key-spacing)
(#136) A space is required after ','. (comma-spacing)
(#136) A space is required after ','. (comma-spacing)
(#139) Multiple spaces found before '0'. (no-multi-spaces)
(#139) There should be no space after '['. (array-bracket-spacing)
(#139) Multiple spaces found before '1'. (no-multi-spaces)
(#139) Multiple spaces found before '0'. (no-multi-spaces)
(#140) There should be no space after '['. (array-bracket-spacing)
(#140) Multiple spaces found before '0'. (no-multi-spaces)
(#140) Multiple spaces found before '0'. (no-multi-spaces)
(#141) Multiple spaces found before '0'. (no-multi-spaces)
(#141) There should be no space after '['. (array-bracket-spacing)
(#141) Multiple spaces found before '0'. (no-multi-spaces)
(#141) Multiple spaces found before '1'. (no-multi-spaces)
(#142) Multiple spaces found before '0'. (no-multi-spaces)
(#142) There should be no space after '['. (array-bracket-spacing)
(#142) Multiple spaces found before '0'. (no-multi-spaces)
(#143) Multiple spaces found before '1'. (no-multi-spaces)
(#143) There should be no space after '['. (array-bracket-spacing)
(#143) Multiple spaces found before '0'. (no-multi-spaces)
(#143) Multiple spaces found before '0'. (no-multi-spaces)
(#144) Multiple spaces found before '0'. (no-multi-spaces)
(#144) There should be no space after '['. (array-bracket-spacing)
(#144) Multiple spaces found before '0'. (no-multi-spaces)
(#177) Missing JSDoc @returns for function. (valid-jsdoc)
(#177) Missing JSDoc for parameter 'rgb'. (valid-jsdoc)
(#180) Identifier 'convert_rgb_to_hex' is not in camel case. (camelcase)
(#180) Extra space after key 'convert_rgb_to_hex'. (key-spacing)
course/format/topcoll/module.js
(#34) Identifier 'format_topcoll' is not in camel case. (camelcase)
(#200) Identifier 'toggle_topic' is not in camel case. (camelcase)
(#248) A space is required after ','. (comma-spacing)
(#248) A space is required after ','. (comma-spacing)
(#249) A space is required after ','. (comma-spacing)
(#249) A space is required after ','. (comma-spacing)
(#256) A space is required after ','. (comma-spacing)
(#260) A space is required after ','. (comma-spacing)
(#268) Identifier 'save_toggles' is not in camel case. (camelcase)
(#276) Identifier 'is_old_preference' is not in camel case. (camelcase)
(#288) Identifier 'convert_to_new_preference' is not in camel case. (camelcase)
(#303) 'logbintext' is assigned a value but never used. (no-unused-vars)
(#306) Unexpected use of '<<'. (no-bitwise)
(#311) Missing JSDoc for parameter 'togglenum'. (valid-jsdoc)
(#311) Missing JSDoc for parameter 'state'. (valid-jsdoc)
(#316) Identifier 'set_toggle_state' is not in camel case. (camelcase)
(#323) Unexpected use of '|='. (no-bitwise)
(#327) Unexpected use of '&='. (no-bitwise)
(#327) Unexpected use of '~'. (no-bitwise)
(#331) A space is required after ','. (comma-spacing)
(#336) Identifier 'get_required_digits' is not in camel case. (camelcase)
(#341) Identifier 'get_toggle_pos' is not in camel case. (camelcase)
(#346) Identifier 'get_min_digit' is not in camel case. (camelcase)
(#351) Identifier 'get_max_digit' is not in camel case. (camelcase)
(#356) Identifier 'get_toggle_flag' is not in camel case. (camelcase)
(#383) Identifier 'decode_character_to_value' is not in camel case. (camelcase)
(#388) Identifier 'encode_value_to_character' is not in camel case. (camelcase)
(#393) Missing JSDoc for parameter 'value'. (valid-jsdoc)
(#401) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#401) Expected JSDoc for 'name' but found 'String'. (valid-jsdoc)
(#402) Missing JSDoc parameter type for 'String'. (valid-jsdoc)
(#402) Duplicate JSDoc parameter 'String'. (valid-jsdoc)
(#404) Identifier 'set_user_preference' is not in camel case. (camelcase)
(#405) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#405) 'YUI' is not defined. (no-undef)
(#406) This line has a length of 185. Maximum allowed is 132. (max-len)
(#415) This line has a length of 245. Maximum allowed is 132. (max-len)
(#415) Unexpected console statement. (no-console)

CSS problems

(19 errors, 3 warnings)

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

course/format/topcoll/styles.css
(#860) Unexpected empty block (block-no-empty)
(#565) Expected single space before "{" (block-opening-brace-space-before)
(#622) Expected single space before "{" (block-opening-brace-space-before)
(#661) Expected single space before "{" (block-opening-brace-space-before)
(#741) Expected single space before "{" (block-opening-brace-space-before)
(#577) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#757) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#641) Unexpected !important (declaration-no-important)
(#82) Expected line length to be no more than 132 characters (max-line-length)
(#585) Expected line length to be no more than 132 characters (max-line-length)
(#619) Expected line length to be no more than 132 characters (max-line-length)
(#822) Expected single space after ">" (selector-combinator-space-after)
(#822) Expected single space before ">" (selector-combinator-space-before)
(#569) Expected newline after "," (selector-list-comma-newline-after)
(#570) Expected newline after "," (selector-list-comma-newline-after)
(#576) Expected newline after "," (selector-list-comma-newline-after)
(#971) Expected newline after "," (selector-list-comma-newline-after)
(#971) Expected newline after "," (selector-list-comma-newline-after)
(#412) Unexpected whitespace before "," (selector-list-comma-space-before)
(#860) Unexpected unknown type selector "element" (selector-type-no-unknown)
course/format/topcoll/styles_adaptable.css
(#35) Unexpected shorthand "border-radius" after "border-bottom-right-radius" (declaration-block-no-shorthand-property-overrides)
(#35) Unexpected shorthand "border-radius" after "border-bottom-left-radius" (declaration-block-no-shorthand-property-overrides)

PHPDocs style problems

(81 errors, 56 warnings)

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

course/format/topcoll/backup/moodle2/restore_format_topcoll_plugin.class.php
(#111) Function restore_format_topcoll_plugin::after_execute_structure is not documented
(#36) No one-line description found in phpdocs for class restore_format_topcoll_plugin
(#72) Phpdocs for function restore_format_topcoll_plugin::process_topcoll has incomplete parameters list
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/classes/activity.php
(#796) Phpdocs for function activity::userenrolmentcreated has incomplete parameters list
(#808) Phpdocs for function activity::userenrolmentupdated has incomplete parameters list
(#820) Phpdocs for function activity::userenrolmentdeleted has incomplete parameters list
(#883) Phpdocs for function activity::modulecreated has incomplete parameters list
(#893) Phpdocs for function activity::moduleupdated has incomplete parameters list
(#903) Phpdocs for function activity::modulechanged has incomplete parameters list
(#927) Phpdocs for function activity::moduledeleted has incomplete parameters list
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/classes/activity_meta.php
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/classes/admin_setting_information.php
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/classes/admin_setting_markdown.php
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/classes/observer.php
(#27) Not recommended phpdocs tag @version used
course/format/topcoll/classes/output/courseformat/content/cm.php
(#21) Not recommended phpdocs tag @version used
(#35) Package core_courseformat is not valid
course/format/topcoll/classes/output/courseformat/content/section/cmitem.php
(#39) Function cmitem::get_template_name is not documented
(#21) Not recommended phpdocs tag @version used
course/format/topcoll/classes/output/courseformat/content/section/cmlist.php
(#39) Function cmlist::get_template_name is not documented
(#21) Not recommended phpdocs tag @version used
course/format/topcoll/classes/output/courseformat/content/section/controlmenu.php
(#21) Not recommended phpdocs tag @version used
(#41) Package format_topics is not valid
course/format/topcoll/classes/output/format_renderer_migration_toolbox.php
(#96) Function format_renderer_migration_toolbox::course_section_cmlist is not documented
(#101) Function format_renderer_migration_toolbox::section_nav_links is not documented
(#107) Function format_renderer_migration_toolbox::section_nav_selection is not documented
(#29) Not recommended phpdocs tag @version used
course/format/topcoll/classes/output/renderer.php
(#47) Class renderer is not documented
(#381) Function renderer::section_summary_container is not documented
(#536) Function renderer::section_heading is not documented
(#1154) Function renderer::set_user_preferences is not documented
(#1216) Function renderer::get_row_class is not documented
(#1220) Function renderer::get_column_class is not documented
(#1231) Function renderer::get_format_responsive is not documented
(#50) Variable renderer::$tccolumnwidth is not documented
(#51) Variable renderer::$tccolumnpadding is not documented
(#52) Variable renderer::$mobiletheme is not documented
(#53) Variable renderer::$tablettheme is not documented
(#54) Variable renderer::$courseformat is not documented
(#55) Variable renderer::$course is not documented
(#56) Variable renderer::$tcsettings is not documented
(#57) Variable renderer::$defaulttogglepersistence is not documented
(#58) Variable renderer::$defaultuserpreference is not documented
(#59) Variable renderer::$togglelib is not documented
(#60) Variable renderer::$currentsection is not documented
(#61) Variable renderer::$isoldtogglepreference is not documented
(#62) Variable renderer::$userisediting is not documented
(#63) Variable renderer::$tconesectioniconfont is not documented
(#64) Variable renderer::$tctoggleiconsize is not documented
(#65) Variable renderer::$formatresponsive is not documented
(#66) Variable renderer::$rtl is not documented
(#655) Phpdocs for function renderer::single_section_page has incomplete parameters list
(#706) Phpdocs for function renderer::multiple_section_page has incomplete parameters list
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/classes/privacy/provider.php
(#46) Phpdocs for function provider::get_metadata has incomplete parameters list
(#21) Not recommended phpdocs tag @version used
course/format/topcoll/classes/togglelib.php
(#35) Class togglelib is not documented
(#48) Variable togglelib::$toggles is not documented
(#41) Constant togglelib::TOGGLE_6 is not documented
(#42) Constant togglelib::TOGGLE_5 is not documented
(#43) Constant togglelib::TOGGLE_4 is not documented
(#44) Constant togglelib::TOGGLE_3 is not documented
(#45) Constant togglelib::TOGGLE_2 is not documented
(#46) Constant togglelib::TOGGLE_1 is not documented
(#50) Phpdocs for function togglelib::set_toggles has incomplete parameters list
(#68) Phpdocs for function togglelib::get_toggle_state has incomplete parameters list
(#79) Phpdocs for function togglelib::set_toggle_state has incomplete parameters list
(#96) Phpdocs for function togglelib::decode_toggle_state has incomplete parameters list
(#116) Phpdocs for function togglelib::is_old_preference has incomplete parameters list
(#132) Phpdocs for function togglelib::get_required_digits has incomplete parameters list
(#157) Phpdocs for function togglelib::get_toggle_pos has incomplete parameters list
(#166) Phpdocs for function togglelib::get_toggle_flag has incomplete parameters list
(#197) Phpdocs for function togglelib::decode_character_to_value has incomplete parameters list
(#206) Phpdocs for function togglelib::encode_value_to_character has incomplete parameters list
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/classes/toolbox.php
(#36) Class toolbox is not documented
(#42) Function toolbox::__construct is not documented
(#45) Function toolbox::get_instance is not documented
(#38) Variable toolbox::$instance is not documented
(#40) Constant toolbox::TOPCOLL_TOGGLE is not documented
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/db/access.php
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/db/caches.php
(#27) Not recommended phpdocs tag @version used
course/format/topcoll/db/events.php
(#27) Not recommended phpdocs tag @version used
course/format/topcoll/db/upgrade.php
(#39) Function xmldb_format_topcoll_upgrade is not documented
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/duplicate.php
(#22) Not recommended phpdocs tag @version used
course/format/topcoll/format.php
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/js/tc_colourpopup.php
(#57) Function MoodleQuickForm_tccolourpopup::__construct is not documented
(#65) Function MoodleQuickForm_tccolourpopup::setHiddenLabel is not documented
(#69) Function MoodleQuickForm_tccolourpopup::toHtml is not documented
(#155) Function MoodleQuickForm_tccolourpopup::export_for_template is not documented
(#54) Variable MoodleQuickForm_tccolourpopup::$_helpbutton is not documented
(#55) Variable MoodleQuickForm_tccolourpopup::$_hiddenLabel is not documented
(#124) Phpdocs for function MoodleQuickForm_tccolourpopup::setHelpButton has incomplete parameters list
(#26) Not recommended phpdocs tag @version used
(#42) Not recommended phpdocs tag @access used
course/format/topcoll/lang/en/format_topcoll.php
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/lang/en_ar/format_topcoll.php
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/lang/en_us/format_topcoll.php
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/lib.php
(#37) Class format_topcoll is not documented
(#103) Function format_topcoll::uses_course_index is not documented
(#107) Function format_topcoll::uses_indentation is not documented
(#233) Function format_topcoll::get_section_dates is not documented
(#400) Function format_topcoll::section_format_options is not documented
(#1693) Function format_topcoll::get_context is not documented
(#1741) Function format_topcoll::section_action is not documented
(#39) Variable format_topcoll::$coursedisplay is not documented
(#40) Variable format_topcoll::$settings is not documented
(#26) Not recommended phpdocs tag @version used
(#45) Inline phpdocs tag {@link course_get_format($courseorid)} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1117) Inline phpdocs tag {@link course_edit_form::definition_after_data()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1298) Inline phpdocs tag {@link moodleform::get_data()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1299) Inline phpdocs tag {@link update_course()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1684) Inline phpdocs tag {@link course_can_delete_section()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
course/format/topcoll/settings.php
(#26) Not recommended phpdocs tag @version used
course/format/topcoll/settopcollpref.php
(#24) Not recommended phpdocs tag @version used
course/format/topcoll/tests/format_topcoll_courseformatlib_test.php
(#34) Variable format_topcoll_courseformatlib_test::$course is not documented
(#35) Variable format_topcoll_courseformatlib_test::$courseformat is not documented
(#21) Not recommended phpdocs tag @version used
course/format/topcoll/tests/format_topcoll_courseformatrenderer_test.php
(#85) Function format_topcoll_courseformatrenderer_test::init is not documented
(#34) Variable format_topcoll_courseformatrenderer_test::$outputus is not documented
(#35) Variable format_topcoll_courseformatrenderer_test::$ouroutput is not documented
(#36) Variable format_topcoll_courseformatrenderer_test::$course is not documented
(#37) Variable format_topcoll_courseformatrenderer_test::$courseformat is not documented
(#38) Variable format_topcoll_courseformatrenderer_test::$cmid is not documented
(#21) Not recommended phpdocs tag @version used
course/format/topcoll/tests/format_topcoll_courseformattoolbox_test.php
(#21) Not recommended phpdocs tag @version used
course/format/topcoll/tests/format_topcoll_privacy_provider_test.php
(#72) Function format_topcoll_privacy_provider_test::set_up is not documented
(#38) Variable format_topcoll_privacy_provider_test::$outputus is not documented
(#39) Variable format_topcoll_privacy_provider_test::$course is not documented
(#40) Variable format_topcoll_privacy_provider_test::$courseformat is not documented
(#41) Variable format_topcoll_privacy_provider_test::$numsections is not documented
(#21) Not recommended phpdocs tag @version used
course/format/topcoll/tests/format_topcoll_togglelib_test.php
(#21) Not recommended phpdocs tag @version used
course/format/topcoll/version.php
(#26) Not recommended phpdocs tag @version used

Update savepoints problems

(1 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

course/format/topcoll/db/upgrade.php
'return true;' not found

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]

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(5 errors, 13 warnings)

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

course/format/topcoll/templates/coursestyles.mustache
(#1) HTML Validation error, line 2: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><style type="text/css" media="screen"> /)
(#1) HTML Validation info, line 2: The “type” attribute for the “style” element is not needed and should be omitted. (ad><body><style type="text/css" media="screen"> /)
course/format/topcoll/templates/displayinstructions.mustache
(#1) HTML Validation error, line 2: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li id="topcoll-display-instructions" class="tcsection main clearfix"> <)
course/format/topcoll/templates/local/content/cm.mustache
(#1) Example context missing.
course/format/topcoll/templates/local/content/section/cmitem.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 9: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (><body><li class="activity activity-wrapper modtype_ " id="" data-for="cmitem" data-id=""></li>)
course/format/topcoll/templates/local/content/section/cmlist.mustache
(#1) Example context missing.
course/format/topcoll/templates/section.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
course/format/topcoll/templates/sectioncmmeta.mustache
(#1) HTML Validation error, line 3: No space between attributes. (ent"> <a href=""class=")
course/format/topcoll/templates/sectionhidden.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
course/format/topcoll/templates/sectionsummary.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
course/format/topcoll/templates/singlesection.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
course/format/topcoll/templates/stealthsection.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
course/format/topcoll/templates/toggleall.mustache
(#1) HTML Validation error, line 2: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li id="toggle-all" class="tcsection main clearfix"> <)
(#1) HTML Validation error, line 5: The “aria-controls” attribute must point to an element in the same document. ( <span id="toggles-all-opened" class="toggle-all on medium" role="button" title="Open all" tabindex="0" aria-controls="toggledsection-1 toggledsection-2"> )
(#1) HTML Validation error, line 5: The “aria-controls” attribute must point to an element in the same document. ( <span id="toggles-all-opened" class="toggle-all on medium" role="button" title="Open all" tabindex="0" aria-controls="toggledsection-1 toggledsection-2"> )
(#1) HTML Validation error, line 8: The “aria-controls” attribute must point to an element in the same document. ( <span id="toggles-all-closed" class="toggle-all off medium" role="button" title="Close all" tabindex="0" aria-controls="toggledsection-1 toggledsection-2"> )
(#1) HTML Validation error, line 8: The “aria-controls” attribute must point to an element in the same document. ( <span id="toggles-all-closed" class="toggle-all off medium" role="button" title="Close all" tabindex="0" aria-controls="toggledsection-1 toggledsection-2"> )

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]