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

(15 errors, 13 warnings)

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

webservice/restjson/db/access.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
webservice/restjson/locallib.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#67) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#76) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) No space found before comment text; expected "// Check that the returned values are valid" but found "//Check that the returned values are valid"
(#147) Expected 1 space after "="; 2 found
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) No space found before comment text; expected "// We can now convert the response to the requested REST format" but found "//We can now convert the response to the requested REST format"
(#237) Inline comments must start with a capital letter, digit or 3-dots sequence
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#258) Expected 1 space before "=>"; 0 found
(#258) Expected 1 space after "=>"; 0 found
(#258) Expected 1 space before "=>"; 0 found
(#258) Expected 1 space after "=>"; 0 found
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#287) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#288) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#295) Inline comments must end in full-stops, exclamation marks, or question marks
webservice/restjson/server.php
(#33) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
webservice/restjson/simpleserver.php
(#33) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) No space found before comment text; expected "// remove the alt from the request" but found "//remove the alt from the request"
webservice/restjson/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [More info]


PHPDocs style problems

(5 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

webservice/restjson/db/access.php
(#21) Package webservice_rest is not valid
webservice/restjson/lang/en/webservice_restjson.php
(#21) Package webservice_rest is not valid
webservice/restjson/locallib.php
(#43) Phpdocs for function webservice_restjson_server::__construct has incomplete parameters list
(#31) Package webservice_rest is not valid
webservice/restjson/simpleserver.php
(#21) Package webservice_rest is not valid

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]