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

(6 errors, 127 warnings)

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

course/format/flexsections/format.php
(#32) Expected 1 space after ">="; 0 found
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexsections/lang/en/format_flexsections.php
(#2) The opening <?php tag must be followed by exactly one newline.
course/format/flexsections/lib.php
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must start with a capital letter, digit or 3-dots sequence
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Inline comments must start with a capital letter, digit or 3-dots sequence
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#426) Inline comments must start with a capital letter, digit or 3-dots sequence
(#426) Inline comments must end in full-stops, exclamation marks, or question marks
(#430) Inline comments must start with a capital letter, digit or 3-dots sequence
(#430) Inline comments must end in full-stops, exclamation marks, or question marks
(#449) Inline comments must start with a capital letter, digit or 3-dots sequence
(#449) Inline comments must end in full-stops, exclamation marks, or question marks
(#451) Inline comments must start with a capital letter, digit or 3-dots sequence
(#451) Inline comments must end in full-stops, exclamation marks, or question marks
(#469) Inline comments must start with a capital letter, digit or 3-dots sequence
(#469) Inline comments must end in full-stops, exclamation marks, or question marks
(#475) Inline comments must start with a capital letter, digit or 3-dots sequence
(#475) Inline comments must end in full-stops, exclamation marks, or question marks
(#561) Inline comments must start with a capital letter, digit or 3-dots sequence
(#561) Inline comments must end in full-stops, exclamation marks, or question marks
(#569) Inline comments must start with a capital letter, digit or 3-dots sequence
(#569) Inline comments must end in full-stops, exclamation marks, or question marks
(#578) Inline comments must start with a capital letter, digit or 3-dots sequence
(#578) Inline comments must end in full-stops, exclamation marks, or question marks
(#589) Inline comments must start with a capital letter, digit or 3-dots sequence
(#589) Inline comments must end in full-stops, exclamation marks, or question marks
(#603) Inline comments must start with a capital letter, digit or 3-dots sequence
(#603) Inline comments must end in full-stops, exclamation marks, or question marks
(#623) Inline comments must start with a capital letter, digit or 3-dots sequence
(#623) Inline comments must end in full-stops, exclamation marks, or question marks
(#627) Inline comments must start with a capital letter, digit or 3-dots sequence
(#627) Inline comments must end in full-stops, exclamation marks, or question marks
(#632) Inline comments must start with a capital letter, digit or 3-dots sequence
(#632) Inline comments must end in full-stops, exclamation marks, or question marks
(#640) Inline comments must start with a capital letter, digit or 3-dots sequence
(#640) Inline comments must end in full-stops, exclamation marks, or question marks
(#690) Inline comments must start with a capital letter, digit or 3-dots sequence
(#690) Inline comments must end in full-stops, exclamation marks, or question marks
(#695) Inline comments must start with a capital letter, digit or 3-dots sequence
(#695) Inline comments must end in full-stops, exclamation marks, or question marks
(#703) Inline comments must start with a capital letter, digit or 3-dots sequence
(#703) Inline comments must end in full-stops, exclamation marks, or question marks
(#748) Inline comments must start with a capital letter, digit or 3-dots sequence
(#748) Inline comments must end in full-stops, exclamation marks, or question marks
(#750) Inline comments must end in full-stops, exclamation marks, or question marks
(#764) Inline comments must end in full-stops, exclamation marks, or question marks
(#780) Inline comments must end in full-stops, exclamation marks, or question marks
(#787) Inline comments must end in full-stops, exclamation marks, or question marks
(#795) Inline comments must end in full-stops, exclamation marks, or question marks
(#803) Inline comments must end in full-stops, exclamation marks, or question marks
(#868) Inline comments must start with a capital letter, digit or 3-dots sequence
(#868) Inline comments must end in full-stops, exclamation marks, or question marks
(#875) Inline comments must start with a capital letter, digit or 3-dots sequence
(#875) Inline comments must end in full-stops, exclamation marks, or question marks
(#937) Inline comments must start with a capital letter, digit or 3-dots sequence
(#937) Inline comments must end in full-stops, exclamation marks, or question marks
(#947) Inline comments must start with a capital letter, digit or 3-dots sequence
(#947) Inline comments must end in full-stops, exclamation marks, or question marks
(#954) Inline comments must start with a capital letter, digit or 3-dots sequence
(#955) Inline comments must end in full-stops, exclamation marks, or question marks
(#1026) Line exceeds 132 characters; contains 139 characters
(#1027) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1027) Inline comments must end in full-stops, exclamation marks, or question marks
(#1036) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1036) Inline comments must end in full-stops, exclamation marks, or question marks
(#1041) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1041) Inline comments must end in full-stops, exclamation marks, or question marks
(#1043) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1043) Inline comments must end in full-stops, exclamation marks, or question marks
(#1072) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1072) Inline comments must end in full-stops, exclamation marks, or question marks
(#1074) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1074) Inline comments must end in full-stops, exclamation marks, or question marks
(#1078) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1078) Inline comments must end in full-stops, exclamation marks, or question marks
(#1086) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1086) Inline comments must end in full-stops, exclamation marks, or question marks
(#1094) Inline comments must end in full-stops, exclamation marks, or question marks
(#1116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1117) Inline comments must end in full-stops, exclamation marks, or question marks
(#1128) Inline comments must end in full-stops, exclamation marks, or question marks
(#1130) Inline comments must end in full-stops, exclamation marks, or question marks
(#1137) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1137) Inline comments must end in full-stops, exclamation marks, or question marks
(#1162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1162) Inline comments must end in full-stops, exclamation marks, or question marks
(#1176) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1176) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexsections/renderer.php
(#132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Inline comments must start with a capital letter, digit or 3-dots sequence
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Inline comments must start with a capital letter, digit or 3-dots sequence
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Inline comments must start with a capital letter, digit or 3-dots sequence
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Expected 1 space before "+"; 0 found
(#180) Expected 1 space after "+"; 0 found
(#183) Expected 1 space before "+"; 0 found
(#183) Expected 1 space after "+"; 0 found
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#198) Inline comments must start with a capital letter, digit or 3-dots sequence
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) Line exceeds 132 characters; contains 140 characters
(#246) Line exceeds 132 characters; contains 140 characters
(#248) Line exceeds 132 characters; contains 141 characters
(#252) Inline comments must start with a capital letter, digit or 3-dots sequence
(#252) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) Inline comments must start with a capital letter, digit or 3-dots sequence
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexsections/version.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(6 errors, 28 warnings)

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

course/format/flexsections/format.js
(#19) Identifier 'get_config' is not in camel case. (camelcase)
(#21) Identifier 'container_node' is not in camel case. (camelcase)
(#21) Extra space after key 'container_node'. (key-spacing)
(#22) Extra space after key 'container_class'. (key-spacing)
(#22) Identifier 'container_class' is not in camel case. (camelcase)
(#23) Extra space after key 'section_node'. (key-spacing)
(#23) Identifier 'section_node' is not in camel case. (camelcase)
(#24) Extra space after key 'section_class'. (key-spacing)
(#24) Identifier 'section_class' is not in camel case. (camelcase)
(#26) Missing semicolon. (semi)
(#28) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#36) Identifier 'swap_sections' is not in camel case. (camelcase)
(#38) Extra space after key 'COURSECONTENT'. (key-spacing)
(#39) Extra space after key 'SECTIONADDMENUS'. (key-spacing)
(#42) Infix operators must be spaced. (space-infix-ops)
(#42) Infix operators must be spaced. (space-infix-ops)
(#42) Infix operators must be spaced. (space-infix-ops)
(#44) Infix operators must be spaced. (space-infix-ops)
(#44) Infix operators must be spaced. (space-infix-ops)
(#45) Missing semicolon. (semi)
(#47) Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
(#47) Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
(#47) Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
(#47) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#56) Identifier 'process_sections' is not in camel case. (camelcase)
(#56) 'sectionto' is defined but never used. (no-unused-vars)
(#58) Extra space after key 'SECTIONNAME'. (key-spacing)
(#62) Comments should not begin with a lowercase character (capitalized-comments)
(#64) Infix operators must be spaced. (space-infix-ops)
(#67) Missing semicolon. (semi)
(#69) Identifier 'handle_flexsections' is not in camel case. (camelcase)
(#88) Missing semicolon. (semi)
(#90) Identifier 'init_flexsections' is not in camel case. (camelcase)
(#92) Missing semicolon. (semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(11 errors, 1 warnings)

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

course/format/flexsections/format.php
(#17) No one-line description found in phpdocs for file
course/format/flexsections/lang/en/format_flexsections.php
(#2) Empty line found after PHP open tag
course/format/flexsections/lib.php
(#1286) Function format_flexsections_edit_control::__construct is not documented
(#1283) Variable format_flexsections_edit_control::$url is not documented
(#1284) Variable format_flexsections_edit_control::$text is not documented
(#1285) Variable format_flexsections_edit_control::$class is not documented
(#17) No one-line description found in phpdocs for file
(#126) Phpdocs for function format_flexsections::find_collapsed_parent has incomplete parameters list
(#835) Phpdocs for function format_flexsections::get_edit_control_movehere has incomplete parameters list
course/format/flexsections/renderer.php
(#42) Phpdocs for function format_flexsections_renderer::__construct has incomplete parameters list
(#53) Phpdocs for function format_flexsections_renderer::section_title has incomplete parameters list
(#205) Phpdocs for function format_flexsections_renderer::display_insert_section_here has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

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


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]