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

(6 errors, 12 warnings)

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

blocks/lpprogress/block_lpprogress.php
(#74) There should be a comma after the last array item in a multi-line array.
(#101) Short array syntax must be used to define arrays
blocks/lpprogress/classes/output/lpprogress.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
blocks/lpprogress/classes/output/renderer.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/lpprogress/db/access.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#33) There should be a comma after the last array item in a multi-line array.
(#36) There should be a comma after the last array item in a multi-line array.
(#40) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#47) There should be a comma after the last array item in a multi-line array.
(#48) There should be a comma after the last array item in a multi-line array.

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

(3 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]

blocks/lpprogress/styles.css
(#70) Unexpected whitespace before ";" (declaration-block-semicolon-space-before)
(#69) Expected indentation of 4 spaces (indentation)
(#70) Expected indentation of 4 spaces (indentation)

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 "stylelint:css" 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]

blocks/lpprogress/templates/lpprogress.mustache
(#1) HTML Validation error, line 18: Duplicate ID “competencyDescription1”. ( <div class="collapse" id="competencyDescription1"> )
(#1) HTML Validation info, line 11: The first occurrence of ID “competencyDescription1” was here. ( <div class="collapse" id="competencyDescription1"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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