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

(30 errors, 9 warnings)

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

question/format/printout/format.php
(#40) Line indented incorrectly; expected 0 spaces, found 1
(#48) Line indented incorrectly; expected 4 spaces, found 6
(#48) Closing brace indented incorrectly; expected 4 spaces, found 6
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Expected 1 space before "=="; 0 found
(#56) Expected 1 space after "=="; 0 found
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) No space found before comment text; expected "// remove <p> tags from answers since the default <p> tags mess up formatting for multiple choice answers" but found "//remove <p> tags from answers since the default <p> tags mess up formatting for multiple choice answers"
(#72) Line indented incorrectly; expected at least 24 spaces, found 22
(#74) Line indented incorrectly; expected at least 24 spaces, found 22
(#76) Line exceeds 132 characters; contains 133 characters
(#88) Line indented incorrectly; expected at least 24 spaces, found 22
(#90) Line indented incorrectly; expected at least 24 spaces, found 22
(#123) Line indented incorrectly; expected at least 20 spaces, found 18
(#123) Line exceeds 132 characters; contains 139 characters
(#124) Line indented incorrectly; expected at least 20 spaces, found 18
(#128) Line indented incorrectly; expected at least 20 spaces, found 18
(#135) Line indented incorrectly; expected at least 20 spaces, found 18
(#147) Line indented incorrectly; expected at least 20 spaces, found 18
(#148) Line indented incorrectly; expected 20 spaces, found 18
(#149) Line indented incorrectly; expected at least 24 spaces, found 22
(#150) Closing brace indented incorrectly; expected 18 spaces, found 20
(#151) Line indented incorrectly; expected at least 20 spaces, found 18
(#153) Line indented incorrectly; expected 20 spaces, found 18
(#154) Line indented incorrectly; expected at least 24 spaces, found 20
(#155) Line indented incorrectly; expected 20 spaces, found 18
(#157) Line indented incorrectly; expected at least 16 spaces, found 12
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) Line indented incorrectly; expected at least 12 spaces, found 10
(#163) Line indented incorrectly; expected at least 12 spaces, found 10
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Line indented incorrectly; expected at least 12 spaces, found 10
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) Expected 1 space after "="; 2 found
(#209) Closing brace indented incorrectly; expected 1 spaces, found 0

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(13 errors, 0 warnings)

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

question/format/printout/printout.css
(#3) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#38) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#38) Unexpected whitespace before ";" (declaration-block-semicolon-space-before)
(#16) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(7 errors, 0 warnings)

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

question/format/printout/format.php
(#40) Class qformat_printout is not documented
(#42) Function qformat_printout::provide_export is not documented
(#46) Function qformat_printout::writetitle is not documented
(#51) Function qformat_printout::writequestion is not documented
(#180) Function qformat_printout::presave_process is not documented
(#206) Function qformat_printout::export_file_extension is not documented
question/format/printout/lib.php
(#32) Phpdocs for function qformat_printout_question_preview_pluginfile 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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]