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

(65 errors, 14 warnings)

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

local/webcourse/classes/form/fetch_form.php
(#1) Moodle boilerplate not found
(#7) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#9) Missing @copyright tag
(#9) Missing @license tag
(#9) Missing docblock for class fetch_form
(#10) Missing docblock for function definition
(#19) File must end with a newline character
local/webcourse/db/access.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file access.php
(#1) Moodle boilerplate not found
local/webcourse/index.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file index.php
(#1) Moodle boilerplate not found
(#24) Variable "course_id" must not contain underscores.
(#25) Variable "course_id" must not contain underscores.
(#28) Variable "course_data" must not contain underscores.
(#30) Variable "course_data" must not contain underscores.
(#30) Variable "course_data" must not contain underscores.
(#33) Variable "course_data" must not contain underscores.
(#34) Variable "course_data" must not contain underscores.
(#34) Line exceeds 132 characters; contains 133 characters
(#36) Variable "course_data" must not contain underscores.
(#36) Variable "course_data" must not contain underscores.
(#38) Variable "confirm_url" must not contain underscores.
(#40) Variable "course_data" must not contain underscores.
(#41) Variable "course_id" must not contain underscores.
(#42) There should be a comma after the last array item in a multi-line array.
(#44) Variable "confirm_url" must not contain underscores.
(#44) Line exceeds 132 characters; contains 148 characters
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Variable "not_found_users" must not contain underscores.
(#73) Variable "not_found_users" must not contain underscores.
(#74) Variable "count_not_found" must not contain underscores.
(#74) Variable "not_found_users" must not contain underscores.
(#75) Variable "count_not_found" must not contain underscores.
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Variable "csv_data" must not contain underscores.
(#78) Variable "not_found_users" must not contain underscores.
(#79) Variable "csv_url" must not contain underscores.
(#82) There should be a comma after the last array item in a multi-line array.
(#82) Variable "csv_data" must not contain underscores.
(#88) Variable "csv_url" must not contain underscores.
(#104) Variable "not_found_users" must not contain underscores.
(#106) Variable "not_found_users" must not contain underscores.
(#107) Variable "not_found_users" must not contain underscores.
(#109) Line exceeds 132 characters; contains 156 characters
(#117) File must end with a newline character
local/webcourse/lang/en/local_webcourse.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file local_webcourse.php
(#1) Moodle boilerplate not found
(#3) The string key "enter_course_id" is not in the correct order, it should be before "pluginname"
(#5) The string key "course_name" is not in the correct order, it should be before "submit"
(#7) The string key "no_course_found" is not in the correct order, it should be before "participants_count"
(#8) The string key "confirmcreate" is not in the correct order, it should be before "no_course_found"
(#11) The string key "downloadcsv" is not in the correct order, it should be before "usersnotfound"
(#13) The string key "endpoint" is not in the correct order, it should be before "nocsvdata"
(#15) The string key "coursecreationerror" is not in the correct order, it should be before "endpoint_desc"
local/webcourse/lib.php
(#1) Missing docblock for file lib.php
(#1) Moodle boilerplate not found
(#2) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#8) Missing docblock for function create_course_custom
(#42) Variable "not_found_users" must not contain underscores.
(#46) Short array syntax must be used to define arrays
(#50) Variable "not_found_users" must not contain underscores.
(#52) There should be a comma after the last array item in a multi-line array.
(#58) Variable "not_found_users" must not contain underscores.
(#61) Missing docblock for function generate_csv
(#82) File must end with a newline character
local/webcourse/settings.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file settings.php
(#1) Moodle boilerplate not found
local/webcourse/version.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file version.php
(#1) Moodle boilerplate not found

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]