Prechecker results: error


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

(1 errors, 21 warnings)

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

local/remote_courses/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) Method name "_get_reason" should not be prefixed with an underscore to indicate visibility
local/remote_courses/db/services.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
local/remote_courses/externallib.php
(#50) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#148) There should be a comma after the last array item in a multi-line array.
(#151) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
local/remote_courses/tests/externallib_test.php
(#39) PHPUnit testcase name "local_remote_courses_testcase" does not match file name "externallib_test"
(#39) PHPUnit class "local_remote_courses_testcase" does not have any namespace. It is recommended to add it to the "local_remote_courses" namespace, using more levels if needed, in order to match the code being tested
(#40) Test method test_get_courses() is missing any coverage information, own or at class level
(#83) Short array syntax must be used to define arrays
(#100) 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]