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

(15 errors, 9 warnings)

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

payment/gateway/mollie/classes/external.php
(#119) There should be a comma after the last array item in a multi-line array.
(#150) There should be a comma after the last array item in a multi-line array.
(#168) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $paymentmethodid.
(#168) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $bankid.
(#207) There should be a comma after the last array item in a multi-line array.
(#215) There should be a comma after the last array item in a multi-line array.
(#224) There should be a comma after the last array item in a multi-line array.
(#231) There should be a comma after the last array item in a multi-line array.
(#232) There should be a comma after the last array item in a multi-line array.
payment/gateway/mollie/classes/gateway.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#53) There should be a comma after the last array item in a multi-line array.
payment/gateway/mollie/classes/mollie_helper.php
(#93) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $transaction.
(#94) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $transactionrecord.
(#242) There should be a comma after the last array item in a multi-line array.
payment/gateway/mollie/classes/privacy/provider.php
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#65) There must not be a space before the colon in a return type declaration
(#88) There should be a comma after the last array item in a multi-line array.
(#132) Short array syntax must be used to define arrays
(#144) There should be a comma after the last array item in a multi-line array.
payment/gateway/mollie/db/install.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
payment/gateway/mollie/db/upgrade.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
payment/gateway/mollie/pay.php
(#47) There should be a comma after the last array item in a multi-line array.
(#80) There should be a comma after the last array item in a multi-line array.
payment/gateway/mollie/return.php
(#41) There should be a comma after the last array item in a multi-line array.

Javascript coding style problems

(2 errors, 4 warnings)

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

payment/gateway/mollie/amd/src/repository.js
(#20) @package should be empty. (jsdoc/empty-tags)
payment/gateway/mollie/amd/src/startpayment.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#64) Expected catch,fail,always() or return (promise/catch-or-return)
(#64) Avoid nesting promises. (promise/no-nesting)
(#67) Each then() should return a value or throw (promise/always-return)
(#71) Avoid wrapping return values in Promise.resolve (promise/no-return-wrap)

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

This section shows problems detected in mustache templates [More info]

payment/gateway/mollie/templates/mollie_startpayment.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]