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

(76 errors, 12 warnings)

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

theme/formfactor/config.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#44) Commas (,) must be followed by white space.
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Expected 1 space before "=>"; 0 found
(#120) Expected 1 space after "=>"; 0 found
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Expected 1 space before "=>"; 0 found
(#131) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Line exceeds 132 characters; contains 136 characters
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Line exceeds 132 characters; contains 133 characters
(#164) Expected 1 space before "=>"; 0 found
(#164) Expected 1 space after "=>"; 0 found
(#164) Expected 1 space before "=>"; 0 found
(#164) Expected 1 space after "=>"; 0 found
(#164) Expected 1 space before "=>"; 0 found
(#164) Expected 1 space after "=>"; 0 found
(#164) Expected 1 space before "=>"; 0 found
(#164) Expected 1 space after "=>"; 0 found
(#164) Expected 1 space before "=>"; 0 found
(#164) Expected 1 space after "=>"; 0 found
(#164) Line exceeds 132 characters; contains 134 characters
(#170) Expected 1 space before "=>"; 0 found
(#170) Expected 1 space after "=>"; 0 found
(#170) Expected 1 space before "=>"; 0 found
(#170) Expected 1 space after "=>"; 0 found
(#170) Expected 1 space before "=>"; 0 found
(#170) Expected 1 space after "=>"; 0 found
(#170) Expected 1 space before "=>"; 0 found
(#170) Expected 1 space after "=>"; 0 found
(#183) Expected 1 space before "=>"; 0 found
(#183) Expected 1 space after "=>"; 0 found
(#183) Expected 1 space before "=>"; 0 found
(#183) Expected 1 space after "=>"; 0 found
(#183) Expected 1 space before "=>"; 0 found
(#183) Expected 1 space after "=>"; 0 found
(#183) Expected 1 space before "=>"; 0 found
(#183) Expected 1 space after "=>"; 0 found
(#183) Expected 1 space before "=>"; 0 found
(#183) Expected 1 space after "=>"; 0 found
(#183) Line exceeds 132 characters; contains 137 characters
theme/formfactor/layout/embedded.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/formfactor/layout/frontpage.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/formfactor/layout/general.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#75) Line indented incorrectly; expected 20 spaces, found 24
(#77) Line indented incorrectly; expected 20 spaces, found 24
(#87) Line indented incorrectly; expected 8 spaces, found 6
(#89) Line indented incorrectly; expected 8 spaces, found 6
(#93) Line indented incorrectly; expected 8 spaces, found 6

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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]