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

(195 errors, 33 warnings)

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

local/resume/classes/external.php
(#1) No one-line description found in phpdocs for docblock of file external.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 "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Missing docblock for class external
(#37) Opening brace must not be followed by a blank line
(#39) Missing docblock for function get_resume_button_parameters
(#46) Missing docblock for function get_resume_button
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Missing docblock for function get_resume_button_returns
local/resume/classes/external/render_section_button.php
(#1) No one-line description found in phpdocs for docblock of file render_section_button.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#32) Missing docblock for class render_section_button
(#33) Missing docblock for function execute_parameters
(#36) There should be a comma after the last array item in a multi-line array.
(#40) Missing docblock for function execute
(#45) There should be a comma after the last array item in a multi-line array.
(#60) Missing docblock for function execute_returns
(#62) There should be a comma after the last array item in a multi-line array.
local/resume/classes/local_resume.php
(#1) No one-line description found in phpdocs for docblock of file local_resume.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 "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) Missing docblock for class local_resume
(#26) Opening brace must not be followed by a blank line
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Missing docblock for function get_first_activity_url
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#38) Inline control structures are not allowed
(#45) Inline control structures are not allowed
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Missing docblock for function has_visible_activities
(#57) Inline control structures are not allowed
(#60) Inline control structures are not allowed
(#61) Inline control structures are not allowed
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Missing docblock for function get_last_accessed_activity_url
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Missing docblock for function get_last_accessed_activity_url_in_section
(#96) Inline control structures are not allowed
(#99) Inline control structures are not allowed
(#101) Long list syntax is not allowed
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Missing docblock for function all_complete
(#127) Expected at least 1 space before "."; 0 found
(#127) Expected at least 1 space after "."; 0 found
(#132) Inline control structures are not allowed
(#160) Expected 1 newline at end of file; 0 found
local/resume/classes/privacy/provider.php
(#1) No one-line description found in phpdocs for docblock of file provider.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) Opening brace must not be followed by a blank line
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) This comment is 70% valid code; is this commented out code?
(#42) Expected 1 blank line at end of file; 3 found
local/resume/db/services.php
(#1) No one-line description found in phpdocs for docblock of file services.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#24) Inline comments must start with a capital letter, digit or 3-dots sequence
(#24) This comment is 50% valid code; is this commented out code?
(#25) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#26) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#27) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#28) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#29) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#30) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#31) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#32) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#33) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#36) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#54) Expected 1 newline at end of file; 0 found
local/resume/lang/en/local_resume.php
(#1) No one-line description found in phpdocs for docblock of file local_resume.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 "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#21) Unexpected string end, it should be a line feed after a semicolon
(#22) Unexpected string end, it should be a line feed after a semicolon
(#23) Unexpected string end, it should be a line feed after a semicolon
(#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
(#40) Expected 1 newline at end of file; 0 found
local/resume/lib.php
(#1) No one-line description found in phpdocs for docblock of file lib.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 "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) Missing docblock for function local_resume_before_footer
(#37) There should be a comma after the last array item in a multi-line array.
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Missing docblock for function local_resume_extend_navigation_course
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) This comment is 78% valid code; is this commented out code?
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Missing docblock for function local_resume_render_resume_button
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Usage of ELSEIF not allowed; use ELSE IF instead
(#105) Usage of ELSEIF not allowed; use ELSE IF instead
(#114) Inline control structures are not allowed
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#118) There should be a comma after the last array item in a multi-line array.
(#121) There should be a comma after the last array item in a multi-line array.
(#124) There should be a comma after the last array item in a multi-line array.
(#128) There should be a comma after the last array item in a multi-line array.
(#132) There should be a comma after the last array item in a multi-line array.
(#138) 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) 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 "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#21) Expected at least 1 space before "."; 0 found
(#21) Expected at least 1 space after "."; 0 found
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Line exceeds 132 characters; contains 139 characters
(#50) Expected 1 newline at end of file; 0 found
local/resume/settings.php
(#1) No one-line description found in phpdocs for docblock of file 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 "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Opening parenthesis of a multi-line function call must be the last content on the line
(#26) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#26) Only one argument is allowed per line in a multi-line function call
(#26) Only one argument is allowed per line in a multi-line function call
(#26) Closing parenthesis of a multi-line function call must be on a line by itself
(#27) Opening parenthesis of a multi-line function call must be the last content on the line
(#28) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#28) Only one argument is allowed per line in a multi-line function call
(#28) Only one argument is allowed per line in a multi-line function call
(#28) Closing parenthesis of a multi-line function call must be on a line by itself
(#29) Opening parenthesis of a multi-line function call must be the last content on the line
(#30) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#30) Only one argument is allowed per line in a multi-line function call
(#30) Only one argument is allowed per line in a multi-line function call
(#30) Closing parenthesis of a multi-line function call must be on a line by itself
(#31) Opening parenthesis of a multi-line function call must be the last content on the line
(#32) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#32) Only one argument is allowed per line in a multi-line function call
(#32) Only one argument is allowed per line in a multi-line function call
(#32) Closing parenthesis of a multi-line function call must be on a line by itself
(#33) Opening parenthesis of a multi-line function call must be the last content on the line
(#34) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#34) Only one argument is allowed per line in a multi-line function call
(#34) Only one argument is allowed per line in a multi-line function call
(#34) Closing parenthesis of a multi-line function call must be on a line by itself
(#35) Opening parenthesis of a multi-line function call must be the last content on the line
(#36) Only one argument is allowed per line in a multi-line function call
(#36) Only one argument is allowed per line in a multi-line function call
(#40) There should be a comma after the last array item in a multi-line array.
(#41) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#41) Closing parenthesis of a multi-line function call must be on a line by itself
(#42) Opening parenthesis of a multi-line function call must be the last content on the line
(#43) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#43) Only one argument is allowed per line in a multi-line function call
(#43) Only one argument is allowed per line in a multi-line function call
(#43) Closing parenthesis of a multi-line function call must be on a line by itself
(#45) Spaces must be used to indent lines; tabs are not allowed
(#46) Multi-line function call not indented correctly; expected 8 spaces but found 4
(#47) Multi-line function call not indented correctly; expected 8 spaces but found 4
(#48) Multi-line function call not indented correctly; expected 8 spaces but found 4
(#49) Multi-line function call not indented correctly; expected 8 spaces but found 4
(#50) Line indented incorrectly; expected at least 4 spaces, found 0
(#51) Blank line found at end of control structure
(#52) Expected 1 newline at end of file; 0 found
local/resume/version.php
(#1) No one-line description found in phpdocs for docblock of file 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 "//".
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#27) Expected 1 newline at end of file; 0 found

Javascript coding style problems

(8 errors, 1 warnings)

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

local/resume/amd/src/sectionbuttons.js
(#17) @package should be empty. (jsdoc/empty-tags)
(#23) This line has a length of 134. Maximum allowed is 132. (max-len)
(#27) Trailing spaces not allowed. (no-trailing-spaces)
(#30) Expected { after 'if' condition. (curly)
(#33) Expected { after 'if' condition. (curly)
(#36) Expected { after 'if' condition. (curly)
(#38) Expected { after 'if' condition. (curly)
(#63) Comments should not begin with a lowercase character. (capitalized-comments)
(#67) Unexpected console statement. (no-console)

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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "eslint:amd" failed. Use --force to continue.

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]