Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(5 errors, 5 warnings)

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

question/format/printout/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) There must not be a space before the colon in a return type declaration
question/format/printout/format.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Invalid docblock tag "@inheritdoc".
(#44) No one-line description found in phpdocs for docblock of function provide_export
(#213) Expected 1 space after "="; 2 found
question/format/printout/lang/en/qformat_printout.php
(#26) The string key "notsupported" is not in the correct order, it should be before "pluginname"
question/format/printout/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Short array syntax must be used to define arrays
(#53) Logical operator "or" is prohibited; use "||" instead

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

(3 errors, 0 warnings)

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

question/format/printout/printout.css
(#2) Expected single space before "{" (block-opening-brace-space-before)
(#15) Expected indentation of 4 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(2 errors, 0 warnings)

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

question/format/printout/format.php
(#202) Phpdocs for function qformat_printout::presave_process has incomplete parameters list
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

(0 errors, 0 warnings)

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


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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]