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

(4 errors, 24 warnings)

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

admin/tool/cohortdatabase/classes/privacy/provider.php
(#43) There must not be a space before the colon in a return type declaration
admin/tool/cohortdatabase/classes/sync.php
(#130) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
(#223) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#237) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#549) Short array syntax must be used to define arrays
(#578) Short array syntax must be used to define arrays
(#578) Short array syntax must be used to define arrays
(#628) Short array syntax must be used to define arrays
admin/tool/cohortdatabase/classes/task/sync.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
admin/tool/cohortdatabase/cli/sync.php
(#35) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
admin/tool/cohortdatabase/db/access.php
(#28) Short array syntax must be used to define arrays
admin/tool/cohortdatabase/db/tasks.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#32) There should be a comma after the last array item in a multi-line array.
admin/tool/cohortdatabase/settings.php
(#40) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays

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]