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

(2 errors, 182 warnings)

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

blocks/massaction/js/module_selector.js
(#26) Identifier 'Module_selector' is not in camel case. (camelcase)
(#38) Expected space(s) after "catch". (keyword-spacing)
(#41) Unexpected console statement. (no-console)
(#48) Identifier 'Module_selector' is not in camel case. (camelcase)
(#48) Identifier 'add_checkboxes' is not in camel case. (camelcase)
(#51) Identifier 'section_number' is not in camel case. (camelcase)
(#57) Identifier 'ulist_child' is not in camel case. (camelcase)
(#58) Identifier 'ulist_child' is not in camel case. (camelcase)
(#60) Identifier 'ulist_child' is not in camel case. (camelcase)
(#74) Identifier 'section_number' is not in camel case. (camelcase)
(#79) Identifier 'section_el' is not in camel case. (camelcase)
(#80) Identifier 'section_el' is not in camel case. (camelcase)
(#81) Identifier 'section_number' is not in camel case. (camelcase)
(#87) Missing JSDoc for parameter 'isactive'. (valid-jsdoc)
(#87) Missing JSDoc for parameter 'innertext'. (valid-jsdoc)
(#87) Missing JSDoc for parameter 'parentclass'. (valid-jsdoc)
(#87) Missing JSDoc for parameter 'section_number'. (valid-jsdoc)
(#90) Identifier 'Module_selector' is not in camel case. (camelcase)
(#90) Identifier 'add_section' is not in camel case. (camelcase)
(#90) Identifier 'section_number' is not in camel case. (camelcase)
(#96) Identifier 'section_number' is not in camel case. (camelcase)
(#98) Identifier 'section_number' is not in camel case. (camelcase)
(#103) Identifier 'section_number' is not in camel case. (camelcase)
(#106) Identifier 'section_number' is not in camel case. (camelcase)
(#110) Expected to return a value at the end of this function. (consistent-return)
(#110) Identifier 'module_el' is not in camel case. (camelcase)
(#111) Identifier 'module_el' is not in camel case. (camelcase)
(#112) Identifier 'module_id' is not in camel case. (camelcase)
(#112) Identifier 'module_el' is not in camel case. (camelcase)
(#115) Identifier 'module_id' is not in camel case. (camelcase)
(#115) Identifier 'module_id' is not in camel case. (camelcase)
(#126) Missing JSDoc for parameter 'module_el'. (valid-jsdoc)
(#126) Missing JSDoc for parameter 'section_number'. (valid-jsdoc)
(#129) Identifier 'Module_selector' is not in camel case. (camelcase)
(#129) Identifier 'add_module_checkbox' is not in camel case. (camelcase)
(#129) Identifier 'section_number' is not in camel case. (camelcase)
(#129) Identifier 'module_el' is not in camel case. (camelcase)
(#132) Identifier 'module_id' is not in camel case. (camelcase)
(#132) Identifier 'module_el' is not in camel case. (camelcase)
(#133) Identifier 'box_id' is not in camel case. (camelcase)
(#133) Identifier 'module_id' is not in camel case. (camelcase)
(#136) Identifier 'box_id' is not in camel case. (camelcase)
(#138) Identifier 'box_id' is not in camel case. (camelcase)
(#141) Identifier 'control_box' is not in camel case. (camelcase)
(#141) Identifier 'module_el' is not in camel case. (camelcase)
(#142) Identifier 'control_box' is not in camel case. (camelcase)
(#143) Identifier 'control_box' is not in camel case. (camelcase)
(#143) Identifier 'module_el' is not in camel case. (camelcase)
(#146) Identifier 'control_box' is not in camel case. (camelcase)
(#147) Identifier 'control_box' is not in camel case. (camelcase)
(#153) Extra space after key 'module_id'. (key-spacing)
(#153) Identifier 'module_id' is not in camel case. (camelcase)
(#154) Extra space after key 'box_id'. (key-spacing)
(#154) Identifier 'box_id' is not in camel case. (camelcase)
(#159) Identifier 'Module_selector' is not in camel case. (camelcase)
(#159) Identifier 'get_section_structure' is not in camel case. (camelcase)
(#164) Identifier 'Module_selector' is not in camel case. (camelcase)
blocks/massaction/module.js
(#22) Identifier 'block_massaction' is not in camel case. (camelcase)
(#23) Extra space after key 'sections'. (key-spacing)
(#38) Identifier 'mod_sel' is not in camel case. (camelcase)
(#38) Multiple spaces found before '='. (no-multi-spaces)
(#38) Identifier 'Module_selector' is not in camel case. (camelcase)
(#38) 'Module_selector' is not defined. (no-undef)
(#40) Identifier 'mod_sel' is not in camel case. (camelcase)
(#44) Identifier 'section_selector' is not in camel case. (camelcase)
(#45) Identifier 'section_moveto' is not in camel case. (camelcase)
(#45) Multiple spaces found before '='. (no-multi-spaces)
(#46) Identifier 'section_dupto' is not in camel case. (camelcase)
(#46) Multiple spaces found before '='. (no-multi-spaces)
(#47) Identifier 'section_text' is not in camel case. (camelcase)
(#48) Identifier 'active_section' is not in camel case. (camelcase)
(#49) Identifier 'section_option' is not in camel case. (camelcase)
(#51) Identifier 'section_number' is not in camel case. (camelcase)
(#54) Identifier 'section_text' is not in camel case. (camelcase)
(#62) Identifier 'active_section' is not in camel case. (camelcase)
(#62) Identifier 'section_number' is not in camel case. (camelcase)
(#65) Identifier 'section_number' is not in camel case. (camelcase)
(#66) Identifier 'section_text' is not in camel case. (camelcase)
(#69) Identifier 'sectionname_node' is not in camel case. (camelcase)
(#69) Identifier 'section_number' is not in camel case. (camelcase)
(#71) Identifier 'sectionname_node' is not in camel case. (camelcase)
(#72) Identifier 'section_text' is not in camel case. (camelcase)
(#72) Identifier 'sectionname_node' is not in camel case. (camelcase)
(#75) Blocks are nested too deeply (5). (max-depth)
(#77) Identifier 'section_text' is not in camel case. (camelcase)
(#77) Identifier 'section_number' is not in camel case. (camelcase)
(#81) Identifier 'section_text' is not in camel case. (camelcase)
(#81) Identifier 'section_number' is not in camel case. (camelcase)
(#85) Identifier 'section_text' is not in camel case. (camelcase)
(#85) Identifier 'section_number' is not in camel case. (camelcase)
(#98) Identifier 'section_number' is not in camel case. (camelcase)
(#98) Identifier 'active_section' is not in camel case. (camelcase)
(#99) Identifier 'section_option' is not in camel case. (camelcase)
(#99) Multiple spaces found before '='. (no-multi-spaces)
(#100) Identifier 'section_option' is not in camel case. (camelcase)
(#100) Multiple spaces found before '='. (no-multi-spaces)
(#100) Identifier 'section_text' is not in camel case. (camelcase)
(#101) Identifier 'section_option' is not in camel case. (camelcase)
(#101) Multiple spaces found before '='. (no-multi-spaces)
(#101) Identifier 'section_number' is not in camel case. (camelcase)
(#102) Identifier 'section_option' is not in camel case. (camelcase)
(#103) Identifier 'section_selector' is not in camel case. (camelcase)
(#103) Identifier 'section_selector' is not in camel case. (camelcase)
(#103) Identifier 'section_option' is not in camel case. (camelcase)
(#107) Identifier 'section_option' is not in camel case. (camelcase)
(#107) Multiple spaces found before '='. (no-multi-spaces)
(#108) Identifier 'section_option' is not in camel case. (camelcase)
(#108) Multiple spaces found before '='. (no-multi-spaces)
(#108) Identifier 'section_text' is not in camel case. (camelcase)
(#109) Identifier 'section_option' is not in camel case. (camelcase)
(#109) Multiple spaces found before '='. (no-multi-spaces)
(#109) Identifier 'section_number' is not in camel case. (camelcase)
(#110) Identifier 'section_moveto' is not in camel case. (camelcase)
(#110) Identifier 'section_moveto' is not in camel case. (camelcase)
(#110) Identifier 'section_option' is not in camel case. (camelcase)
(#113) Identifier 'section_option' is not in camel case. (camelcase)
(#113) Multiple spaces found before '='. (no-multi-spaces)
(#114) Identifier 'section_option' is not in camel case. (camelcase)
(#114) Multiple spaces found before '='. (no-multi-spaces)
(#114) Identifier 'section_text' is not in camel case. (camelcase)
(#115) Identifier 'section_option' is not in camel case. (camelcase)
(#115) Multiple spaces found before '='. (no-multi-spaces)
(#115) Identifier 'section_number' is not in camel case. (camelcase)
(#116) Identifier 'section_dupto' is not in camel case. (camelcase)
(#116) Identifier 'section_dupto' is not in camel case. (camelcase)
(#116) Identifier 'section_option' is not in camel case. (camelcase)
(#120) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#120) Statement inside of curly braces should be on next line. (brace-style)
(#123) Statement inside of curly braces should be on next line. (brace-style)
(#123) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#126) Statement inside of curly braces should be on next line. (brace-style)
(#126) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#129) Statement inside of curly braces should be on next line. (brace-style)
(#129) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#132) Statement inside of curly braces should be on next line. (brace-style)
(#132) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#135) Statement inside of curly braces should be on next line. (brace-style)
(#135) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#138) Statement inside of curly braces should be on next line. (brace-style)
(#138) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#141) Statement inside of curly braces should be on next line. (brace-style)
(#141) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#144) Statement inside of curly braces should be on next line. (brace-style)
(#144) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#147) Statement inside of curly braces should be on next line. (brace-style)
(#147) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#158) Identifier 'set_section_selection' is not in camel case. (camelcase)
(#158) Identifier 'section_number' is not in camel case. (camelcase)
(#160) Identifier 'box_ids' is not in camel case. (camelcase)
(#160) Multiple spaces found before '='. (no-multi-spaces)
(#163) Identifier 'section_number' is not in camel case. (camelcase)
(#163) Identifier 'section_number' is not in camel case. (camelcase)
(#164) Identifier 'sec_id' is not in camel case. (camelcase)
(#165) Multiple spaces found before 'j'. (no-multi-spaces)
(#166) Identifier 'box_ids' is not in camel case. (camelcase)
(#170) Identifier 'section_number' is not in camel case. (camelcase)
(#172) Identifier 'section_number' is not in camel case. (camelcase)
(#174) Identifier 'box_ids' is not in camel case. (camelcase)
(#180) Identifier 'box_ids' is not in camel case. (camelcase)
(#181) Identifier 'box_ids' is not in camel case. (camelcase)
(#182) Identifier 'box_ids' is not in camel case. (camelcase)
(#188) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#189) Missing JSDoc @returns for function. (valid-jsdoc)
(#197) Identifier 'submit_action' is not in camel case. (camelcase)
(#197) Expected to return a value at the end of this function. (consistent-return)
(#198) Identifier 'submit_data' is not in camel case. (camelcase)
(#198) Extra space after key 'action'. (key-spacing)
(#199) Extra space after key 'module_ids'. (key-spacing)
(#204) Identifier 'sec_id' is not in camel case. (camelcase)
(#210) Identifier 'name_comps' is not in camel case. (camelcase)
(#211) Identifier 'submit_data' is not in camel case. (camelcase)
(#211) Identifier 'name_comps' is not in camel case. (camelcase)
(#211) Identifier 'name_comps' is not in camel case. (camelcase)
(#217) Identifier 'submit_data' is not in camel case. (camelcase)
(#218) Unexpected alert. (no-alert)
(#232) Identifier 'submit_data' is not in camel case. (camelcase)
(#233) Unexpected confirm. (no-alert)
(#240) Identifier 'submit_data' is not in camel case. (camelcase)
(#240) Identifier 'moveto_target' is not in camel case. (camelcase)
(#241) Identifier 'submit_data' is not in camel case. (camelcase)
(#248) Identifier 'submit_data' is not in camel case. (camelcase)
(#248) Identifier 'dupto_target' is not in camel case. (camelcase)
(#249) Identifier 'submit_data' is not in camel case. (camelcase)
(#255) Unexpected alert. (no-alert)

CSS problems

(31 errors, 0 warnings)

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

blocks/massaction/styles.css
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#2) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#3) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#4) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#5) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#6) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#8) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Unexpected single-line block (block-no-single-line)
(#2) Unexpected single-line block (block-no-single-line)
(#3) Unexpected single-line block (block-no-single-line)
(#4) Unexpected single-line block (block-no-single-line)
(#5) Unexpected single-line block (block-no-single-line)
(#6) Unexpected single-line block (block-no-single-line)
(#8) Unexpected single-line block (block-no-single-line)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#2) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#3) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#4) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#5) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#6) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#8) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#2) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#3) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#4) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#5) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#6) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#8) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)

PHPDocs style problems

(13 errors, 0 warnings)

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

blocks/massaction/action.php
(#17) No one-line description found in phpdocs for file
(#126) Phpdocs for function adjust_indentation has incomplete parameters list
(#166) Phpdocs for function print_deletion_confirmation has incomplete parameters list
(#241) Phpdocs for function perform_deletion has incomplete parameters list
blocks/massaction/block_massaction.php
(#25) Class block_massaction is not documented
(#17) No one-line description found in phpdocs for file
(#34) There is no description in phpdocs for function applicable_formats
(#48) There is no description in phpdocs for function get_content
blocks/massaction/db/access.php
(#17) No one-line description found in phpdocs for file
blocks/massaction/lang/en/block_massaction.php
(#17) File-level phpdocs block is not found
blocks/massaction/lang/fr/block_massaction.php
(#17) File-level phpdocs block is not found
blocks/massaction/lang/he/block_massaction.php
(#17) File-level phpdocs block is not found
blocks/massaction/version.php
(#17) File-level phpdocs block is not found

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]