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

(16 errors, 4 warnings)

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

public/availability/condition/stash/classes/condition.php
(#41) Opening brace must not be followed by a blank line
(#140) Blank line found at end of control structure
(#147) Blank line found at end of control structure
(#154) Blank line found at end of control structure
(#157) Blank line found at end of control structure
(#254) Blank line found at start of control structure
(#264) Opening parenthesis of a multi-line function call must be the last content on the line
(#265) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#265) Closing parenthesis of a multi-line function call must be on a line by itself
(#266) Blank line found at end of control structure
(#274) The closing brace for the class must go on the next line after the body
public/availability/condition/stash/classes/frontend.php
(#36) Opening brace must not be followed by a blank line
(#47) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $cm.
(#47) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $section.
(#74) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $cm.
(#74) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $section.
(#84) Expected 1 space after FUNCTION keyword; 0 found
(#92) The closing brace for the class must go on the next line after the body
public/availability/condition/stash/classes/privacy/provider.php
(#36) Opening brace must not be followed by a blank line
(#38) The first trait import statement must be declared on the first non-comment line after the class opening brace

Javascript coding style problems

(0 errors, 1 warnings)

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

public/availability/condition/stash/yui/src/form/js/form.js
(#54) Identifier 'availability_stash' is not in camel case. (camelcase)

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, 0 warnings)

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

Problems running grunt shifter

shifter problems

(1 errors, 0 warnings)

This section shows problems detected by shifter [More info]

public/availability/condition/stash/yui/src/form/js/form.js
contains 6 lint errors

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]