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

(12 errors, 13 warnings)

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

blocks/mycertificates/block_mycertificates.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
blocks/mycertificates/classes/output/block.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#73) There should be a comma after the last array item in a multi-line array.
blocks/mycertificates/classes/output/renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/mycertificates/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) There must not be a space before the colon in a return type declaration
blocks/mycertificates/classes/util/certificates.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#133) There should be a comma after the last array item in a multi-line array.
(#192) There should be a comma after the last array item in a multi-line array.
(#281) There should be a comma after the last array item in a multi-line array.
blocks/mycertificates/db/access.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#32) There should be a comma after the last array item in a multi-line array.
(#35) There should be a comma after the last array item in a multi-line array.
(#37) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#43) There should be a comma after the last array item in a multi-line array.
(#46) There should be a comma after the last array item in a multi-line array.
blocks/mycertificates/lang/en/block_mycertificates.php
(#26) The string key "mycertificates:addinstance" is not in the correct order, it should be before "pluginname"
(#29) Unexpected string end, it should be a line feed after a semicolon
(#29) File must end with a newline character
blocks/mycertificates/lang/pt_br/block_mycertificates.php
(#26) The string key "mycertificates:addinstance" is not in the correct order, it should be before "pluginname"

Javascript coding style problems

(0 errors, 0 warnings)

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


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

(0 errors, 0 warnings)

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


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]