Prechecker results: error


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

(95 errors, 42 warnings)

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

local/macromucho/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/macromucho/lang/en/local_macromucho.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#26) Whitespace found at end of line within string
(#27) Whitespace found at end of line within string
(#29) Whitespace found at end of line within string
(#30) Whitespace found at end of line within string
(#32) Whitespace found at end of line within string
(#33) Whitespace found at end of line within string
(#36) Whitespace found at end of line within string
(#37) Whitespace found at end of line within string
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
(#40) Whitespace found at end of line within string
(#41) Whitespace found at end of line within string
(#42) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
(#46) Whitespace found at end of line within string
(#47) Whitespace found at end of line within string
(#49) Whitespace found at end of line within string
(#50) Whitespace found at end of line within string
(#51) Whitespace found at end of line within string
(#52) 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
(#68) Whitespace found at end of line within string
(#69) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
local/macromucho/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Expected "if (...) {\n"; found "if (...) {"
(#56) Closing brace must be on a line by itself
(#65) Expected "if (...) {\n"; found "if (...) {"
(#65) Closing brace must be on a line by itself
(#68) Expected "if (...) {\n"; found "if (...) {"
(#68) Closing brace must be on a line by itself
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Expected "if (...) {\n"; found "if (...) {"
(#75) Expected 1 space before "%"; 0 found
(#75) Expected 1 space after "%"; 0 found
(#75) Closing brace must be on a line by itself
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) No space found before comment text; expected "// Set shownumcorrect to 0 for multichoiceset since this is the default value" but found "//Set shownumcorrect to 0 for multichoiceset since this is the default value"
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) Expected "if (...) {\n"; found "if (...) {"
(#189) Closing brace must be on a line by itself
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Expected "if (...) {\n"; found "if (...) {"
(#197) Closing brace must be on a line by itself
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Space found before second semicolon of FOR loop
(#202) Expected "if (...) {\n"; found "if (...) {"
(#202) Closing brace must be on a line by itself
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#220) Line indented incorrectly; expected at least 8 spaces, found 4
(#225) Expected "if (...) {\n"; found "if (...) {"
(#225) Closing brace must be on a line by itself
(#228) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Space found before second semicolon of FOR loop
(#238) Expected "if (...) {\n"; found "if (...) {"
(#238) Closing brace must be on a line by itself
(#239) Expected "if (...) {\n"; found "if (...) {"
(#239) Closing brace must be on a line by itself
(#240) Expected "} else if (...) {\n"; found "}\n else if (...) {"
(#240) Expected "if (...) {\n"; found "if (...) {"
(#240) Closing brace must be on a line by itself
(#241) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#243) Expected "if (...) {\n"; found "if (...) {"
(#243) Closing brace must be on a line by itself
(#245) Expected "} else if (...) {\n"; found "}\n else if (...) {"
(#245) Expected "if (...) {\n"; found "if (...) {"
(#245) Closing brace must be on a line by itself
(#246) Expected "} else if (...) {\n"; found "}\n else if (...) {"
(#246) Expected "if (...) {\n"; found "if (...) {"
(#246) Closing brace must be on a line by itself
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#259) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) Expected "if (...) {\n"; found "if (...) {"
(#260) Closing brace must be on a line by itself
(#261) Expected "if (...) {\n"; found "if (...) {"
(#261) Closing brace must be on a line by itself
(#263) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) Expected "if (...) {\n"; found "if (...) {"
(#264) Closing brace must be on a line by itself
(#266) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#301) Inline comments must end in full-stops, exclamation marks, or question marks
(#307) Inline comments must end in full-stops, exclamation marks, or question marks
(#309) Space found before second semicolon of FOR loop
(#310) Expected "if (...) {\n"; found "if (...) {"
(#310) Closing brace must be on a line by itself
(#336) Inline comments must end in full-stops, exclamation marks, or question marks
(#342) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#344) Empty IF statement detected
(#346) Inline comments must end in full-stops, exclamation marks, or question marks
(#346) Line indented incorrectly; expected at least 8 spaces, found 4
(#351) Expected "if (...) {\n"; found "if (...) {"
(#351) Closing brace must be on a line by itself
(#357) Inline comments must end in full-stops, exclamation marks, or question marks
(#366) Inline comments must end in full-stops, exclamation marks, or question marks
local/macromucho/macromucho.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
local/macromucho/macromucho_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Line exceeds 132 characters; contains 135 characters
(#62) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#74) Commas (,) must be followed by white space.
(#81) Line indented incorrectly; expected at least 8 spaces, found 4
(#82) Line indented incorrectly; expected at least 8 spaces, found 4
local/macromucho/renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Expected 1 space after "=>"; 2 found
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Line indented incorrectly; expected at least 12 spaces, found 8
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
local/macromucho/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(21 errors, 2 warnings)

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

local/macromucho/macromucho_script.js
(#1) Unexpected console statement. (no-console)
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#1) Missing semicolon. (semi)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Missing JSDoc comment. (require-jsdoc)
(#3) 'copyToClipboard' is defined but never used. (no-unused-vars)
(#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 linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) 'copyText' is not defined. (no-undef)
(#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 linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) 'copyText' is not defined. (no-undef)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) 'copyText' is not defined. (no-undef)
(#13) Expected space or tab after '/*' in comment. (spaced-comment)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

CSS problems

(5 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]

local/macromucho/styles.css
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)

PHPDocs style problems

(13 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

local/macromucho/classes/privacy/provider.php
(#29) Class provider is not documented
local/macromucho/lib.php
(#26) Function local_macromucho_extend_settings_navigation is not documented
(#55) Function local_macromucho_pick_fraction is not documented
(#73) Function local_macromucho_check_required_params is not documented
(#92) Function local_macromucho_add_import_to_output is not documented
(#103) Function local_macromucho_set_mc_options is not documented
(#122) Function local_macromucho_set_default_question_values is not documented
(#17) No one-line description found in phpdocs for file
local/macromucho/macromucho_form.php
(#28) Class local_macromucho_form is not documented
(#29) Function local_macromucho_form::definition is not documented
(#80) Function local_macromucho_form::validation is not documented
(#17) No one-line description found in phpdocs for file
local/macromucho/renderer.php
(#30) Class local_macromucho_renderer is not documented

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 "stylelint:css" 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]