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

(13 errors, 18 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.
filter/medial/filter.php
(#42) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) 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);"
(#91) Short array syntax must be used to define arrays
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) This comment is 47% valid code; is this commented out code?
(#121) Whitespace found at end of line
(#147) 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
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Expected 1 space before "+"; 0 found
(#159) Expected 1 space after "+"; 0 found
(#173) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#175) Expected 1 space before "+"; 0 found
(#175) Expected 1 space after "+"; 0 found
(#180) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#183) Expected 1 space before "+"; 0 found
(#183) Expected 1 space after "+"; 0 found
(#188) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#190) Expected 1 space before "+"; 0 found
(#190) Expected 1 space after "+"; 0 found
filter/medial/settings.php
(#31) Short array syntax must be used to define arrays
filter/medial/version.php
(#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

(6 errors, 0 warnings)

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

filter/medial/filter.php
(#34) Class filter_medial is not documented
(#23) Package filter is not valid
filter/medial/lang/en/filter_medial.php
(#20) Package filter is not valid
filter/medial/settings.php
(#17) No one-line description found in phpdocs for file
(#18) Package filter is not valid
filter/medial/version.php
(#20) Package filter is not valid

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]