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, 23 warnings)

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

filter/ws/classes/privacy/provider.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) There must not be a space before the colon in a return type declaration
filter/ws/classes/text_filter.php
(#59) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
filter/ws/filter.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file filter.php
(#38) File must end with a newline character
filter/ws/tests/filter_test.php
(#49) Testcase filter_ws_testcase should be declared as abstract.
(#49) PHPUnit testcase name "filter_ws_testcase" does not match file name "filter_test"
(#49) PHPUnit class "filter_ws_testcase" does not have any namespace. It is recommended to add it to the "filter_ws" namespace, using more levels if needed, in order to match the code being tested
(#61) The setUp() method in unit tests must always call to parent::setUp().
(#64) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#73) Test method test_request_source() is missing any coverage information, own or at class level
(#73) Test method test_request_source() is missing a return type
(#75) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#142) Test method test_user_agent() is missing any coverage information, own or at class level
(#142) Test method test_user_agent() is missing a return type

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]