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

(36 errors, 10 warnings)

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

public/availability/condition/percentage/classes/condition.php
(#41) Opening brace must not be followed by a blank line
(#64) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#64) Whitespace found at end of line
(#65) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#118) Whitespace found at end of line
(#120) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#120) Whitespace found at end of line
(#121) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#149) Whitespace found at end of line
(#156) Whitespace found at end of line
(#159) Whitespace found at end of line
(#167) Whitespace found at end of line
(#170) Whitespace found at end of line
(#172) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#174) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#201) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#201) Whitespace found at end of line
(#202) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#210) There should be a comma after the last array item in a multi-line array.
(#246) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#246) Opening parenthesis of a multi-line function call must be the last content on the line
(#247) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#247) Closing parenthesis of a multi-line function call must be on a line by itself
(#247) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#252) Opening parenthesis of a multi-line function call must be the last content on the line
(#254) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#254) Closing parenthesis of a multi-line function call must be on a line by itself
public/availability/condition/percentage/classes/frontend.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#64) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#64) Multi-line function declarations must define one parameter per line
(#65) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#65) The closing parenthesis of a multi-line function declaration must be on a new line
(#97) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#97) Multi-line function declarations must define one parameter per line
(#98) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#98) The closing parenthesis of a multi-line function declaration must be on a new line
public/availability/condition/percentage/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/availability/condition/percentage/lang/en/availability_percentage.php
(#27) The string key "description" is not in the correct order, it should be before "title"
(#32) The string key "error_selectcmid" is not in the correct order, it should be before "label_percentage"
(#33) The string key "error_percentage" is not in the correct order, it should be before "error_selectcmid"
(#40) The string key "privacy:metadata" is not in the correct order, it should be before "requires_notcomplete"
public/availability/condition/percentage/lang/es/availability_percentage.php
(#27) The string key "description" is not in the correct order, it should be before "title"
(#32) The string key "error_selectcmid" is not in the correct order, it should be before "label_percentage"
(#33) The string key "error_percentage" is not in the correct order, it should be before "error_selectcmid"
(#40) The string key "privacy:metadata" is not in the correct order, it should be before "requires_notcomplete"

Javascript coding style problems

(4 errors, 1 warnings)

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

public/availability/condition/percentage/yui/src/form/js/form.js
(#6) Identifier 'availability_percentage' is not in camel case. (camelcase)
(#38) Trailing spaces not allowed. (no-trailing-spaces)
(#44) Trailing spaces not allowed. (no-trailing-spaces)
(#53) Trailing spaces not allowed. (no-trailing-spaces)
(#106) Trailing spaces not allowed. (no-trailing-spaces)

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

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:yui" failed. Use --force to continue.

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]