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

(17 errors, 20 warnings)

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

report/usercoursereports/classes/course_data_handler.php
(#41) Opening brace must not be followed by a blank line
(#240) Parentheses must be used when instantiating a new class
(#426) Long list syntax is not allowed
(#543) Long list syntax is not allowed
(#696) The closing brace for the class must go on the next line after the body
report/usercoursereports/classes/external/get_report_table.php
(#45) Opening brace must not be followed by a blank line
report/usercoursereports/classes/form/filter_form.php
(#42) Opening brace must not be followed by a blank line
report/usercoursereports/classes/privacy/provider.php
(#34) Opening brace must not be followed by a blank line
report/usercoursereports/classes/user_data_handler.php
(#42) Opening brace must not be followed by a blank line
(#188) Expected 1 space between the comma and "// ... Raw value". Found: 7 spaces
(#407) Long list syntax is not allowed
(#419) Long list syntax is not allowed
(#429) Blank line found at start of control structure
(#437) Long list syntax is not allowed
report/usercoursereports/classes/usercoursereports.php
(#40) Opening brace must not be followed by a blank line
(#282) Expected 1 space after comma in argument list; 2 found
(#282) Expected 1 space between the comma and "'('". Found: 2 spaces
report/usercoursereports/lang/en/report_usercoursereports.php
(#34) The string key "coursereports" is not in the correct order, it should be before "userreports"
(#37) The string key "privacy:metadata" is not in the correct order, it should be before "usercoursereports:view"
(#38) The string key "courseformat" is not in the correct order, it should be before "privacy:metadata"
(#41) The string key "enrolledcourses" is not in the correct order, it should be before "enrolmentmethods"
(#42) The string key "createddate" is not in the correct order, it should be before "enrolledcourses"
(#44) The string key "courses" is not in the correct order, it should be before "startdateto"
(#47) The string key "citycountry" is not in the correct order, it should be before "viewdetail"
(#49) The string key "selectcourses" is not in the correct order, it should be before "sn"
(#50) The string key "allcourses" is not in the correct order, it should be before "selectcourses"
(#51) The string key "allcountries" is not in the correct order, it should be before "allcourses"
(#56) The string key "filter" is not in the correct order, it should be before "userfilter"
(#58) The string key "accountstatus" is not in the correct order, it should be before "perpage"
(#62) The string key "accountsuspended_no" is not in the correct order, it should be before "accountsuspended_yes"
(#63) The string key "accountconfirmed" is not in the correct order, it should be before "accountsuspended_no"
(#66) The string key "accountconfirmed_no" is not in the correct order, it should be before "accountconfirmed_yes"
(#71) The string key "invalidcreatedfromdate" is not in the correct order, it should be before "invalidtypeparam"
(#75) The string key "invalidperpage" is not in the correct order, it should be before "invalidstartdateto"
(#76) The string key "currentlogin" is not in the correct order, it should be before "invalidperpage"
(#77) The string key "accountcreated" is not in the correct order, it should be before "currentlogin"
(#81) The string key "courseprogress" is not in the correct order, it should be before "enrolldate"

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]