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

(29 errors, 24 warnings)

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

public/local/hiderestrictions/lang/en/local_hiderestrictions.php
(#30) The string key "hiderestrictions" is not in the correct order, it should be before "pluginname"
(#32) The string key "restrictions" is not in the correct order, it should be before "showrestrictions"
(#33) The string key "hiderestrictions:toggle" is not in the correct order, it should be before "restrictions"
public/local/hiderestrictions/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Whitespace found at end of line
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Whitespace found at end of line
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#41) Whitespace found at end of line
(#42) Whitespace found at end of line
(#44) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#47) Whitespace found at end of line
(#52) Whitespace found at end of line
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Whitespace found at end of line
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Whitespace found at end of line
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) There should be a comma after the last array item in a multi-line array.
(#66) Whitespace found at end of line
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Whitespace found at end of line
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Whitespace found at end of line
(#82) Whitespace found at end of line
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Whitespace found at end of line
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Whitespace found at end of line
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Whitespace found at end of line
(#151) Whitespace found at end of line
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) Whitespace found at end of line
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Whitespace found at end of line
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Whitespace found at end of line
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) There should be a comma after the last array item in a multi-line array.
(#170) Whitespace found at end of line
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#179) Whitespace found at end of line
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) Whitespace found at end of line
public/local/hiderestrictions/toggle.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file toggle.php
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
public/local/hiderestrictions/version.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks

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

(1 errors, 0 warnings)

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

public/local/hiderestrictions/lib.php
(#146) Phpdocs for function local_hiderestrictions_extend_navigation_course 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]