This section shows php lint problems in the code detected by php -l
This section shows the coding style problems detected in the code by phpcs
Expected MOODLE_INTERNAL check or config.php inclusion
Member variable "_hiddenLabel" must be all lower-case
Public method name "MoodleQuickForm_tccolourpopup::setHiddenLabel" must be in lower-case letters only
Variable "hiddenLabel" must be all lower-case
Variable "hiddenLabel" must be all lower-case
Public method name "MoodleQuickForm_tccolourpopup::toHtml" must be in lower-case letters only
Public method name "MoodleQuickForm_tccolourpopup::_generateId" must be in lower-case letters only
Public method name "MoodleQuickForm_tccolourpopup::setHelpButton" must be in lower-case letters only
Public method name "MoodleQuickForm_tccolourpopup::getHelpButton" must be in lower-case letters only
Public method name "MoodleQuickForm_tccolourpopup::getElementTemplateType" must be in lower-case letters only
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
This comment is 50% valid code; is this commented out code?
Line exceeds 132 characters; contains 139 characters
Line exceeds 132 characters; contains 135 characters
Line exceeds 132 characters; contains 133 characters
This comment is 43% valid code; is this commented out code?
Inline comments must end in full-stops, exclamation marks, or question marks
Inline comments must end in full-stops, exclamation marks, or question marks
Line exceeds 132 characters; contains 135 characters
Line exceeds 132 characters; contains 133 characters
Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
Line exceeds 132 characters; contains 154 characters
Line exceeds 132 characters; contains 139 characters
Line exceeds 132 characters; contains 139 characters
Line exceeds 132 characters; contains 146 characters
Line exceeds 132 characters; contains 155 characters
Line exceeds 132 characters; contains 141 characters
Line exceeds 132 characters; contains 155 characters
Line exceeds 132 characters; contains 155 characters
Line exceeds 132 characters; contains 155 characters
Line exceeds 132 characters; contains 156 characters
Line exceeds 132 characters; contains 138 characters
This comment is 42% valid code; is this commented out code?
This section shows the coding style problems detected in the code by eslint
Identifier 'get_config' is not in camel case. (camelcase)
Identifier 'container_node' is not in camel case. (camelcase)
Extra space after key 'container_node'. (key-spacing)
Extra space after key 'container_class'. (key-spacing)
Identifier 'container_class' is not in camel case. (camelcase)
Identifier 'section_node' is not in camel case. (camelcase)
Extra space after key 'section_node'. (key-spacing)
Identifier 'section_class' is not in camel case. (camelcase)
Extra space after key 'section_class'. (key-spacing)
Unexpected @return tag; function has no return statement. (valid-jsdoc)
Identifier 'swap_sections' is not in camel case. (camelcase)
Extra space after key 'COURSECONTENT'. (key-spacing)
Extra space after key 'SECTIONADDMENUS'. (key-spacing)
Unexpected @return tag; function has no return statement. (valid-jsdoc)
Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
Identifier 'process_sections' is not in camel case. (camelcase)
Extra space after key 'SECTIONNAME'. (key-spacing)
Extra space after key 'LEFTCONTENT'. (key-spacing)
Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)
Identifier 'init_tccolour_popup' is not in camel case. (camelcase)
Missing space before opening brace. (space-before-blocks)
Extra space after key 'box'. (key-spacing)
Extra space after key 'input'. (key-spacing)
Extra space after key 'swatch'. (key-spacing)
Extra space after key 'image'. (key-spacing)
Extra space after key 'preview'. (key-spacing)
Extra space after key 'current'. (key-spacing)
Extra space after key 'eventClick'. (key-spacing)
Extra space after key 'eventFocus'. (key-spacing)
Extra space after key 'eventMouseEnter'. (key-spacing)
Extra space after key 'eventMouseLeave'. (key-spacing)
Extra space after key 'eventMouseMove'. (key-spacing)
Extra space after key 'width'. (key-spacing)
Extra space after key 'height'. (key-spacing)
Extra space after key 'factor'. (key-spacing)
Extra space after key 'init'. (key-spacing)
Line 64 exceeds the maximum line length of 132. (max-len)
Line 66 exceeds the maximum line length of 132. (max-len)
Comments should not begin with a lowercase character (capitalized-comments)
Expected space or tab after '//' in comment. (spaced-comment)
Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
'e' is defined but never used. (no-unused-vars)
Missing space before opening brace. (space-before-blocks)
A space is required after ','. (comma-spacing)
A space is required after ','. (comma-spacing)
'e' is defined but never used. (no-unused-vars)
Missing space before opening brace. (space-before-blocks)
Extra space after key 'showColours'. (key-spacing)
'e' is defined but never used. (no-unused-vars)
Missing space before opening brace. (space-before-blocks)
Extra space after key 'setColour'. (key-spacing)
'e' is defined but never used. (no-unused-vars)
Missing space before opening brace. (space-before-blocks)
Extra space after key 'startFollow'. (key-spacing)
'e' is defined but never used. (no-unused-vars)
Missing space before opening brace. (space-before-blocks)
Expected space or tab after '//' in comment. (spaced-comment)
Comments should not begin with a lowercase character (capitalized-comments)
Missing JSDoc for parameter 'e'. (valid-jsdoc)
Extra space after key 'endFollow'. (key-spacing)
'e' is defined but never used. (no-unused-vars)
A space is required after ','. (comma-spacing)
Missing JSDoc for parameter 'e'. (valid-jsdoc)
Extra space after key 'pickColour'. (key-spacing)
Missing JSDoc for parameter 'e'. (valid-jsdoc)
Missing JSDoc @returns for function. (valid-jsdoc)
Extra space after key 'determineColour'. (key-spacing)
A space is required after ','. (comma-spacing)
A space is required after ','. (comma-spacing)
There should be no space after '['. (array-bracket-spacing)
Multiple spaces found before '0'. (no-multi-spaces)
Multiple spaces found before '1'. (no-multi-spaces)
Multiple spaces found before '0'. (no-multi-spaces)
There should be no space after '['. (array-bracket-spacing)
Multiple spaces found before '0'. (no-multi-spaces)
Multiple spaces found before '0'. (no-multi-spaces)
There should be no space after '['. (array-bracket-spacing)
Multiple spaces found before '0'. (no-multi-spaces)
Multiple spaces found before '0'. (no-multi-spaces)
Multiple spaces found before '1'. (no-multi-spaces)
There should be no space after '['. (array-bracket-spacing)
Multiple spaces found before '0'. (no-multi-spaces)
Multiple spaces found before '0'. (no-multi-spaces)
There should be no space after '['. (array-bracket-spacing)
Multiple spaces found before '1'. (no-multi-spaces)
Multiple spaces found before '0'. (no-multi-spaces)
Multiple spaces found before '0'. (no-multi-spaces)
There should be no space after '['. (array-bracket-spacing)
Multiple spaces found before '0'. (no-multi-spaces)
Multiple spaces found before '0'. (no-multi-spaces)
Missing JSDoc for parameter 'rgb'. (valid-jsdoc)
Missing JSDoc @returns for function. (valid-jsdoc)
Identifier 'convert_rgb_to_hex' is not in camel case. (camelcase)
Extra space after key 'convert_rgb_to_hex'. (key-spacing)
Identifier 'format_topcoll' is not in camel case. (camelcase)
Identifier 'toggle_topic' is not in camel case. (camelcase)
A space is required after ','. (comma-spacing)
A space is required after ','. (comma-spacing)
A space is required after ','. (comma-spacing)
A space is required after ','. (comma-spacing)
A space is required after ','. (comma-spacing)
A space is required after ','. (comma-spacing)
Identifier 'save_toggles' is not in camel case. (camelcase)
Identifier 'is_old_preference' is not in camel case. (camelcase)
Identifier 'convert_to_new_preference' is not in camel case. (camelcase)
'logbintext' is assigned a value but never used. (no-unused-vars)
Unexpected use of '<<'. (no-bitwise)
Missing JSDoc for parameter 'togglenum'. (valid-jsdoc)
Missing JSDoc for parameter 'state'. (valid-jsdoc)
Identifier 'set_toggle_state' is not in camel case. (camelcase)
Unexpected use of '|='. (no-bitwise)
Unexpected use of '&='. (no-bitwise)
Unexpected use of '~'. (no-bitwise)
A space is required after ','. (comma-spacing)
Identifier 'get_required_digits' is not in camel case. (camelcase)
Identifier 'get_toggle_pos' is not in camel case. (camelcase)
Identifier 'get_min_digit' is not in camel case. (camelcase)
Identifier 'get_max_digit' is not in camel case. (camelcase)
Identifier 'get_toggle_flag' is not in camel case. (camelcase)
Identifier 'decode_character_to_value' is not in camel case. (camelcase)
Identifier 'encode_value_to_character' is not in camel case. (camelcase)
Missing JSDoc parameter type for 'String'. (valid-jsdoc)
Expected JSDoc for 'name' but found 'String'. (valid-jsdoc)
Missing JSDoc for parameter 'value'. (valid-jsdoc)
Duplicate JSDoc parameter 'String'. (valid-jsdoc)
Missing JSDoc parameter type for 'String'. (valid-jsdoc)
Identifier 'set_user_preference' is not in camel case. (camelcase)
'YUI' is not defined. (no-undef)
A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
Line 406 exceeds the maximum line length of 132. (max-len)
Line 415 exceeds the maximum line length of 132. (max-len)
Unexpected console statement. (no-console)
This section shows CSS problems detected by stylelint
Expected single space before "{" (block-opening-brace-space-before)
Expected single space before "{" (block-opening-brace-space-before)
Expected single space before "{" (block-opening-brace-space-before)
Expected single space before "{" (block-opening-brace-space-before)
Expected single space before "{" (block-opening-brace-space-before)
Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
Expected line length to be no more than 132 characters (max-line-length)
Expected line length to be no more than 132 characters (max-line-length)
Expected line length to be no more than 132 characters (max-line-length)
Expected single space after ">" (selector-combinator-space-after)
Expected single space before ">" (selector-combinator-space-before)
Expected newline after "," (selector-list-comma-newline-after)
Expected newline after "," (selector-list-comma-newline-after)
Expected newline after "," (selector-list-comma-newline-after)
Expected newline after "," (selector-list-comma-newline-after)
Expected newline after "," (selector-list-comma-newline-after)
Expected newline after "," (selector-list-comma-newline-after)
Expected newline after "," (selector-list-comma-newline-after)
Expected newline after "," (selector-list-comma-newline-after)
Expected newline after "," (selector-list-comma-newline-after)
Expected newline after "," (selector-list-comma-newline-after)
Unexpected whitespace before "," (selector-list-comma-space-before)
This section shows the phpdocs problems detected in the code by local_moodlecheck
Function restore_format_topcoll_plugin::after_execute_structure is not documented
No one-line description found in phpdocs for class restore_format_topcoll_plugin
Phpdocs for function restore_format_topcoll_plugin::process_topcoll has incomplete parameters list
Class restore_format_topcoll_plugin does not have @copyright tag
Class restore_format_topcoll_plugin does not have @license tag
Not recommended phpdocs tag @version used
Class format_topcoll_course_renderer is not documented
Not recommended phpdocs tag @version used
Class format_topcoll_observer does not have @copyright tag
Class format_topcoll_observer does not have @license tag
Not recommended phpdocs tag @version used
Class course_module_name is not documented
Not recommended phpdocs tag @version used
Phpdocs for function provider::get_metadata has incomplete parameters list
Class provider does not have @copyright tag
Class provider does not have @license tag
Not recommended phpdocs tag @version used
Class togglelib is not documented
Variable togglelib::$toggles is not documented
Constant togglelib::TOGGLE_6 is not documented
Constant togglelib::TOGGLE_5 is not documented
Constant togglelib::TOGGLE_4 is not documented
Constant togglelib::TOGGLE_3 is not documented
Constant togglelib::TOGGLE_2 is not documented
Constant togglelib::TOGGLE_1 is not documented
Phpdocs for function togglelib::set_toggles has incomplete parameters list
Phpdocs for function togglelib::get_toggle_state has incomplete parameters list
Phpdocs for function togglelib::set_toggle_state has incomplete parameters list
Phpdocs for function togglelib::decode_toggle_state has incomplete parameters list
Phpdocs for function togglelib::is_old_preference has incomplete parameters list
Phpdocs for function togglelib::get_required_digits has incomplete parameters list
Phpdocs for function togglelib::get_toggle_pos has incomplete parameters list
Phpdocs for function togglelib::get_toggle_flag has incomplete parameters list
Phpdocs for function togglelib::decode_character_to_value has incomplete parameters list
Phpdocs for function togglelib::encode_value_to_character has incomplete parameters list
Not recommended phpdocs tag @version used
Class toolbox is not documented
Function toolbox::__construct is not documented
Function toolbox::get_instance is not documented
Variable toolbox::$instance is not documented
Constant toolbox::TOPCOLL_TOGGLE is not documented
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @version used
Function xmldb_format_topcoll_upgrade is not documented
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @version used
Function MoodleQuickForm_tccolourpopup::__construct is not documented
Function MoodleQuickForm_tccolourpopup::setHiddenLabel is not documented
Function MoodleQuickForm_tccolourpopup::toHtml is not documented
Function MoodleQuickForm_tccolourpopup::export_for_template is not documented
Variable MoodleQuickForm_tccolourpopup::$_helpbutton is not documented
Variable MoodleQuickForm_tccolourpopup::$_hiddenLabel is not documented
Phpdocs for function MoodleQuickForm_tccolourpopup::setHelpButton has incomplete parameters list
Class MoodleQuickForm_tccolourpopup does not have @copyright tag
Class MoodleQuickForm_tccolourpopup does not have @license tag
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @access used
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @version used
Class format_topcoll is not documented
Function format_topcoll::get_section_dates is not documented
Function format_topcoll::section_format_options is not documented
Function format_topcoll::get_context is not documented
Function format_topcoll::section_action is not documented
Variable format_topcoll::$coursedisplay is not documented
Variable format_topcoll::$settings is not documented
Phpdocs for function format_topcoll::get_settings has incomplete parameters list
Not recommended phpdocs tag @version used
Class format_topcoll_renderer is not documented
Function format_topcoll_renderer::section_summary_container is not documented
Function format_topcoll_renderer::set_portable is not documented
Function format_topcoll_renderer::set_user_preference is not documented
Function format_topcoll_renderer::get_row_class is not documented
Function format_topcoll_renderer::get_column_class is not documented
Function format_topcoll_renderer::get_format_responsive is not documented
Variable format_topcoll_renderer::$tccolumnwidth is not documented
Variable format_topcoll_renderer::$tccolumnpadding is not documented
Variable format_topcoll_renderer::$mobiletheme is not documented
Variable format_topcoll_renderer::$tablettheme is not documented
Variable format_topcoll_renderer::$courseformat is not documented
Variable format_topcoll_renderer::$tcsettings is not documented
Variable format_topcoll_renderer::$defaulttogglepersistence is not documented
Variable format_topcoll_renderer::$defaultuserpreference is not documented
Variable format_topcoll_renderer::$togglelib is not documented
Variable format_topcoll_renderer::$currentsection is not documented
Variable format_topcoll_renderer::$isoldtogglepreference is not documented
Variable format_topcoll_renderer::$userisediting is not documented
Variable format_topcoll_renderer::$tctoggleiconsize is not documented
Variable format_topcoll_renderer::$formatresponsive is not documented
Variable format_topcoll_renderer::$rtl is not documented
Variable format_topcoll_renderer::$bsnewgrid is not documented
Phpdocs for function format_topcoll_renderer::__construct has incomplete parameters list
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @version used
Variable format_topcoll_courseformatlib_testcase::$course is not documented
Variable format_topcoll_courseformatlib_testcase::$courseformat is not documented
Class format_topcoll_courseformatlib_testcase does not have @copyright tag
Class format_topcoll_courseformatlib_testcase does not have @license tag
Not recommended phpdocs tag @version used
Function format_topcoll_courseformatrenderer_testcase::init is not documented
Variable format_topcoll_courseformatrenderer_testcase::$outputus is not documented
Variable format_topcoll_courseformatrenderer_testcase::$course is not documented
Variable format_topcoll_courseformatrenderer_testcase::$courseformat is not documented
Variable format_topcoll_courseformatrenderer_testcase::$cmid is not documented
Class format_topcoll_courseformatrenderer_testcase does not have @copyright tag
Class format_topcoll_courseformatrenderer_testcase does not have @license tag
Not recommended phpdocs tag @version used
Class format_topcoll_courseformattoolbox_testcase does not have @copyright tag
Class format_topcoll_courseformattoolbox_testcase does not have @license tag
Not recommended phpdocs tag @version used
Function format_topcoll_privacy_testcase::set_up is not documented
Variable format_topcoll_privacy_testcase::$outputus is not documented
Variable format_topcoll_privacy_testcase::$course is not documented
Variable format_topcoll_privacy_testcase::$courseformat is not documented
Variable format_topcoll_privacy_testcase::$numsections is not documented
Class format_topcoll_privacy_testcase does not have @copyright tag
Class format_topcoll_privacy_testcase does not have @license tag
Not recommended phpdocs tag @version used
Class format_topcoll_togglelib_testcase does not have @copyright tag
Class format_topcoll_togglelib_testcase does not have @license tag
Not recommended phpdocs tag @version used
Not recommended phpdocs tag @version used
This section shows problems detected with the handling of upgrade savepoints
Detected more 'if' blocks (2) than 'savepoint' calls (1)
version 2114052000 is missing corresponding savepoint call
version 2114052000 is higher than that defined in /var/lib/jenkins/git_repositories/prechecker/course/format/topcoll/version.php file
This section shows problems detected with the modification of third party libraries
This section shows files built by grunt and not commited
Problems running grunt
Task "stylelint:css" failed. Use --force to continue.
This section shows problems detected by shifter
This section shows problems detected in mustache templates