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

(26 errors, 49 warnings)

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

local/contactlist/classes/form/contactlist_form.php
(#54) 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.
local/contactlist/classes/privacy/provider.php
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Opening brace should be on the same line as the declaration for class provider
(#59) There must not be a space before the colon in a return type declaration
(#87) There must not be a space before the colon in a return type declaration
(#232) File must end with a newline character
local/contactlist/contactlist_table.php
(#110) Short array syntax must be used to define arrays
(#156) Line exceeds 132 characters; contains 138 characters
local/contactlist/db/access.php
(#28) 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
(#37) There should be a comma after the last array item in a multi-line array.
(#38) There should be a comma after the last array item in a multi-line array.
(#39) There should be a comma after the last array item in a multi-line array.
(#40) File must end with a newline character
local/contactlist/db/install.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#98) File must end with a newline character
local/contactlist/db/services.php
(#26) Short array syntax must be used to define arrays
(#27) Short array syntax must be used to define arrays
(#28) 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) Short array syntax must be used to define arrays
(#37) 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.
(#45) There should be a comma after the last array item in a multi-line array.
local/contactlist/db/uninstall.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#66) File must end with a newline character
local/contactlist/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#54) Short array syntax must be used to define arrays
(#63) File must end with a newline character
local/contactlist/externallib.php
(#45) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#64) Short array syntax must be used to define arrays
local/contactlist/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#47) There should be a comma after the last array item in a multi-line array.
(#63) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#103) There should be a comma after the last array item in a multi-line array.
(#116) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
local/contactlist/locallib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#116) There should be a comma after the last array item in a multi-line array.
(#133) Short array syntax must be used to define arrays
(#133) Line exceeds 132 characters; contains 143 characters
(#136) Short array syntax must be used to define arrays
(#140) There should be a comma after the last array item in a multi-line array.
(#212) Short array syntax must be used to define arrays
local/contactlist/studentview.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file studentview.php
(#39) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#126) File must end with a newline character
local/contactlist/tests/behat/behat_local_contactlist.php
(#43) There must not be a space before the colon in a return type declaration
local/contactlist/tests/privacy/provider_test.php
(#169) File must end with a newline character

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]