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

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


Javascript coding style problems

(3 errors, 59 warnings)

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

course/format/folderview/format.js
(#42) Identifier 'get_config' is not in camel case. (camelcase)
(#44) Identifier 'container_node' is not in camel case. (camelcase)
(#45) Identifier 'container_class' is not in camel case. (camelcase)
(#46) Identifier 'section_node' is not in camel case. (camelcase)
(#47) Identifier 'section_class' is not in camel case. (camelcase)
(#51) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#59) Identifier 'swap_sections' is not in camel case. (camelcase)
(#70) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#70) Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
(#70) Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
(#70) Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
(#79) Identifier 'process_sections' is not in camel case. (camelcase)
course/format/folderview/yui/menu/menu.js
(#24) 'YUI' is not defined. (no-undef)
(#53) 'config' is defined but never used. (no-unused-vars)
(#81) Identifier 'init_aria' is not in camel case. (camelcase)
(#104) There should be no space after '{'. (object-curly-spacing)
(#104) There should be no space before '}'. (object-curly-spacing)
(#122) Identifier 'find_selected_tab' is not in camel case. (camelcase)
(#133) Missing JSDoc parameter type for 'node'. (valid-jsdoc)
(#138) Identifier 'get_section_number' is not in camel case. (camelcase)
(#142) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#146) Identifier 'handle_close_button' is not in camel case. (camelcase)
(#156) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#160) Identifier 'handle_show_add_resource' is not in camel case. (camelcase)
(#183) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#187) Identifier 'handle_add_resource' is not in camel case. (camelcase)
(#195) Missing JSDoc parameter type for 'tabPanelId'. (valid-jsdoc)
(#199) Identifier 'show_menu_panel' is not in camel case. (camelcase)
(#207) Identifier 'hide_menu_panel' is not in camel case. (camelcase)
(#220) Identifier 'format_folderview' is not in camel case. (camelcase)
(#221) Identifier 'init_menu' is not in camel case. (camelcase)
(#223) Missing semicolon. (semi)
course/format/folderview/yui/src/sectiontoggle/js/sectiontoggle.js
(#132) Missing JSDoc parameter type for 'sections'. (valid-jsdoc)
(#136) Identifier 'init_section_attributes' is not in camel case. (camelcase)
(#150) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#155) Identifier 'ignore_section' is not in camel case. (camelcase)
(#159) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#163) Identifier 'toggle_section' is not in camel case. (camelcase)
(#174) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#178) Identifier 'collapse_section' is not in camel case. (camelcase)
(#188) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#192) Identifier 'expand_section' is not in camel case. (camelcase)
(#202) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#208) Identifier 'update_section_labels' is not in camel case. (camelcase)
(#210) Multiple spaces found before '='. (no-multi-spaces)
(#225) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#230) Identifier 'handle_section_toggle' is not in camel case. (camelcase)
(#240) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#242) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#247) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#251) Identifier 'handle_expand_all' is not in camel case. (camelcase)
(#258) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#263) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#267) Identifier 'handle_collapse_all' is not in camel case. (camelcase)
(#274) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#279) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#283) Identifier 'handle_drop' is not in camel case. (camelcase)
(#297) Identifier 'save_expanded_sections' is not in camel case. (camelcase)
(#324) Missing JSDoc parameter type for 'node'. (valid-jsdoc)
(#329) Identifier 'get_section_number' is not in camel case. (camelcase)
(#335) Identifier 'format_folderview' is not in camel case. (camelcase)
(#337) Identifier 'init_sectiontoggle' is not in camel case. (camelcase)

CSS problems

(137 errors, 1 warnings)

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

course/format/folderview/styles.css
(#144) Invalid value for `-moz-border-radius` (csstree/validator)
(#144) Invalid value for `-webkit-border-radius` (csstree/validator)
(#24) Expected newline before "}" (block-closing-brace-newline-before)
(#25) Expected newline before "}" (block-closing-brace-newline-before)
(#26) Expected newline before "}" (block-closing-brace-newline-before)
(#27) Expected newline before "}" (block-closing-brace-newline-before)
(#28) Expected newline before "}" (block-closing-brace-newline-before)
(#138) Expected newline before "}" (block-closing-brace-newline-before)
(#139) Expected newline before "}" (block-closing-brace-newline-before)
(#140) Expected newline before "}" (block-closing-brace-newline-before)
(#141) Expected newline before "}" (block-closing-brace-newline-before)
(#142) Expected newline before "}" (block-closing-brace-newline-before)
(#143) Expected newline before "}" (block-closing-brace-newline-before)
(#144) Expected newline before "}" (block-closing-brace-newline-before)
(#145) Expected newline before "}" (block-closing-brace-newline-before)
(#146) Expected newline before "}" (block-closing-brace-newline-before)
(#147) Expected newline before "}" (block-closing-brace-newline-before)
(#148) Expected newline before "}" (block-closing-brace-newline-before)
(#149) Expected newline before "}" (block-closing-brace-newline-before)
(#150) Expected newline before "}" (block-closing-brace-newline-before)
(#151) Expected newline before "}" (block-closing-brace-newline-before)
(#152) Expected newline before "}" (block-closing-brace-newline-before)
(#157) Expected newline before "}" (block-closing-brace-newline-before)
(#158) Expected newline before "}" (block-closing-brace-newline-before)
(#159) Expected newline before "}" (block-closing-brace-newline-before)
(#160) Expected newline before "}" (block-closing-brace-newline-before)
(#161) Expected newline before "}" (block-closing-brace-newline-before)
(#162) Expected newline before "}" (block-closing-brace-newline-before)
(#210) Expected newline before "}" (block-closing-brace-newline-before)
(#24) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#25) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#26) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#27) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#28) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#157) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#210) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#24) Expected newline after "{" (block-opening-brace-newline-after)
(#25) Expected newline after "{" (block-opening-brace-newline-after)
(#26) Expected newline after "{" (block-opening-brace-newline-after)
(#27) Expected newline after "{" (block-opening-brace-newline-after)
(#28) Expected newline after "{" (block-opening-brace-newline-after)
(#138) Expected newline after "{" (block-opening-brace-newline-after)
(#139) Expected newline after "{" (block-opening-brace-newline-after)
(#140) Expected newline after "{" (block-opening-brace-newline-after)
(#141) Expected newline after "{" (block-opening-brace-newline-after)
(#142) Expected newline after "{" (block-opening-brace-newline-after)
(#143) Expected newline after "{" (block-opening-brace-newline-after)
(#144) Expected newline after "{" (block-opening-brace-newline-after)
(#145) Expected newline after "{" (block-opening-brace-newline-after)
(#146) Expected newline after "{" (block-opening-brace-newline-after)
(#147) Expected newline after "{" (block-opening-brace-newline-after)
(#148) Expected newline after "{" (block-opening-brace-newline-after)
(#149) Expected newline after "{" (block-opening-brace-newline-after)
(#150) Expected newline after "{" (block-opening-brace-newline-after)
(#151) Expected newline after "{" (block-opening-brace-newline-after)
(#152) Expected newline after "{" (block-opening-brace-newline-after)
(#157) Expected newline after "{" (block-opening-brace-newline-after)
(#158) Expected newline after "{" (block-opening-brace-newline-after)
(#159) Expected newline after "{" (block-opening-brace-newline-after)
(#160) Expected newline after "{" (block-opening-brace-newline-after)
(#161) Expected newline after "{" (block-opening-brace-newline-after)
(#162) Expected newline after "{" (block-opening-brace-newline-after)
(#210) Expected newline after "{" (block-opening-brace-newline-after)
(#24) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#25) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#26) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#27) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#28) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#210) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#25) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#25) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#27) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#27) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#28) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#28) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#144) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#144) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#144) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#144) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#144) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#144) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#25) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#27) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#28) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#138) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#139) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#141) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#144) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#145) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#146) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#148) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#157) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#159) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#24) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#25) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#25) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#26) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#27) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#27) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#27) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#28) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#28) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#28) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#138) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#138) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#139) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#139) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#140) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#141) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#142) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#143) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#145) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#145) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#146) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#146) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#147) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#148) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#148) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#149) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#150) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#151) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#152) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#157) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#157) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#158) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#159) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#159) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#210) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected line length to be no more than 132 characters (max-line-length)

PHPDocs style problems

(38 errors, 1 warnings)

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

course/format/folderview/addmod.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/classes/observer.php
(#40) There is no description in phpdocs for function course_content_deleted
course/format/folderview/db/upgrade.php
(#27) Phpdocs for function xmldb_format_folderview_upgrade has incomplete parameters list
course/format/folderview/lang/ar/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/ca/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/cs/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/da/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/de/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/es/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/fi/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/fr/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/it/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/ja/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/nl/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/pl/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/pt_br/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/tr/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lang/zh_tw/format_folderview.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/lib.php
(#33) Function format_folderview::get_course is not documented
(#40) Function format_folderview::uses_sections is not documented
(#44) Function format_folderview::get_view_url is not documented
(#65) Function format_folderview::get_section_name is not documented
(#76) Function format_folderview::supports_ajax is not documented
(#92) Function format_folderview::ajax_section_move is not documented
(#107) Function format_folderview::extend_course_navigation is not documented
(#126) Function format_folderview::course_format_options is not documented
(#176) Function format_folderview::update_course_format_options is not documented
(#29) No one-line description found in phpdocs for class format_folderview
(#29) Class format_folderview does not have @copyright tag
(#29) Class format_folderview does not have @license tag
(#30) Not recommended phpdocs tag @method used
course/format/folderview/renderer.php
(#66) Function format_folderview_renderer::section_title is not documented
(#77) Function format_folderview_renderer::section_left_content is not documented
(#104) Function format_folderview_renderer::section_right_content is not documented
(#120) Function format_folderview_renderer::section_edit_control_items is not documented
(#190) Function format_folderview_renderer::print_multiple_section_page is not documented
(#204) Function format_folderview_renderer::print_single_section_page is not documented
(#289) Function format_folderview_renderer::section_nav_selection is not documented
course/format/folderview/tests/privacy_provider_test.php
(#56) Function format_folderview_privacy_testcase::create_display_data_for_testing is not documented

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]