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

(470 errors, 23 warnings)

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

public/report/twgraph_lite/classes/privacy/provider.php
(#30) Opening brace must not be followed by a blank line
public/report/twgraph_lite/index.php
(#30) Space found before comma in argument list
(#30) Expected no space between "'id'" and the comma. Found: 1 space
(#30) Space found before comma in argument list
(#30) Expected no space between "$defaultuser" and the comma. Found: 1 space
(#47) Space found before comma in argument list
(#47) Expected no space between "$userid" and the comma. Found: 1 space
(#48) Expected at least 1 space before "."; 0 found
(#48) Expected at least 1 space after "."; 0 found
(#48) Expected at least 1 space before "."; 0 found
(#48) Expected at least 1 space after "."; 0 found
(#50) Space found before comma in argument list
(#50) Expected no space between "$userid" and the comma. Found: 1 space
(#50) Space found before comma in argument list
(#50) Expected no space between "false" and the comma. Found: 1 space
(#54) Space found before comma in argument list
(#54) Expected no space between "shortname" and the comma. Found: 1 space
(#54) Space found before comma in argument list
(#54) Expected no space between "true" and the comma. Found: 1 space
public/report/twgraph_lite/lang/en/index.php
(#1) No one-line description found in phpdocs for docblock of file 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 "//".
(#25) Variable "$CFG" is not expected in a lang file
(#26) Variable "$CFG" is not expected in a lang file
(#28) Variable "$userid" is not expected in a lang file
(#28) Space found before comma in argument list
(#28) Expected no space between "'id'" and the comma. Found: 1 space
(#28) Variable "$defaultuser" is not expected in a lang file
(#28) Space found before comma in argument list
(#28) Expected no space between "$defaultuser" and the comma. Found: 1 space
(#29) Variable "$pageurl" is not expected in a lang file
(#29) Variable "$CFG" is not expected in a lang file
(#30) Variable "$PAGE" is not expected in a lang file
(#30) Variable "$pageurl" is not expected in a lang file
(#31) Variable "$PAGE" is not expected in a lang file
(#31) Variable "$syscontext" is not expected in a lang file
(#32) Variable "$PAGE" is not expected in a lang file
(#33) Variable "$PAGE" is not expected in a lang file
(#34) Variable "$PAGE" is not expected in a lang file
(#35) Variable "$PAGE" is not expected in a lang file
(#35) Variable "$SITE" is not expected in a lang file
(#39) Variable "$OUTPUT" is not expected in a lang file
(#41) Expected "if (...) {\n"; found "if (...)\n{\n"
(#41) Variable "$userid" is not expected in a lang file
(#41) Expected 1 space after closing parenthesis; found newline
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Variable "$userid" is not expected in a lang file
(#43) Variable "$USER" is not expected in a lang file
(#43) Unexpected comment found. Auto-fixing will not work after this comment
(#46) Variable "$user" is not expected in a lang file
(#46) Variable "$userid" is not expected in a lang file
(#46) Space found before comma in argument list
(#46) Expected no space between "$userid" and the comma. Found: 1 space
(#47) Variable "$user" is not expected in a lang file
(#47) Variable "$user" is not expected in a lang file
(#49) Expected "if (...) {\n"; found "if (...)\n{\n"
(#49) Variable "$courses" is not expected in a lang file
(#49) Variable "$userid" is not expected in a lang file
(#49) Space found before comma in argument list
(#49) Expected no space between "$userid" and the comma. Found: 1 space
(#49) Space found before comma in argument list
(#49) Expected no space between "false" and the comma. Found: 1 space
(#49) Expected 1 space after closing parenthesis; found newline
(#51) Variable "$datapoints" is not expected in a lang file
(#51) Short array syntax must be used to define arrays
(#52) Whitespace found at end of line
(#53) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#53) Variable "$courses" is not expected in a lang file
(#53) Variable "$course" is not expected in a lang file
(#53) Expected 1 space after closing parenthesis; found newline
(#55) Variable "$coursecontext" is not expected in a lang file
(#55) Variable "$course" is not expected in a lang file
(#56) Variable "$courseshortname" is not expected in a lang file
(#56) Variable "$course" is not expected in a lang file
(#56) Space found before comma in argument list
(#56) Expected no space between "shortname" and the comma. Found: 1 space
(#56) Space found before comma in argument list
(#56) Expected no space between "true" and the comma. Found: 1 space
(#56) Short array syntax must be used to define arrays
(#56) Variable "$coursecontext" is not expected in a lang file
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Variable "$courseitem" is not expected in a lang file
(#57) Short array syntax must be used to define arrays
(#57) Variable "$course" is not expected in a lang file
(#59) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#59) Expected 1 space after FOREACH keyword; 0 found
(#59) Variable "$courseitem" is not expected in a lang file
(#59) Variable "$ci" is not expected in a lang file
(#59) Expected 1 space after closing parenthesis; found newline
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Blank line found at start of control structure
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Variable "$coursegrade" is not expected in a lang file
(#62) Short array syntax must be used to define arrays
(#62) Variable "$ci" is not expected in a lang file
(#62) Variable "$userid" is not expected in a lang file
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Expected "if (...) {\n"; found "if (...) // Mod is individual assignments.\n {\n"
(#63) Variable "$ci" is not expected in a lang file
(#63) Expected at least 1 space before "=="; 0 found
(#63) Expected at least 1 space after "=="; 0 found
(#63) Expected 1 space before "=="; 0 found
(#63) Expected 1 space after "=="; 0 found
(#63) Expected 1 space after closing parenthesis; found " // Mod is individual assignments.\n "
(#63) Unexpected comment found. Auto-fixing will not work after this comment
(#64) Spaces must be used to indent lines; tabs are not allowed
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Variable "$finalgrade" is not expected in a lang file
(#65) Variable "$coursegrade" is not expected in a lang file
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Variable "$grademax" is not expected in a lang file
(#66) Variable "$ci" is not expected in a lang file
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Line indented incorrectly; expected 16 spaces, found 20
(#67) Expected "if (...) {\n"; found "if (...)\n {\n"
(#67) Variable "$finalgrade" is not expected in a lang file
(#67) Expected 1 space after closing parenthesis; found newline
(#68) Spaces must be used to indent lines; tabs are not allowed
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Variable "$dp" is not expected in a lang file
(#70) Variable "$dp" is not expected in a lang file
(#70) Variable "$coursegrade" is not expected in a lang file
(#71) Variable "$dp" is not expected in a lang file
(#71) Variable "$finalgrade" is not expected in a lang file
(#71) Expected at least 1 space before "/"; 0 found
(#71) Expected at least 1 space after "/"; 0 found
(#71) Expected 1 space before "/"; 0 found
(#71) Expected 1 space after "/"; 0 found
(#71) Variable "$grademax" is not expected in a lang file
(#71) Expected at least 1 space before "*"; 0 found
(#71) Expected at least 1 space after "*"; 0 found
(#71) Expected 1 space before "*"; 0 found
(#71) Expected 1 space after "*"; 0 found
(#72) Variable "$dp" is not expected in a lang file
(#72) Variable "$course" is not expected in a lang file
(#73) Variable "$dp" is not expected in a lang file
(#73) Variable "$ci" is not expected in a lang file
(#74) Variable "$datapoints" is not expected in a lang file
(#74) Variable "$dp" is not expected in a lang file
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Line indented incorrectly; expected 16 spaces, found 20
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Line indented incorrectly; expected 12 spaces, found 16
(#76) Closing brace indented incorrectly; expected 12 spaces, found 16
(#77) Blank line found at end of control structure
(#78) Line indented incorrectly; expected 8 spaces, found 12
(#78) Closing brace indented incorrectly; expected 8 spaces, found 12
(#80) Blank line found at end of control structure
(#80) Whitespace found at end of line
(#83) Variable "$datapoints" is not expected in a lang file
(#84) Line indented incorrectly; expected at least 4 spaces, found 2
(#84) Variable "$datapoints" is not expected in a lang file
(#85) Line indented incorrectly; expected 0 spaces, found 1
(#85) Closing brace indented incorrectly; expected 0 spaces, found 1
(#85) Expected "} else {\n"; found "} else {\n"
(#85) Expected 1 space after ELSE keyword; 2 found
(#86) Line indented incorrectly; expected at least 4 spaces, found 2
(#87) Line indented incorrectly; expected 0 spaces, found 1
(#89) Variable "$OUTPUT" is not expected in a lang file
public/report/twgraph_lite/lang/en/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 "//".
(#22) Whitespace found at end of line
(#23) Missing docblock for class data_point_lite
(#24) Spaces must be used to indent lines; tabs are not allowed
(#24) Variable "$date" is not expected in a lang file
(#24) Missing member variable doc comment
(#25) Spaces must be used to indent lines; tabs are not allowed
(#25) Variable "$percent" is not expected in a lang file
(#25) Missing member variable doc comment
(#26) Spaces must be used to indent lines; tabs are not allowed
(#26) Variable "$course" is not expected in a lang file
(#26) Missing member variable doc comment
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Variable "$assignment" is not expected in a lang file
(#27) Missing member variable doc comment
(#32) Missing docblock for function report_twgraph_lite_myprofile_navigation
(#32) Variable "$tree" is not expected in a lang file
(#32) Variable "$user" is not expected in a lang file
(#32) Variable "$iscurrentuser" is not expected in a lang file
(#32) Variable "$course" is not expected in a lang file
(#33) Variable "$course" is not expected in a lang file
(#34) Variable "$course" is not expected in a lang file
(#36) Whitespace found at end of line
(#37) Variable "$url" is not expected in a lang file
(#37) Short array syntax must be used to define arrays
(#37) Variable "$user" is not expected in a lang file
(#38) Variable "$node" is not expected in a lang file
(#38) Variable "$url" is not expected in a lang file
(#39) Variable "$tree" is not expected in a lang file
(#39) Variable "$node" is not expected in a lang file
(#40) Whitespace found at end of line
(#41) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#45) Missing docblock for function draw_graph
(#45) Variable "$data" is not expected in a lang file
(#46) Variable "$result" is not expected in a lang file
(#46) Line indented incorrectly; expected at least 4 spaces, found 2
(#47) Line indented incorrectly; expected 4 spaces, found 2
(#47) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#47) Expected 1 space after FOREACH keyword; 0 found
(#47) Expected 1 space before "=>"; 0 found
(#47) Expected 1 space after "=>"; 0 found
(#47) Variable "$data" is not expected in a lang file
(#47) Variable "$key" is not expected in a lang file
(#47) Expected at least 1 space before "=>"; 0 found
(#47) Expected at least 1 space after "=>"; 0 found
(#47) Expected 1 space before "=>"; 0 found
(#47) Expected 1 space after "=>"; 0 found
(#47) Variable "$value" is not expected in a lang file
(#48) Variable "$group" is not expected in a lang file
(#48) Line indented incorrectly; expected at least 8 spaces, found 4
(#48) Variable "$value" is not expected in a lang file
(#49) Line indented incorrectly; expected 8 spaces, found 4
(#49) Expected "if (...) {\n"; found "if(...) { \n"
(#49) Expected 1 space after IF keyword; 0 found
(#49) Variable "$result" is not expected in a lang file
(#49) Variable "$group" is not expected in a lang file
(#49) Whitespace found at end of line
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Variable "$result" is not expected in a lang file
(#50) Line indented incorrectly; expected at least 12 spaces, found 8
(#50) Variable "$group" is not expected in a lang file
(#50) Expected at least 1 space before "="; 0 found
(#50) Expected at least 1 space after "="; 0 found
(#50) Expected 1 space before "="; 0 found
(#50) Expected 1 space after "="; 0 found
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Closing brace indented incorrectly; expected 4 spaces, found 8
(#52) Variable "$result" is not expected in a lang file
(#52) Line indented incorrectly; expected at least 8 spaces, found 4
(#52) Variable "$group" is not expected in a lang file
(#52) Expected at least 1 space before "="; 0 found
(#52) Expected at least 1 space after "="; 0 found
(#52) Expected 1 space before "="; 0 found
(#52) Expected 1 space after "="; 0 found
(#52) Variable "$value" is not expected in a lang file
(#53) Closing brace indented incorrectly; expected 2 spaces, found 4
(#54) Variable "$result" is not expected in a lang file
(#54) Line indented incorrectly; expected at least 4 spaces, found 2
(#54) Variable "$result" is not expected in a lang file
(#54) Unexpected comment found. Auto-fixing will not work after this comment
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Variable "$dataPoints" is not expected in a lang file
(#55) Line indented incorrectly; expected at least 4 spaces, found 2
(#55) Variable "dataPoints" must be all lower-case
(#55) Short array syntax must be used to define arrays
(#56) Line indented incorrectly; expected 4 spaces, found 2
(#56) Variable "$result" is not expected in a lang file
(#56) Variable "$y" is not expected in a lang file
(#57) Variable "$point" is not expected in a lang file
(#57) Line indented incorrectly; expected at least 8 spaces, found 4
(#58) Line indented incorrectly; expected 8 spaces, found 4
(#58) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#58) Expected 1 space after FOREACH keyword; 0 found
(#58) Variable "$y" is not expected in a lang file
(#58) Variable "$x" is not expected in a lang file
(#59) Line indented incorrectly; expected 12 spaces, found 6
(#59) Expected "if (...) {\n"; found "if(...) {\n"
(#59) Expected 1 space after IF keyword; 0 found
(#59) Variable "$x" is not expected in a lang file
(#60) Variable "$newx" is not expected in a lang file
(#60) Line indented incorrectly; expected at least 16 spaces, found 8
(#60) Variable "$x" is not expected in a lang file
(#60) Whitespace found at end of line
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Variable "$newx" is not expected in a lang file
(#61) Line indented incorrectly; expected at least 16 spaces, found 8
(#61) Variable "$x" is not expected in a lang file
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Variable "$newx" is not expected in a lang file
(#62) Line indented incorrectly; expected at least 16 spaces, found 8
(#62) Variable "$x" is not expected in a lang file
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Variable "$newx" is not expected in a lang file
(#63) Line indented incorrectly; expected at least 16 spaces, found 8
(#63) Variable "$x" is not expected in a lang file
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Variable "$newx" is not expected in a lang file
(#64) Line indented incorrectly; expected at least 16 spaces, found 8
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Line indented incorrectly; expected at least 16 spaces, found 8
(#65) Variable "$point" is not expected in a lang file
(#65) Variable "$newx" is not expected in a lang file
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Line indented incorrectly; expected 12 spaces, found 8
(#66) Closing brace indented incorrectly; expected 6 spaces, found 8
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Line indented incorrectly; expected 8 spaces, found 6
(#67) Closing brace indented incorrectly; expected 4 spaces, found 6
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Line indented incorrectly; expected at least 8 spaces, found 4
(#68) Variable "$dataPoints" is not expected in a lang file
(#68) Variable "dataPoints" must be all lower-case
(#68) Variable "$point" is not expected in a lang file
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Closing brace indented incorrectly; expected 2 spaces, found 4
(#71) Spaces must be used to indent lines; tabs are not allowed
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Missing docblock for file lib.php
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Variable "$sc" is not expected in a lang file
(#90) Line indented incorrectly; expected at least 8 spaces, found 6
(#90) Variable "$sc" is not expected in a lang file
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Line indented incorrectly; expected 8 spaces, found 6
(#91) Expected "foreach (...) {\n"; found "foreach(...)\n { // each subject\n"
(#91) Expected 1 space after FOREACH keyword; 0 found
(#91) Variable "$dataPoints" is not expected in a lang file
(#91) Variable "$dataPoints" is not expected in a lang file
(#91) Variable "dataPoints" must be all lower-case
(#91) Variable "$key" is not expected in a lang file
(#91) Variable "$key" is not expected in a lang file
(#91) Expected 1 space after closing parenthesis; found newline
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Line indented incorrectly; expected at least 8 spaces, found 6
(#92) Unexpected comment found. Auto-fixing will not work after this comment
(#92) Unexpected comment found. Auto-fixing will not work after this comment
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Line indented incorrectly; expected 12 spaces, found 10
(#93) Expected "if (...) {\n"; found "if (...){"
(#93) Variable "$sc" is not expected in a lang file
(#93) Variable "$sc" is not expected in a lang file
(#93) Expected at least 1 space before ">"; 0 found
(#93) Expected at least 1 space after ">"; 0 found
(#93) Expected 1 space before ">"; 0 found
(#93) Expected 1 space after ">"; 0 found
(#93) Expected 1 space after closing parenthesis; found 0
(#93) Newline required after opening brace
(#93) Closing brace must be on a line by itself
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Line indented incorrectly; expected at least 12 spaces, found 10
(#94) Expected at least 1 space before "."; 0 found
(#94) Expected at least 1 space after "."; 0 found
(#94) Variable "$key" is not expected in a lang file
(#94) Variable "$key" is not expected in a lang file
(#94) Expected at least 1 space before "."; 0 found
(#94) Expected at least 1 space after "."; 0 found
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Unexpected comment found. Auto-fixing will not work after this comment
(#95) Unexpected comment found. Auto-fixing will not work after this comment
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Line indented incorrectly; expected at least 12 spaces, found 11
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Variable "$ac" is not expected in a lang file
(#96) Line indented incorrectly; expected at least 12 spaces, found 11
(#96) Variable "$ac" is not expected in a lang file
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Line indented incorrectly; expected 12 spaces, found 11
(#97) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#97) Expected 1 space after FOREACH keyword; 0 found
(#97) Expected 1 space before "=>"; 0 found
(#97) Expected 1 space after "=>"; 0 found
(#97) Variable "$key" is not expected in a lang file
(#97) Variable "$key" is not expected in a lang file
(#97) Variable "$x" is not expected in a lang file
(#97) Variable "$x" is not expected in a lang file
(#97) Expected at least 1 space before "=>"; 0 found
(#97) Expected at least 1 space after "=>"; 0 found
(#97) Expected 1 space before "=>"; 0 found
(#97) Expected 1 space after "=>"; 0 found
(#97) Variable "$y" is not expected in a lang file
(#97) Variable "$y" is not expected in a lang file
(#97) Expected 1 space after closing parenthesis; found newline
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Line indented incorrectly; expected at least 12 spaces, found 11
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Unexpected comment found. Auto-fixing will not work after this comment
(#99) Unexpected comment found. Auto-fixing will not work after this comment
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) This comment is 80% valid code; is this commented out code?
(#99) Line indented incorrectly; expected at least 16 spaces, found 15
(#99) No space found before comment text; expected "// print_r($y);" but found "//print_r($y);"
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Line indented incorrectly; expected 16 spaces, found 8
(#100) Expected "if (...) {\n"; found "if (...){"
(#100) Variable "$ac" is not expected in a lang file
(#100) Variable "$ac" is not expected in a lang file
(#100) Expected at least 1 space before ">"; 0 found
(#100) Expected at least 1 space after ">"; 0 found
(#100) Expected 1 space before ">"; 0 found
(#100) Expected 1 space after ">"; 0 found
(#100) Expected 1 space after closing parenthesis; found 0
(#100) Newline required after opening brace
(#100) Closing brace must be on a line by itself
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Unexpected comment found. Auto-fixing will not work after this comment
(#101) Unexpected comment found. Auto-fixing will not work after this comment
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) This comment is 62% valid code; is this commented out code?
(#101) Line indented incorrectly; expected at least 16 spaces, found 12
(#101) No space found before comment text; expected "// {assignment: 'pythagoras', x: '2024-05-01', y: 19, weight: 31, r: 31}" but found "//{assignment: 'pythagoras', x: '2024-05-01', y: 19, weight: 31, r: 31}"
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Line indented incorrectly; expected at least 16 spaces, found 12
(#102) Expected at least 1 space before "."; 0 found
(#102) Expected at least 1 space after "."; 0 found
(#102) Variable "$y" is not expected in a lang file
(#102) Variable "$y" is not expected in a lang file
(#102) Expected at least 1 space before "."; 0 found
(#102) Expected at least 1 space after "."; 0 found
(#102) Whitespace found at end of line within string
(#103) Expected at least 1 space before "."; 0 found
(#103) Expected at least 1 space after "."; 0 found
(#103) Variable "$y" is not expected in a lang file
(#103) Variable "$y" is not expected in a lang file
(#103) Expected at least 1 space before "."; 0 found
(#103) Expected at least 1 space after "."; 0 found
(#103) Whitespace found at end of line within string
(#104) Expected at least 1 space before "."; 0 found
(#104) Expected at least 1 space after "."; 0 found
(#104) Variable "$y" is not expected in a lang file
(#104) Variable "$y" is not expected in a lang file
(#104) Expected at least 1 space before "."; 0 found
(#104) Expected at least 1 space after "."; 0 found
(#104) Whitespace found at end of line within string
(#106) Spaces must be used to indent lines; tabs are not allowed
(#106) Variable "$ac" is not expected in a lang file
(#106) Line indented incorrectly; expected at least 17 spaces, found 11
(#106) Variable "$ac" is not expected in a lang file
(#107) Spaces must be used to indent lines; tabs are not allowed
(#107) Line indented incorrectly; expected 12 spaces, found 11
(#108) Spaces must be used to indent lines; tabs are not allowed
(#108) Line indented incorrectly; expected at least 12 spaces, found 10
(#109) Spaces must be used to indent lines; tabs are not allowed
(#109) Variable "$sc" is not expected in a lang file
(#109) Line indented incorrectly; expected at least 12 spaces, found 10
(#109) Variable "$sc" is not expected in a lang file
(#110) Spaces must be used to indent lines; tabs are not allowed
(#110) Line indented incorrectly; expected 8 spaces, found 6
(#112) Spaces must be used to indent lines; tabs are not allowed
(#117) Spaces must be used to indent lines; tabs are not allowed
(#118) Spaces must be used to indent lines; tabs are not allowed
(#119) Spaces must be used to indent lines; tabs are not allowed
(#120) Spaces must be used to indent lines; tabs are not allowed
(#121) Spaces must be used to indent lines; tabs are not allowed
(#122) Spaces must be used to indent lines; tabs are not allowed
(#123) Spaces must be used to indent lines; tabs are not allowed
(#124) Spaces must be used to indent lines; tabs are not allowed
(#125) Spaces must be used to indent lines; tabs are not allowed
(#126) Spaces must be used to indent lines; tabs are not allowed
(#129) Spaces must be used to indent lines; tabs are not allowed
(#135) Spaces must be used to indent lines; tabs are not allowed
(#138) Spaces must be used to indent lines; tabs are not allowed
(#139) Spaces must be used to indent lines; tabs are not allowed
(#140) Spaces must be used to indent lines; tabs are not allowed
(#145) Spaces must be used to indent lines; tabs are not allowed
(#146) Spaces must be used to indent lines; tabs are not allowed
(#150) Spaces must be used to indent lines; tabs are not allowed
(#177) Spaces must be used to indent lines; tabs are not allowed
(#177) Missing docblock for file lib.php
public/report/twgraph_lite/lang/en/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 "//".
(#22) Whitespace found at end of line
(#23) Variable "$plugin" is not expected in a lang file
(#24) Variable "$plugin" is not expected in a lang file
(#25) Variable "$plugin" is not expected in a lang file
public/report/twgraph_lite/lib.php
(#33) Duplicate class name "data_point_lite" found; first defined in /var/lib/jenkins/git_repositories/prechecker/public/report/twgraph_lite/lang/en/lib.php on line 23
(#65) Space before opening parenthesis of function call prohibited
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
(#112) Missing docblock for file lib.php
(#118) Expected at least 1 space before "."; 0 found
(#118) Expected at least 1 space after "."; 0 found
(#118) Expected at least 1 space before "."; 0 found
(#118) Expected at least 1 space after "."; 0 found
(#125) Expected at least 1 space before "."; 0 found
(#125) Expected at least 1 space after "."; 0 found
(#125) Expected at least 1 space before "."; 0 found
(#125) Expected at least 1 space after "."; 0 found
(#125) Expected at least 1 space before "."; 0 found
(#125) Expected at least 1 space after "."; 0 found
(#125) Expected at least 1 space before "."; 0 found
(#125) Expected at least 1 space after "."; 0 found
(#125) Expected at least 1 space before "."; 0 found
(#125) Expected at least 1 space after "."; 0 found
(#125) Expected at least 1 space before "."; 0 found
(#125) Expected at least 1 space after "."; 0 found
(#183) Missing docblock for file lib.php

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

(1 errors, 0 warnings)

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

public/report/twgraph_lite/lib.php
(#52) Phpdocs for function report_twgraph_lite_myprofile_navigation has incomplete parameters list

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
ENOENT: no such file or directory, stat 'public/report/twgraph_lite/chartjs/chartjs-adapter-date-fns.min.js' 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]