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, 129 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
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#231) Inline comments must start with a capital letter, digit or 3-dots sequence
(#231) Inline comments must end in full-stops, exclamation marks, or question marks
(#431) Inline comments must start with a capital letter, digit or 3-dots sequence
(#431) Inline comments must end in full-stops, exclamation marks, or question marks
(#435) Inline comments must start with a capital letter, digit or 3-dots sequence
(#435) Inline comments must end in full-stops, exclamation marks, or question marks
(#454) Inline comments must start with a capital letter, digit or 3-dots sequence
(#454) Inline comments must end in full-stops, exclamation marks, or question marks
(#456) Inline comments must start with a capital letter, digit or 3-dots sequence
(#456) Inline comments must end in full-stops, exclamation marks, or question marks
(#474) Inline comments must start with a capital letter, digit or 3-dots sequence
(#474) Inline comments must end in full-stops, exclamation marks, or question marks
(#480) Inline comments must start with a capital letter, digit or 3-dots sequence
(#480) Inline comments must end in full-stops, exclamation marks, or question marks
(#566) Inline comments must start with a capital letter, digit or 3-dots sequence
(#566) Inline comments must end in full-stops, exclamation marks, or question marks
(#574) Inline comments must start with a capital letter, digit or 3-dots sequence
(#574) Inline comments must end in full-stops, exclamation marks, or question marks
(#583) Inline comments must start with a capital letter, digit or 3-dots sequence
(#583) Inline comments must end in full-stops, exclamation marks, or question marks
(#594) Inline comments must start with a capital letter, digit or 3-dots sequence
(#594) Inline comments must end in full-stops, exclamation marks, or question marks
(#608) Inline comments must start with a capital letter, digit or 3-dots sequence
(#608) Inline comments must end in full-stops, exclamation marks, or question marks
(#628) Inline comments must start with a capital letter, digit or 3-dots sequence
(#628) 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
(#637) Inline comments must start with a capital letter, digit or 3-dots sequence
(#637) Inline comments must end in full-stops, exclamation marks, or question marks
(#645) Inline comments must start with a capital letter, digit or 3-dots sequence
(#645) Inline comments must end in full-stops, exclamation marks, or question marks
(#673) Inline comments must start with a capital letter, digit or 3-dots sequence
(#673) Inline comments must end in full-stops, exclamation marks, or question marks
(#678) Inline comments must start with a capital letter, digit or 3-dots sequence
(#678) Inline comments must end in full-stops, exclamation marks, or question marks
(#686) Inline comments must start with a capital letter, digit or 3-dots sequence
(#686) Inline comments must end in full-stops, exclamation marks, or question marks
(#731) Inline comments must start with a capital letter, digit or 3-dots sequence
(#731) Inline comments must end in full-stops, exclamation marks, or question marks
(#733) Inline comments must end in full-stops, exclamation marks, or question marks
(#747) Inline comments must end in full-stops, exclamation marks, or question marks
(#763) Inline comments must end in full-stops, exclamation marks, or question marks
(#770) Inline comments must end in full-stops, exclamation marks, or question marks
(#778) Inline comments must end in full-stops, exclamation marks, or question marks
(#786) Inline comments must end in full-stops, exclamation marks, or question marks
(#851) Inline comments must start with a capital letter, digit or 3-dots sequence
(#851) Inline comments must end in full-stops, exclamation marks, or question marks
(#858) Inline comments must start with a capital letter, digit or 3-dots sequence
(#858) Inline comments must end in full-stops, exclamation marks, or question marks
(#920) Inline comments must start with a capital letter, digit or 3-dots sequence
(#920) Inline comments must end in full-stops, exclamation marks, or question marks
(#930) Inline comments must start with a capital letter, digit or 3-dots sequence
(#930) 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
(#938) Inline comments must end in full-stops, exclamation marks, or question marks
(#1009) Line exceeds 132 characters; contains 139 characters
(#1010) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1010) Inline comments must end in full-stops, exclamation marks, or question marks
(#1019) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1019) Inline comments must end in full-stops, exclamation marks, or question marks
(#1024) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1024) Inline comments must end in full-stops, exclamation marks, or question marks
(#1026) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1026) Inline comments must end in full-stops, exclamation marks, or question marks
(#1055) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1055) Inline comments must end in full-stops, exclamation marks, or question marks
(#1057) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1057) Inline comments must end in full-stops, exclamation marks, or question marks
(#1061) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1061) Inline comments must end in full-stops, exclamation marks, or question marks
(#1069) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1069) Inline comments must end in full-stops, exclamation marks, or question marks
(#1077) Inline comments must end in full-stops, exclamation marks, or question marks
(#1099) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1100) Inline comments must end in full-stops, exclamation marks, or question marks
(#1111) Inline comments must end in full-stops, exclamation marks, or question marks
(#1113) Inline comments must end in full-stops, exclamation marks, or question marks
(#1120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1120) Inline comments must end in full-stops, exclamation marks, or question marks
(#1145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1145) Inline comments must end in full-stops, exclamation marks, or question marks
(#1159) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1159) 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, 27 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)
(#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 csslint [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
(#1256) Function format_flexsections_edit_control::__construct is not documented
(#1253) Variable format_flexsections_edit_control::$url is not documented
(#1254) Variable format_flexsections_edit_control::$text is not documented
(#1255) Variable format_flexsections_edit_control::$class is not documented
(#17) No one-line description found in phpdocs for file
(#134) Phpdocs for function format_flexsections::find_collapsed_parent has incomplete parameters list
(#818) 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]