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
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#171) Inline comments must start with a capital letter, digit or 3-dots sequence
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#418) Inline comments must start with a capital letter, digit or 3-dots sequence
(#418) Inline comments must end in full-stops, exclamation marks, or question marks
(#422) Inline comments must start with a capital letter, digit or 3-dots sequence
(#422) Inline comments must end in full-stops, exclamation marks, or question marks
(#441) Inline comments must start with a capital letter, digit or 3-dots sequence
(#441) Inline comments must end in full-stops, exclamation marks, or question marks
(#443) Inline comments must start with a capital letter, digit or 3-dots sequence
(#443) Inline comments must end in full-stops, exclamation marks, or question marks
(#461) Inline comments must start with a capital letter, digit or 3-dots sequence
(#461) Inline comments must end in full-stops, exclamation marks, or question marks
(#467) Inline comments must start with a capital letter, digit or 3-dots sequence
(#467) Inline comments must end in full-stops, exclamation marks, or question marks
(#547) Inline comments must start with a capital letter, digit or 3-dots sequence
(#547) Inline comments must end in full-stops, exclamation marks, or question marks
(#555) Inline comments must start with a capital letter, digit or 3-dots sequence
(#555) Inline comments must end in full-stops, exclamation marks, or question marks
(#564) Inline comments must start with a capital letter, digit or 3-dots sequence
(#564) Inline comments must end in full-stops, exclamation marks, or question marks
(#575) Inline comments must start with a capital letter, digit or 3-dots sequence
(#575) 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
(#609) Inline comments must start with a capital letter, digit or 3-dots sequence
(#609) Inline comments must end in full-stops, exclamation marks, or question marks
(#613) Inline comments must start with a capital letter, digit or 3-dots sequence
(#613) Inline comments must end in full-stops, exclamation marks, or question marks
(#618) Inline comments must start with a capital letter, digit or 3-dots sequence
(#618) Inline comments must end in full-stops, exclamation marks, or question marks
(#626) Inline comments must start with a capital letter, digit or 3-dots sequence
(#626) Inline comments must end in full-stops, exclamation marks, or question marks
(#667) Inline comments must start with a capital letter, digit or 3-dots sequence
(#667) Inline comments must end in full-stops, exclamation marks, or question marks
(#672) Inline comments must start with a capital letter, digit or 3-dots sequence
(#672) Inline comments must end in full-stops, exclamation marks, or question marks
(#680) Inline comments must start with a capital letter, digit or 3-dots sequence
(#680) Inline comments must end in full-stops, exclamation marks, or question marks
(#725) Inline comments must start with a capital letter, digit or 3-dots sequence
(#725) Inline comments must end in full-stops, exclamation marks, or question marks
(#727) Inline comments must end in full-stops, exclamation marks, or question marks
(#741) Inline comments must end in full-stops, exclamation marks, or question marks
(#757) 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
(#772) 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
(#845) Inline comments must start with a capital letter, digit or 3-dots sequence
(#845) Inline comments must end in full-stops, exclamation marks, or question marks
(#852) Inline comments must start with a capital letter, digit or 3-dots sequence
(#852) Inline comments must end in full-stops, exclamation marks, or question marks
(#914) Inline comments must start with a capital letter, digit or 3-dots sequence
(#914) Inline comments must end in full-stops, exclamation marks, or question marks
(#924) Inline comments must start with a capital letter, digit or 3-dots sequence
(#924) Inline comments must end in full-stops, exclamation marks, or question marks
(#931) Inline comments must start with a capital letter, digit or 3-dots sequence
(#932) Inline comments must end in full-stops, exclamation marks, or question marks
(#1003) Line exceeds 132 characters; contains 139 characters
(#1004) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1004) Inline comments must end in full-stops, exclamation marks, or question marks
(#1013) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1013) Inline comments must end in full-stops, exclamation marks, or question marks
(#1018) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1018) Inline comments must end in full-stops, exclamation marks, or question marks
(#1020) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1020) Inline comments must end in full-stops, exclamation marks, or question marks
(#1049) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1049) Inline comments must end in full-stops, exclamation marks, or question marks
(#1051) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1051) 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
(#1063) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1063) Inline comments must end in full-stops, exclamation marks, or question marks
(#1071) Inline comments must end in full-stops, exclamation marks, or question marks
(#1093) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1094) Inline comments must end in full-stops, exclamation marks, or question marks
(#1105) Inline comments must end in full-stops, exclamation marks, or question marks
(#1107) Inline comments must end in full-stops, exclamation marks, or question marks
(#1114) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1114) Inline comments must end in full-stops, exclamation marks, or question marks
(#1139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1139) Inline comments must end in full-stops, exclamation marks, or question marks
(#1153) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1153) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexsections/renderer.php
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) 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
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#165) Inline comments must start with a capital letter, digit or 3-dots sequence
(#165) 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
(#174) Expected 1 space before "+"; 0 found
(#174) Expected 1 space after "+"; 0 found
(#177) Expected 1 space before "+"; 0 found
(#177) Expected 1 space after "+"; 0 found
(#180) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#187) 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
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Line exceeds 132 characters; contains 140 characters
(#240) Line exceeds 132 characters; contains 140 characters
(#242) Line exceeds 132 characters; contains 141 characters
(#246) Inline comments must start with a capital letter, digit or 3-dots sequence
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Inline comments must start with a capital letter, digit or 3-dots sequence
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Inline comments must start with a capital letter, digit or 3-dots sequence
(#254) 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

(0 errors, 8 warnings)

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

course/format/flexsections/format.js
(#26) Missing semicolon.
(#45) Missing semicolon.
(#61) Expected '===' and instead saw '=='.
(#67) Missing semicolon.
(#88) Missing semicolon.
(#92) Missing semicolon.
(#56) 'sectionto' is defined but never used.
(#56) 'sectionfrom' is defined but never used.

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
(#1212) Function format_flexsections_edit_control::__construct is not documented
(#1209) Variable format_flexsections_edit_control::$url is not documented
(#1210) Variable format_flexsections_edit_control::$text is not documented
(#1211) Variable format_flexsections_edit_control::$class is not documented
(#17) No one-line description found in phpdocs for file
(#115) Phpdocs for function format_flexsections::find_collapsed_parent has incomplete parameters list
(#812) 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
(#199) 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]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]