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

(50 errors, 29 warnings)

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

public/local/category_reset/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Opening brace must not be followed by a blank line
public/local/category_reset/lang/en/local_category_reset.php
(#29) The string key "category_reset:reset" is not in the correct order, it should be before "privacy:metadata"
(#34) The string key "resetwarning_grades" is not in the correct order, it should be before "resetwarning_students"
(#39) The string key "resetwarning_date" is not in the correct order, it should be before "resetwarning_keep_groups"
(#41) The string key "coursestobereset" is not in the correct order, it should be before "selectstartdate"
(#43) The string key "reseterror" is not in the correct order, it should be before "resetsuccess"
(#44) The string key "nocourses" is not in the correct order, it should be before "reseterror"
(#45) The string key "coursesfound" is not in the correct order, it should be before "nocourses"
(#52) The string key "deletedgroups" is not in the correct order, it should be before "processingreset"
(#56) The string key "errors" is not in the correct order, it should be before "successfullyreset"
public/local/category_reset/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Whitespace found at end of line
(#46) Whitespace found at end of line
public/local/category_reset/reset.php
(#53) Whitespace found at end of line
(#55) Whitespace found at end of line
(#59) Whitespace found at end of line
(#60) Long list syntax is not allowed
(#66) Whitespace found at end of line
(#78) Whitespace found at end of line
(#109) Blank line found at start of control structure
(#110) Whitespace found at end of line
(#112) Whitespace found at end of line
(#115) Whitespace found at end of line
(#121) Whitespace found at end of line
(#125) Whitespace found at end of line
(#129) Whitespace found at end of line
(#132) Whitespace found at end of line
(#143) Whitespace found at end of line
(#150) Whitespace found at end of line
(#153) Whitespace found at end of line
(#172) Whitespace found at end of line
(#175) Whitespace found at end of line
(#179) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) This comment is 48% valid code; is this commented out code?
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Whitespace found at end of line
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) This comment is 75% valid code; is this commented out code?
(#187) Whitespace found at end of line
(#190) Inline comments must start with a capital letter, digit or 3-dots sequence
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) This comment is 75% valid code; is this commented out code?
(#192) Empty ELSE statement detected
(#192) Blank line found at start of control structure
(#195) Inline comments must start with a capital letter, digit or 3-dots sequence
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) This comment is 75% valid code; is this commented out code?
(#197) Inline comments must start with a capital letter, digit or 3-dots sequence
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) This comment is 75% valid code; is this commented out code?
(#202) Whitespace found at end of line
(#204) Blank line found at end of control structure
(#204) Whitespace found at end of line
(#209) Whitespace found at end of line
(#212) Whitespace found at end of line
(#219) Line exceeds 132 characters; contains 145 characters
(#221) Whitespace found at end of line
(#232) Line exceeds 132 characters; contains 136 characters
public/local/category_reset/reset_form.php
(#32) Opening brace must not be followed by a blank line
(#39) Whitespace found at end of line
(#44) Whitespace found at end of line
(#48) Whitespace found at end of line
(#56) Whitespace found at end of line
(#60) Whitespace found at end of line
(#73) Whitespace found at end of line
(#75) Whitespace found at end of line
(#87) Whitespace found at end of line
(#89) Whitespace found at end of line
(#93) Whitespace found at end of line
public/local/category_reset/settings.php
(#28) Opening parenthesis of a multi-line function call must be the last content on the line
(#28) Whitespace found at end of line
(#29) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#29) Closing parenthesis of a multi-line function call must be on a line by itself
(#30) Whitespace found at end of line
(#39) Whitespace found at end of line
(#48) Whitespace found at end of line
public/local/category_reset/version.php
(#28) This comment is 42% valid code; is this commented out code?

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]