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

(24 errors, 19 warnings)

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

filter/medial/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
filter/medial/classes/text_filter.php
(#23) Incorrect @package tag for file text_filter.php. Expected filter_medial, found filter.
(#35) Missing docblock for class text_filter
(#43) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) No space found before comment text; expected "// $processing = preg_split('/(<\/?(?:span|script)[^>]*>)/is', $text, 0, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);" but found "//$processing = preg_split('/(<\/?(?:span|script)[^>]*>)/is', $text, 0, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);"
(#92) Short array syntax must be used to define arrays
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) This comment is 47% valid code; is this commented out code?
(#122) Whitespace found at end of line
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Expected 1 space before "+"; 0 found
(#151) Expected 1 space after "+"; 0 found
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Expected 1 space before "+"; 0 found
(#160) Expected 1 space after "+"; 0 found
(#174) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
(#176) Expected 1 space before "+"; 0 found
(#176) Expected 1 space after "+"; 0 found
(#181) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
(#184) Expected 1 space before "+"; 0 found
(#184) Expected 1 space after "+"; 0 found
(#189) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#191) Expected 1 space before "+"; 0 found
(#191) Expected 1 space after "+"; 0 found
filter/medial/filter.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file filter.php
(#2) Moodle boilerplate not found at first line
filter/medial/lang/en/filter_medial.php
(#20) Incorrect @package tag for file filter_medial.php. Expected filter_medial, found filter.
(#31) The string key "privacy:metadata" is not in the correct order, it should be before "settingformats_desc"
filter/medial/settings.php
(#1) No one-line description found in phpdocs for docblock of file settings.php
(#18) Incorrect @package tag for file settings.php. Expected filter_medial, found filter.
(#31) Short array syntax must be used to define arrays
filter/medial/version.php
(#20) Incorrect @package tag for file version.php. Expected filter_medial, found filter.
(#36) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.

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

(0 errors, 0 warnings)

This section shows CSS problems detected by stylelint [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]


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]