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

(161 errors, 21 warnings)

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

local/resume/classes/local_resume.php
(#1) Moodle boilerplate not found
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#4) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#6) Missing @copyright tag
(#6) Missing @license tag
(#6) Missing docblock for class local_resume
(#6) Opening brace must not be followed by a blank line
(#8) Inline comments must end in full-stops, exclamation marks, or question marks
(#9) Missing docblock for function get_first_activity_url
(#11) Expected at least 1 space before "."; 0 found
(#11) Expected at least 1 space after "."; 0 found
(#18) Inline control structures are not allowed
(#25) Inline control structures are not allowed
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Missing docblock for function has_visible_activities
(#37) Inline control structures are not allowed
(#40) Inline control structures are not allowed
(#41) Inline control structures are not allowed
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Missing docblock for function get_last_accessed_activity_url
(#51) Whitespace found at end of line within string
(#52) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#54) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Missing docblock for function get_last_accessed_activity_url_in_section
(#76) Inline control structures are not allowed
(#79) Inline control structures are not allowed
(#81) Long list syntax is not allowed
(#83) Whitespace found at end of line within string
(#84) Whitespace found at end of line within string
(#85) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Missing docblock for function all_complete
(#107) Expected at least 1 space before "."; 0 found
(#107) Expected at least 1 space after "."; 0 found
(#112) Inline control structures are not allowed
(#140) Expected 1 newline at end of file; 0 found
local/resume/lang/en/local_resume.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file local_resume.php
(#1) Moodle boilerplate not found
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Unexpected string end, it should be a line feed after a semicolon
(#3) Unexpected string end, it should be a line feed after a semicolon
(#4) Unexpected string end, it should be a line feed after a semicolon
(#5) Unexpected string end, it should be a line feed after a semicolon
(#6) Unexpected string end, it should be a line feed after a semicolon
(#7) Unexpected string end, it should be a line feed after a semicolon
(#8) Unexpected string end, it should be a line feed after a semicolon
(#9) Unexpected string end, it should be a line feed after a semicolon
(#10) Unexpected string end, it should be a line feed after a semicolon
(#11) Unexpected string end, it should be a line feed after a semicolon
(#12) Unexpected string end, it should be a line feed after a semicolon
(#13) Unexpected string end, it should be a line feed after a semicolon
(#14) Unexpected string end, it should be a line feed after a semicolon
(#15) Unexpected string end, it should be a line feed after a semicolon
(#16) Unexpected string end, it should be a line feed after a semicolon
(#17) Unexpected string end, it should be a line feed after a semicolon
(#18) Unexpected string end, it should be a line feed after a semicolon
(#19) Unexpected string end, it should be a line feed after a semicolon
(#20) Unexpected string end, it should be a line feed after a semicolon
(#21) Unexpected string end, it should be a line feed after a semicolon
(#21) Expected 1 newline at end of file; 0 found
local/resume/lib.php
(#1) Missing docblock for file lib.php
(#1) Moodle boilerplate not found
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#5) Missing docblock for function local_resume_before_footer
(#16) There should be a comma after the last array item in a multi-line array.
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Missing docblock for function local_resume_extend_navigation_course
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Missing docblock for function local_resume_render_resume_button
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Usage of ELSEIF not allowed; use ELSE IF instead
(#83) Usage of ELSEIF not allowed; use ELSE IF instead
(#92) Inline control structures are not allowed
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) There should be a comma after the last array item in a multi-line array.
(#99) There should be a comma after the last array item in a multi-line array.
(#102) There should be a comma after the last array item in a multi-line array.
(#106) There should be a comma after the last array item in a multi-line array.
(#110) There should be a comma after the last array item in a multi-line array.
(#116) There should be a comma after the last array item in a multi-line array.
local/resume/resume.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file resume.php
(#1) Moodle boilerplate not found
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Expected at least 1 space before "."; 0 found
(#2) Expected at least 1 space after "."; 0 found
(#8) Inline comments must start with a capital letter, digit or 3-dots sequence
(#8) Inline comments must end in full-stops, exclamation marks, or question marks
(#9) Inline comments must start with a capital letter, digit or 3-dots sequence
(#9) Inline comments must end in full-stops, exclamation marks, or question marks
(#12) Inline comments must end in full-stops, exclamation marks, or question marks
(#17) Inline comments must start with a capital letter, digit or 3-dots sequence
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Expected 1 newline at end of file; 0 found
local/resume/sectionbutton_ajax.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file sectionbutton_ajax.php
(#1) Moodle boilerplate not found
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Expected at least 1 space before "."; 0 found
(#2) Expected at least 1 space after "."; 0 found
(#11) Expected 1 newline at end of file; 0 found
local/resume/settings.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file settings.php
(#1) Moodle boilerplate not found
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#6) Opening parenthesis of a multi-line function call must be the last content on the line
(#7) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#7) Only one argument is allowed per line in a multi-line function call
(#7) Only one argument is allowed per line in a multi-line function call
(#7) Closing parenthesis of a multi-line function call must be on a line by itself
(#8) Opening parenthesis of a multi-line function call must be the last content on the line
(#9) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#9) Only one argument is allowed per line in a multi-line function call
(#9) Only one argument is allowed per line in a multi-line function call
(#9) Closing parenthesis of a multi-line function call must be on a line by itself
(#10) Opening parenthesis of a multi-line function call must be the last content on the line
(#11) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#11) Only one argument is allowed per line in a multi-line function call
(#11) Only one argument is allowed per line in a multi-line function call
(#11) Closing parenthesis of a multi-line function call must be on a line by itself
(#12) Opening parenthesis of a multi-line function call must be the last content on the line
(#13) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#13) Only one argument is allowed per line in a multi-line function call
(#13) Only one argument is allowed per line in a multi-line function call
(#13) Closing parenthesis of a multi-line function call must be on a line by itself
(#14) Opening parenthesis of a multi-line function call must be the last content on the line
(#15) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#15) Only one argument is allowed per line in a multi-line function call
(#15) Only one argument is allowed per line in a multi-line function call
(#15) Closing parenthesis of a multi-line function call must be on a line by itself
(#16) Opening parenthesis of a multi-line function call must be the last content on the line
(#17) Only one argument is allowed per line in a multi-line function call
(#17) Only one argument is allowed per line in a multi-line function call
(#21) There should be a comma after the last array item in a multi-line array.
(#22) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#22) Closing parenthesis of a multi-line function call must be on a line by itself
(#23) Opening parenthesis of a multi-line function call must be the last content on the line
(#24) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#24) Only one argument is allowed per line in a multi-line function call
(#24) Only one argument is allowed per line in a multi-line function call
(#24) Closing parenthesis of a multi-line function call must be on a line by itself
(#26) Spaces must be used to indent lines; tabs are not allowed
(#27) Multi-line function call not indented correctly; expected 8 spaces but found 4
(#28) Multi-line function call not indented correctly; expected 8 spaces but found 4
(#29) Multi-line function call not indented correctly; expected 8 spaces but found 4
(#30) Multi-line function call not indented correctly; expected 8 spaces but found 4
(#31) Line indented incorrectly; expected at least 4 spaces, found 0
(#32) Blank line found at end of control structure
(#33) Expected 1 newline at end of file; 0 found
local/resume/uninstall.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file uninstall.php
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Comment does not contain full Moodle boilerplate
(#10) Expected 1 newline at end of file; 0 found
local/resume/version.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file version.php
(#1) Moodle boilerplate not found
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#8) Expected 1 newline at end of file; 0 found

Javascript coding style problems

(53 errors, 3 warnings)

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

local/resume/sectionbuttons.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) This line has a length of 141. Maximum allowed is 132. (max-len)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected { after 'if' condition. (curly)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) A space is required after ','. (comma-spacing)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected { after 'if' condition. (curly)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected { after 'if' condition. (curly)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected { after 'if' condition. (curly)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Operator '+' must be spaced. (space-infix-ops)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Missing space before opening brace. (space-before-blocks)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

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]