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, 122 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
(#43) 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
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) 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
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Inline comments must start with a capital letter, digit or 3-dots sequence
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#412) Inline comments must start with a capital letter, digit or 3-dots sequence
(#412) Inline comments must end in full-stops, exclamation marks, or question marks
(#416) Inline comments must start with a capital letter, digit or 3-dots sequence
(#416) 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
(#437) Inline comments must start with a capital letter, digit or 3-dots sequence
(#437) Inline comments must end in full-stops, exclamation marks, or question marks
(#487) Inline comments must start with a capital letter, digit or 3-dots sequence
(#487) Inline comments must end in full-stops, exclamation marks, or question marks
(#495) Inline comments must start with a capital letter, digit or 3-dots sequence
(#495) Inline comments must end in full-stops, exclamation marks, or question marks
(#504) Inline comments must start with a capital letter, digit or 3-dots sequence
(#504) Inline comments must end in full-stops, exclamation marks, or question marks
(#513) Inline comments must start with a capital letter, digit or 3-dots sequence
(#513) Inline comments must end in full-stops, exclamation marks, or question marks
(#531) Inline comments must start with a capital letter, digit or 3-dots sequence
(#531) Inline comments must end in full-stops, exclamation marks, or question marks
(#535) Inline comments must start with a capital letter, digit or 3-dots sequence
(#535) Inline comments must end in full-stops, exclamation marks, or question marks
(#540) Inline comments must start with a capital letter, digit or 3-dots sequence
(#540) Inline comments must end in full-stops, exclamation marks, or question marks
(#548) Inline comments must start with a capital letter, digit or 3-dots sequence
(#548) Inline comments must end in full-stops, exclamation marks, or question marks
(#576) Inline comments must start with a capital letter, digit or 3-dots sequence
(#576) Inline comments must end in full-stops, exclamation marks, or question marks
(#581) Inline comments must start with a capital letter, digit or 3-dots sequence
(#581) 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
(#634) Inline comments must start with a capital letter, digit or 3-dots sequence
(#634) Inline comments must end in full-stops, exclamation marks, or question marks
(#636) Inline comments must end in full-stops, exclamation marks, or question marks
(#650) Inline comments must end in full-stops, exclamation marks, or question marks
(#666) Inline comments must end in full-stops, exclamation marks, or question marks
(#673) Inline comments must end in full-stops, exclamation marks, or question marks
(#681) Inline comments must end in full-stops, exclamation marks, or question marks
(#743) Inline comments must start with a capital letter, digit or 3-dots sequence
(#743) Inline comments must end in full-stops, exclamation marks, or question marks
(#750) Inline comments must start with a capital letter, digit or 3-dots sequence
(#750) Inline comments must end in full-stops, exclamation marks, or question marks
(#812) Inline comments must start with a capital letter, digit or 3-dots sequence
(#812) Inline comments must end in full-stops, exclamation marks, or question marks
(#822) Inline comments must start with a capital letter, digit or 3-dots sequence
(#822) Inline comments must end in full-stops, exclamation marks, or question marks
(#829) Inline comments must start with a capital letter, digit or 3-dots sequence
(#830) Inline comments must end in full-stops, exclamation marks, or question marks
(#901) Line exceeds 132 characters; contains 139 characters
(#902) Inline comments must start with a capital letter, digit or 3-dots sequence
(#902) Inline comments must end in full-stops, exclamation marks, or question marks
(#911) Inline comments must start with a capital letter, digit or 3-dots sequence
(#911) Inline comments must end in full-stops, exclamation marks, or question marks
(#916) Inline comments must start with a capital letter, digit or 3-dots sequence
(#916) Inline comments must end in full-stops, exclamation marks, or question marks
(#918) Inline comments must start with a capital letter, digit or 3-dots sequence
(#918) 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
(#949) Inline comments must start with a capital letter, digit or 3-dots sequence
(#949) Inline comments must end in full-stops, exclamation marks, or question marks
(#953) Inline comments must start with a capital letter, digit or 3-dots sequence
(#953) Inline comments must end in full-stops, exclamation marks, or question marks
(#961) Inline comments must start with a capital letter, digit or 3-dots sequence
(#961) Inline comments must end in full-stops, exclamation marks, or question marks
(#969) Inline comments must end in full-stops, exclamation marks, or question marks
(#991) Inline comments must start with a capital letter, digit or 3-dots sequence
(#992) Inline comments must end in full-stops, exclamation marks, or question marks
(#1003) Inline comments must end in full-stops, exclamation marks, or question marks
(#1005) Inline comments must end in full-stops, exclamation marks, or question marks
(#1012) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1012) Inline comments must end in full-stops, exclamation marks, or question marks
(#1037) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1037) 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
course/format/flexsections/renderer.php
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Inline comments must start with a capital letter, digit or 3-dots sequence
(#136) 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
(#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
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) 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
(#163) Expected 1 space before "+"; 0 found
(#163) Expected 1 space after "+"; 0 found
(#166) Expected 1 space before "+"; 0 found
(#166) Expected 1 space after "+"; 0 found
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Inline comments must start with a capital letter, digit or 3-dots sequence
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) Line exceeds 132 characters; contains 140 characters
(#229) Line exceeds 132 characters; contains 140 characters
(#231) Line exceeds 132 characters; contains 141 characters
(#235) Inline comments must start with a capital letter, digit or 3-dots sequence
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#239) Inline comments must start with a capital letter, digit or 3-dots sequence
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#243) 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, 6 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.
(#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

(8 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
(#1077) Function format_flexsections_edit_control::__construct is not documented
(#1074) Variable format_flexsections_edit_control::$url is not documented
(#1075) Variable format_flexsections_edit_control::$text is not documented
(#1076) Variable format_flexsections_edit_control::$class is not documented
(#17) No one-line description found in phpdocs for file
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

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]