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

(23 errors, 25 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
(#580) Long list syntax is not allowed
report/usercoursereports/classes/external/get_report_table.php
(#47) Opening brace must not be followed by a blank line
report/usercoursereports/classes/form/filter_courseusers.php
(#44) 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/form/singlesearch.php
(#42) Opening brace must not be followed by a blank line
report/usercoursereports/classes/local/usercoursereport_flextablelib.php
(#44) 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/tablereport.php
(#43) Opening brace must not be followed by a blank line
(#345) Expected 1 space after comma in argument list; 2 found
(#345) Expected 1 space between the comma and "'('". Found: 2 spaces
report/usercoursereports/classes/user_data_handler.php
(#42) Opening brace must not be followed by a blank line
(#168) Expected 1 space between the comma and "// ... Raw value". Found: 7 spaces
(#423) Long list syntax is not allowed
(#435) Long list syntax is not allowed
(#445) Blank line found at start of control structure
(#453) Long list syntax is not allowed
(#644) Long list syntax is not allowed
(#655) Long list syntax is not allowed
(#667) Long list syntax is not allowed
(#701) Long list syntax is not allowed
report/usercoursereports/classes/usercoursereports.php
(#44) Opening brace must not be followed by a blank line
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"
(#45) The string key "courses" is not in the correct order, it should be before "startdateto"
(#48) The string key "citycountry" is not in the correct order, it should be before "viewdetail"
(#50) The string key "selectcourses" is not in the correct order, it should be before "sn"
(#51) The string key "allcourses" is not in the correct order, it should be before "selectcourses"
(#52) The string key "allcountries" is not in the correct order, it should be before "allcourses"
(#59) The string key "filter" is not in the correct order, it should be before "userfilter"
(#61) The string key "authmethod" is not in the correct order, it should be before "perpage"
(#62) The string key "accountstatus" is not in the correct order, it should be before "authmethod"
(#66) The string key "accountsuspended_no" is not in the correct order, it should be before "accountsuspended_yes"
(#67) The string key "accountconfirmed" is not in the correct order, it should be before "accountsuspended_no"
(#70) The string key "accountconfirmed_no" is not in the correct order, it should be before "accountconfirmed_yes"
(#75) The string key "invalidcreatedfromdate" is not in the correct order, it should be before "invalidtypeparam"
(#79) The string key "invalidperpage" is not in the correct order, it should be before "invalidstartdateto"
(#80) The string key "currentlogin" is not in the correct order, it should be before "invalidperpage"
(#81) The string key "accountcreated" is not in the correct order, it should be before "currentlogin"
(#85) The string key "courseprogress" is not in the correct order, it should be before "enrolldate"
(#90) The string key "totalaccessparticipants" is not in the correct order, it should be before "totalparticipants"
(#92) The string key "totalcourseactivities" is not in the correct order, it should be before "totalcoursesections"
(#93) The string key "nogroupsdefined" is not in the correct order, it should be before "totalcourseactivities"
(#96) The string key "searchusers" is not in the correct order, it should be before "showless"

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]