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

(124 errors, 9 warnings)

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

local/deletecourse/classes/form/delete_courses_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
(#29) Missing docblock for class delete_courses_form
(#30) Missing docblock for function definition
(#42) No space found after comma in argument list
(#42) Commas (,) must be followed by white space.
(#42) Expected 1 space between the comma and "20". Found: no spaces
local/deletecourse/classes/manager.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for class manager
(#29) Missing docblock for function delete_selected_courses
local/deletecourse/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Opening brace must not be followed by a blank line
local/deletecourse/classes/task/delete_old_courses_task.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
(#30) Missing docblock for class delete_old_courses_task
(#30) Opening brace must not be followed by a blank line
(#32) Missing docblock for function get_name
(#36) Missing docblock for function execute
(#38) Whitespace found at end of line
(#43) Whitespace found at end of line
(#48) Whitespace found at end of line
(#49) Whitespace found at end of line within string
(#50) Whitespace found at end of line within string
(#54) Whitespace found at end of line
(#59) Whitespace found at end of line
(#64) Whitespace found at end of line
(#74) Whitespace found at end of line
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Line exceeds maximum limit of 180 characters; contains 189 characters
(#82) Whitespace found at end of line
(#83) Whitespace found at end of line
(#84) The closing brace for the class must go on the next line after the body
local/deletecourse/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
(#32) There should be a comma after the last array item in a multi-line array.
local/deletecourse/db/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
local/deletecourse/db/tasks.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
(#35) There should be a comma after the last array item in a multi-line array.
(#36) There should be a comma after the last array item in a multi-line array.
local/deletecourse/index.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Variable "courseid_array" must not contain underscores.
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Variable "merged_courseids" must not contain underscores.
(#44) Variable "courseid_array" must not contain underscores.
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Variable "merged_courseids" must not contain underscores.
(#47) Variable "merged_courseids" must not contain underscores.
(#49) Variable "merged_courseids" must not contain underscores.
(#51) Variable "merged_courseids" must not contain underscores.
local/deletecourse/lang/en/local_deletecourse.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
(#24) Unexpected string end, it should be a line feed after a semicolon
(#25) Unexpected string end, it should be a line feed after a semicolon
(#26) Unexpected string end, it should be a line feed after a semicolon
(#27) Unexpected string end, it should be a line feed after a semicolon
(#28) Unexpected string end, it should be a line feed after a semicolon
(#29) Unexpected string end, it should be a line feed after a semicolon
(#30) Unexpected string end, it should be a line feed after a semicolon
(#31) Unexpected string end, it should be a line feed after a semicolon
(#32) Unexpected string end, it should be a line feed after a semicolon
(#33) Unexpected string end, it should be a line feed after a semicolon
(#34) Unexpected string end, it should be a line feed after a semicolon
(#35) Unexpected string end, it should be a line feed after a semicolon
(#36) Unexpected string end, it should be a line feed after a semicolon
(#37) Unexpected string end, it should be a line feed after a semicolon
(#38) Unexpected string end, it should be a line feed after a semicolon
(#39) Unexpected string end, it should be a line feed after a semicolon
(#40) Unexpected string end, it should be a line feed after a semicolon
(#41) Unexpected string end, it should be a line feed after a semicolon
(#42) Unexpected string end, it should be a line feed after a semicolon
(#43) Unexpected string end, it should be a line feed after a semicolon
(#44) Unexpected string end, it should be a line feed after a semicolon
(#46) Unexpected comment found. Auto-fixing will not work after this comment
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) No space found before comment text; expected "// Privacy Api" but found "//Privacy Api"
(#46) Whitespace found at end of line
(#47) Unexpected string end, it should be a line feed after a semicolon
local/deletecourse/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
(#26) Line indented incorrectly; expected 0 spaces, found 1
(#29) Whitespace found at end of line
(#32) Whitespace found at end of line
(#39) Whitespace found at end of line
(#47) Whitespace found at end of line
(#54) Whitespace found at end of line
(#62) Whitespace found at end of line
(#65) Whitespace found at end of line
(#73) Line indented incorrectly; expected 0 spaces, found 1
(#74) Expected 1 newline at end of file; 0 found
(#74) Whitespace found at end of line
local/deletecourse/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @copyright tag
(#28) 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 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]