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

(25 errors, 0 warnings)

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

payment/gateway/authorizedotnet/classes/authorizedotnet_helper.php
(#35) Opening brace must not be followed by a blank line
payment/gateway/authorizedotnet/classes/external/get_config_for_js.php
(#47) Opening brace must not be followed by a blank line
payment/gateway/authorizedotnet/classes/external/get_merchant_currency.php
(#47) Opening brace must not be followed by a blank line
payment/gateway/authorizedotnet/classes/external/process_payment.php
(#48) Opening brace must not be followed by a blank line
(#106) Opening parenthesis of a multi-line function call must be the last content on the line
(#106) Only one argument is allowed per line in a multi-line function call
(#106) Only one argument is allowed per line in a multi-line function call
(#107) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#107) Only one argument is allowed per line in a multi-line function call
(#107) Only one argument is allowed per line in a multi-line function call
(#107) Only one argument is allowed per line in a multi-line function call
(#107) Only one argument is allowed per line in a multi-line function call
(#107) Closing parenthesis of a multi-line function call must be on a line by itself
payment/gateway/authorizedotnet/classes/gateway.php
(#97) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#98) Multi-line function declaration not indented correctly; expected 8 spaces but found 49
(#98) Multi-line function declarations must define one parameter per line
(#98) Multi-line function declarations must define one parameter per line
(#98) The closing parenthesis of a multi-line function declaration must be on a new line
(#99) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#100) The closing parenthesis of a multi-line control structure must be on the line after the last expression
payment/gateway/authorizedotnet/classes/privacy/provider.php
(#39) Opening brace must not be followed by a blank line
payment/gateway/authorizedotnet/settings.php
(#28) Blank line found at start of control structure
(#30) Opening parenthesis of a multi-line function call must be the last content on the line
(#31) Only one argument is allowed per line in a multi-line function call
(#31) Closing parenthesis of a multi-line function call must be on a line by itself

Javascript coding style problems

(3 errors, 9 warnings)

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

payment/gateway/authorizedotnet/amd/src/gateways_modal.js
(#20) @package should be empty. (jsdoc/empty-tags)
(#42) 'description' is defined but never used. (no-unused-vars)
(#53) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#60) Avoid nesting promises. (promise/no-nesting)
(#60) Avoid nesting promises. (promise/no-nesting)
(#98) Expected catch,fail,always() or return (promise/catch-or-return)
(#98) Avoid nesting promises. (promise/no-nesting)
(#98) Avoid nesting promises. (promise/no-nesting)
(#109) Avoid wrapping return values in Promise.resolve (promise/no-return-wrap)
(#111) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#116) Expected throw instead of Promise.reject (promise/no-return-wrap)
payment/gateway/authorizedotnet/amd/src/repository.js
(#20) @package should be empty. (jsdoc/empty-tags)

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:amd" 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]