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
(#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
(#415) Inline comments must start with a capital letter, digit or 3-dots sequence
(#415) Inline comments must end in full-stops, exclamation marks, or question marks
(#419) Inline comments must start with a capital letter, digit or 3-dots sequence
(#419) Inline comments must end in full-stops, exclamation marks, or question marks
(#438) Inline comments must start with a capital letter, digit or 3-dots sequence
(#438) Inline comments must end in full-stops, exclamation marks, or question marks
(#440) Inline comments must start with a capital letter, digit or 3-dots sequence
(#440) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
(#502) Inline comments must start with a capital letter, digit or 3-dots sequence
(#502) Inline comments must end in full-stops, exclamation marks, or question marks
(#511) Inline comments must start with a capital letter, digit or 3-dots sequence
(#511) Inline comments must end in full-stops, exclamation marks, or question marks
(#520) Inline comments must start with a capital letter, digit or 3-dots sequence
(#520) Inline comments must end in full-stops, exclamation marks, or question marks
(#538) Inline comments must start with a capital letter, digit or 3-dots sequence
(#538) Inline comments must end in full-stops, exclamation marks, or question marks
(#542) Inline comments must start with a capital letter, digit or 3-dots sequence
(#542) 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
(#596) Inline comments must start with a capital letter, digit or 3-dots sequence
(#596) Inline comments must end in full-stops, exclamation marks, or question marks
(#601) Inline comments must start with a capital letter, digit or 3-dots sequence
(#601) 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
(#654) Inline comments must start with a capital letter, digit or 3-dots sequence
(#654) Inline comments must end in full-stops, exclamation marks, or question marks
(#656) Inline comments must end in full-stops, exclamation marks, or question marks
(#670) Inline comments must end in full-stops, exclamation marks, or question marks
(#686) Inline comments must end in full-stops, exclamation marks, or question marks
(#693) Inline comments must end in full-stops, exclamation marks, or question marks
(#701) Inline comments must end in full-stops, exclamation marks, or question marks
(#763) Inline comments must start with a capital letter, digit or 3-dots sequence
(#763) Inline comments must end in full-stops, exclamation marks, or question marks
(#770) Inline comments must start with a capital letter, digit or 3-dots sequence
(#770) Inline comments must end in full-stops, exclamation marks, or question marks
(#832) Inline comments must start with a capital letter, digit or 3-dots sequence
(#832) Inline comments must end in full-stops, exclamation marks, or question marks
(#842) Inline comments must start with a capital letter, digit or 3-dots sequence
(#842) Inline comments must end in full-stops, exclamation marks, or question marks
(#849) Inline comments must start with a capital letter, digit or 3-dots sequence
(#850) Inline comments must end in full-stops, exclamation marks, or question marks
(#921) Line exceeds 132 characters; contains 139 characters
(#922) Inline comments must start with a capital letter, digit or 3-dots sequence
(#922) 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
(#931) Inline comments must end in full-stops, exclamation marks, or question marks
(#936) Inline comments must start with a capital letter, digit or 3-dots sequence
(#936) Inline comments must end in full-stops, exclamation marks, or question marks
(#938) 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
(#967) Inline comments must start with a capital letter, digit or 3-dots sequence
(#967) Inline comments must end in full-stops, exclamation marks, or question marks
(#969) Inline comments must start with a capital letter, digit or 3-dots sequence
(#969) Inline comments must end in full-stops, exclamation marks, or question marks
(#973) Inline comments must start with a capital letter, digit or 3-dots sequence
(#973) Inline comments must end in full-stops, exclamation marks, or question marks
(#981) Inline comments must start with a capital letter, digit or 3-dots sequence
(#981) Inline comments must end in full-stops, exclamation marks, or question marks
(#989) Inline comments must end in full-stops, exclamation marks, or question marks
(#1011) 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
(#1023) Inline comments must end in full-stops, exclamation marks, or question marks
(#1025) Inline comments must end in full-stops, exclamation marks, or question marks
(#1032) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1032) 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
(#1071) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1071) 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, 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
(#1130) Function format_flexsections_edit_control::__construct is not documented
(#1127) Variable format_flexsections_edit_control::$url is not documented
(#1128) Variable format_flexsections_edit_control::$text is not documented
(#1129) 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]