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

(5 errors, 32 warnings)

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

report/roster/classes/privacy/provider.php
(#40) There must not be a space before the colon in a return type declaration
report/roster/db/access.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
report/roster/index.php
(#34) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#109) There should be a comma after the last array item in a multi-line array.
(#113) Short array syntax must be used to define arrays
report/roster/lang/en/report_roster.php
(#37) The string key "settings:displayname:default" is not in the correct order, it should be before "settings:displayname:description"
(#42) The string key "settings:fields:default" is not in the correct order, it should be before "settings:fields:description"
(#55) The string key "size:medium" is not in the correct order, it should be before "size:small"
(#56) The string key "size:large" is not in the correct order, it should be before "size:medium"
report/roster/lib.php
(#34) Short array syntax must be used to define arrays
report/roster/locallib.php
(#37) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
report/roster/settings.php
(#49) Short array syntax must be used to define arrays
report/roster/tests/behat/behat_report_roster.php
(#56) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
report/roster/tests/report_roster_test.php
(#42) Unit test report_roster_test should be declared as final.
(#43) Test method test_enrolled_user_fetch() is missing a return type
(#64) 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

(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]