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

(47 errors, 4 warnings)

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

availability/condition/credit/classes/condition.php
(#35) Opening brace must not be followed by a blank line
(#148) Expected at least 1 space before "."; 0 found
(#148) Expected at least 1 space after "."; 0 found
(#148) Expected at least 1 space before "."; 0 found
(#148) Expected at least 1 space after "."; 0 found
(#148) Expected at least 1 space before "."; 0 found
(#148) Expected at least 1 space after "."; 0 found
(#153) Expected at least 1 space before "."; 0 found
(#153) Expected at least 1 space after "."; 0 found
(#153) Expected at least 1 space before "."; 0 found
(#153) Expected at least 1 space after "."; 0 found
(#153) Expected at least 1 space before "."; 0 found
(#153) Expected at least 1 space after "."; 0 found
availability/condition/credit/classes/frontend.php
(#32) Opening brace must not be followed by a blank line
(#51) 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.
(#51) 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.
(#65) 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.
(#65) 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.
availability/condition/credit/classes/privacy/provider.php
(#34) Opening brace must not be followed by a blank line
availability/condition/credit/view.php
(#91) Expected at least 1 space before "."; 0 found
(#91) Expected at least 1 space after "."; 0 found
(#91) Expected at least 1 space before "."; 0 found
(#91) Expected at least 1 space after "."; 0 found
(#92) Expected at least 1 space before "."; 0 found
(#92) Expected at least 1 space after "."; 0 found
(#92) Expected at least 1 space before "."; 0 found
(#92) Expected at least 1 space after "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#104) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#105) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#106) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#107) Closing parenthesis of a multi-line function call must be on a line by itself
(#112) Blank line found at start of control structure
(#116) Opening parenthesis of a multi-line function call must be the last content on the line
(#117) Closing parenthesis of a multi-line function call must be on a line by itself
(#120) Opening parenthesis of a multi-line function call must be the last content on the line
(#121) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#121) Closing parenthesis of a multi-line function call must be on a line by itself
(#129) Multi-line function call not indented correctly; expected 16 spaces but found 26
(#132) Multi-line function call not indented correctly; expected 16 spaces but found 38
(#132) Opening parenthesis of a multi-line function call must be the last content on the line
(#133) Closing parenthesis of a multi-line function call must be on a line by itself
(#134) Multi-line function call not indented correctly; expected 12 spaces but found 38
(#134) Closing parenthesis of a multi-line function call must be on a line by itself

Javascript coding style problems

(0 errors, 8 warnings)

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

availability/condition/credit/yui/src/form/js/form.js
(#6) Identifier 'availability_credit' is not in camel case. (camelcase)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Identifier 'selected_string' is not in camel case. (camelcase)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#59) Unexpected space before function parentheses. (space-before-function-paren)
(#77) Unexpected space before function parentheses. (space-before-function-paren)
(#91) Unexpected space before function parentheses. (space-before-function-paren)

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]

availability/condition/credit/yui/src/form/js/form.js
contains 1 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]