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

(663 errors, 23 warnings)

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

admin/tool/untoken_oauth2/class/sform.php
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) Line indented incorrectly; expected at least 4 spaces, found 0
(#36) Line indented incorrectly; expected at least 4 spaces, found 1
(#36) Whitespace found at end of line
(#37) Line indented incorrectly; expected at least 4 spaces, found 1
(#38) Line indented incorrectly; expected at least 4 spaces, found 1
(#39) Line indented incorrectly; expected at least 4 spaces, found 1
(#40) Line indented incorrectly; expected at least 4 spaces, found 1
(#41) Line indented incorrectly; expected at least 4 spaces, found 1
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected 4 spaces, found 1
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Whitespace found at end of line
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Commas (,) must be followed by white space.
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Commas (,) must be followed by white space.
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Commas (,) must be followed by white space.
(#49) Line exceeds 132 characters; contains 150 characters
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected at least 8 spaces, found 2
(#50) No space found before comment text; expected "// Set type of element" but found "//Set type of element"
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) No space found before comment text; expected "// Default value" but found "//Default value"
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Whitespace found at end of line
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Commas (,) must be followed by white space.
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected 8 spaces, found 2
(#54) Expected "if (...) {\n"; found "if (...){\n"
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 12 spaces, found 3
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected 8 spaces, found 2
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected 4 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Whitespace found at end of line
(#59) Line indented incorrectly; expected at least 4 spaces, found 0
(#60) Line indented incorrectly; expected at least 4 spaces, found 1
(#60) Whitespace found at end of line
(#61) Line indented incorrectly; expected at least 4 spaces, found 1
(#62) Line indented incorrectly; expected at least 4 spaces, found 1
(#63) Line indented incorrectly; expected at least 4 spaces, found 1
(#64) Line indented incorrectly; expected at least 4 spaces, found 1
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Whitespace found at end of line
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected 4 spaces, found 1
(#66) Visibility must be declared on method "validation"
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 8 spaces, found 2
(#67) Commas (,) must be followed by white space.
(#67) Whitespace found at end of line
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected 8 spaces, found 2
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Line indented incorrectly; expected 12 spaces, found 14
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected 12 spaces, found 14
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected 8 spaces, found 9
(#72) Closing brace indented incorrectly; expected 2 spaces, found 9
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected 4 spaces, found 1
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#91) Line indented incorrectly; expected 4 spaces, found 8
(#94) Whitespace found at end of line
(#95) Commas (,) must be followed by white space.
(#95) Commas (,) must be followed by white space.
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Tab found within whitespace
(#96) Line indented incorrectly; expected at least 8 spaces, found 2
(#96) Commas (,) must be followed by white space.
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected at least 8 spaces, found 7
(#97) Commas (,) must be followed by white space.
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected 4 spaces, found 1
(#99) Closing brace indented incorrectly; expected 8 spaces, found 1
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#115) Line indented incorrectly; expected 4 spaces, found 8
(#118) Whitespace found at end of line
(#119) Commas (,) must be followed by white space.
(#119) Commas (,) must be followed by white space.
(#120) Commas (,) must be followed by white space.
(#121) Commas (,) must be followed by white space.
(#123) Line indented incorrectly; expected 4 spaces, found 8
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#139) Line indented incorrectly; expected 4 spaces, found 8
(#142) Whitespace found at end of line
(#143) Commas (,) must be followed by white space.
(#144) Commas (,) must be followed by white space.
(#145) Commas (,) must be followed by white space.
(#146) Spaces must be used to indent lines; tabs are not allowed
(#146) Tab found within whitespace
(#146) Line indented incorrectly; expected at least 8 spaces, found 2
(#146) Commas (,) must be followed by white space.
(#146) Line exceeds maximum limit of 180 characters; contains 221 characters
(#147) Spaces must be used to indent lines; tabs are not allowed
(#147) Tab found within whitespace
(#147) Line indented incorrectly; expected at least 8 spaces, found 2
(#147) Commas (,) must be followed by white space.
(#147) Line exceeds maximum limit of 180 characters; contains 236 characters
(#148) Line indented incorrectly; expected 4 spaces, found 8
admin/tool/untoken_oauth2/db/access.php
(#35) Commas (,) must be followed by white space.
(#43) Commas (,) must be followed by white space.
admin/tool/untoken_oauth2/db/upgrade.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Line indented incorrectly; expected at least 4 spaces, found 0
(#37) No space found before comment text; expected "// upgrade function" but found "//upgrade function"
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) This comment is 67% valid code; is this commented out code?
(#42) Line indented incorrectly; expected at least 8 spaces, found 0
(#42) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#45) Functions must not contain multiple empty lines in a row; found 2 empty lines
admin/tool/untoken_oauth2/db/upgradelib.php
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
admin/tool/untoken_oauth2/delete.php
(#30) Expected 1 space(s) before asterisk; 0 found
(#43) Commas (,) must be followed by white space.
(#54) Expected 1 space before "="; 0 found
(#54) Expected 1 space after "="; 0 found
(#55) Expected 1 space before "="; 0 found
(#55) Expected 1 space after "="; 0 found
(#56) Expected 1 space before "="; 0 found
(#56) Expected 1 space after "="; 0 found
(#57) Expected 1 space before "="; 0 found
(#57) Expected 1 space after "="; 0 found
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#72) Commas (,) must be followed by white space.
(#72) Commas (,) must be followed by white space.
(#73) Whitespace found at end of line within string
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#80) Line indented incorrectly; expected 4 spaces, found 5
(#80) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 8 spaces, found 4
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected at least 8 spaces, found 4
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected at least 8 spaces, found 4
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected at least 8 spaces, found 4
(#85) Commas (,) must be followed by white space.
(#85) Commas (,) must be followed by white space.
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected at least 7 spaces, found 1
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Line indented incorrectly; expected 7 spaces, found 1
(#88) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...) {\n"
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected at least 11 spaces, found 1
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#91) Line indented incorrectly; expected at least 11 spaces, found 4
(#91) Expected 1 space before "=>"; 0 found
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected at least 11 spaces, found 4
(#92) Expected 1 space before "=>"; 0 found
(#92) Expected 1 space after "=>"; 0 found
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 11 spaces, found 4
(#93) Expected 1 space before "=>"; 0 found
(#93) Expected 1 space after "=>"; 0 found
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected at least 11 spaces, found 1
(#96) Line indented incorrectly; expected 8 spaces, found 9
(#96) Closing brace indented incorrectly; expected 1 spaces, found 9
(#98) Line indented incorrectly; expected 8 spaces, found 9
(#98) Whitespace found at end of line
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#100) Line indented incorrectly; expected at least 8 spaces, found 1
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected at least 8 spaces, found 1
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Tab found within whitespace
(#102) Line indented incorrectly; expected at least 8 spaces, found 1
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected at least 8 spaces, found 1
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected at least 8 spaces, found 1
(#105) Spaces must be used to indent lines; tabs are not allowed
(#105) Tab found within whitespace
(#105) Line indented incorrectly; expected at least 8 spaces, found 1
(#105) Whitespace found at end of line
(#107) Spaces must be used to indent lines; tabs are not allowed
(#107) Tab found within whitespace
(#107) Line indented incorrectly; expected at least 8 spaces, found 1
(#108) Spaces must be used to indent lines; tabs are not allowed
(#108) Tab found within whitespace
(#108) Line indented incorrectly; expected at least 8 spaces, found 1
(#109) Spaces must be used to indent lines; tabs are not allowed
(#109) Tab found within whitespace
(#109) Line indented incorrectly; expected at least 8 spaces, found 1
(#110) Line indented incorrectly; expected 4 spaces, found 5
(#115) Expected 1 space before "="; 0 found
(#115) Expected 1 space after "="; 0 found
(#119) Spaces must be used to indent lines; tabs are not allowed
(#119) Tab found within whitespace
(#119) Line indented incorrectly; expected 4 spaces, found 1
(#119) Expected "if (...) {\n"; found "if (...){\n"
(#120) Spaces must be used to indent lines; tabs are not allowed
(#120) Tab found within whitespace
(#120) Line indented incorrectly; expected at least 8 spaces, found 5
(#120) Commas (,) must be followed by white space.
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Tab found within whitespace
(#121) Line indented incorrectly; expected 4 spaces, found 1
(#122) Spaces must be used to indent lines; tabs are not allowed
(#122) Tab found within whitespace
(#122) Whitespace found at end of line
admin/tool/untoken_oauth2/logevent.php
(#42) Commas (,) must be followed by white space.
(#45) Expected 1 space before "="; 0 found
(#45) Expected 1 space after "="; 0 found
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected at least 4 spaces, found 1
(#64) Commas (,) must be followed by white space.
(#66) Expected "} else {\n"; found "}else{\n"
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 4 spaces, found 1
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected at least 4 spaces, found 1
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Line indented incorrectly; expected at least 4 spaces, found 1
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 4 spaces, found 3
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected at least 4 spaces, found 3
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected at least 4 spaces, found 3
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected at least 4 spaces, found 3
(#73) Whitespace found at end of line
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 4 spaces, found 3
(#74) Whitespace found at end of line
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 4 spaces, found 3
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 4 spaces, found 3
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 4 spaces, found 3
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 4 spaces, found 1
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 4 spaces, found 1
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected at least 4 spaces, found 1
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 4 spaces, found 1
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected at least 4 spaces, found 1
(#83) Expected 1 space before "="; 0 found
(#83) Expected 1 space after "="; 0 found
(#83) Expected 1 space before "*"; 0 found
(#83) Expected 1 space after "*"; 0 found
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected at least 4 spaces, found 1
(#84) Expected 1 space before "="; 0 found
(#84) Expected 1 space after "="; 0 found
(#84) Expected 1 space before "+"; 0 found
(#84) Expected 1 space after "+"; 0 found
(#84) Expected 1 space before "*"; 0 found
(#84) Expected 1 space after "*"; 0 found
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected at least 4 spaces, found 1
(#85) Expected 1 space before "="; 0 found
(#85) Expected 1 space after "="; 0 found
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Line indented incorrectly; expected 4 spaces, found 1
(#88) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected 8 spaces, found 9
(#89) Expected "if (...) {\n"; found "if(...){"
(#89) Expected 1 space before "=="; 0 found
(#89) Expected 1 space after "=="; 0 found
(#89) Closing brace must be on a line by itself
(#89) Spaces must be used for alignment; tabs are not allowed
(#89) Tab found within whitespace
(#89) Whitespace found at end of line
(#90) Spaces must be used for alignment; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected 8 spaces, found 2
(#90) Expected "if (...) {\n"; found "if(...){\n"
(#90) Expected 1 space before "=="; 0 found
(#90) Expected 1 space after "=="; 0 found
(#91) Spaces must be used for alignment; tabs are not allowed
(#91) Tab found within whitespace
(#91) Line indented incorrectly; expected at least 12 spaces, found 3
(#92) Spaces must be used for alignment; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected at least 12 spaces, found 10
(#93) Spaces must be used for alignment; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 12 spaces, found 5
(#94) Spaces must be used for alignment; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected at least 12 spaces, found 5
(#95) Spaces must be used for alignment; tabs are not allowed
(#95) Tab found within whitespace
(#95) Line indented incorrectly; expected at least 12 spaces, found 5
(#96) Spaces must be used for alignment; tabs are not allowed
(#96) Tab found within whitespace
(#96) Line indented incorrectly; expected at least 12 spaces, found 5
(#97) Spaces must be used for alignment; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected at least 12 spaces, found 5
(#98) Spaces must be used for alignment; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected at least 12 spaces, found 5
(#99) Spaces must be used for alignment; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected at least 12 spaces, found 5
(#100) Spaces must be used for alignment; tabs are not allowed
(#100) Tab found within whitespace
(#100) Line indented incorrectly; expected at least 18 spaces, found 5
(#101) Spaces must be used for alignment; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected at least 18 spaces, found 3
(#102) Spaces must be used for alignment; tabs are not allowed
(#102) Tab found within whitespace
(#102) Line indented incorrectly; expected 8 spaces, found 2
(#103) Spaces must be used for alignment; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected at least 8 spaces, found 2
(#104) Spaces must be used for alignment; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected 4 spaces, found 1
(#104) Spaces must be used for alignment; tabs are not allowed
(#104) Tab found within whitespace
(#104) Whitespace found at end of line
(#106) Spaces must be used for alignment; tabs are not allowed
(#106) Tab found within whitespace
(#106) Line indented incorrectly; expected at least 4 spaces, found 1
(#106) Commas (,) must be followed by white space.
(#107) Spaces must be used for alignment; tabs are not allowed
(#107) Tab found within whitespace
(#107) Line indented incorrectly; expected at least 4 spaces, found 1
(#107) Expected 1 space before "="; 0 found
(#107) Expected 1 space after "="; 0 found
(#108) Spaces must be used for alignment; tabs are not allowed
(#108) Tab found within whitespace
(#108) Line indented incorrectly; expected at least 4 spaces, found 1
(#109) Spaces must be used for alignment; tabs are not allowed
(#109) Tab found within whitespace
(#109) Whitespace found at end of line
(#110) Spaces must be used for alignment; tabs are not allowed
(#110) Tab found within whitespace
(#110) Whitespace found at end of line
(#111) Spaces must be used for alignment; tabs are not allowed
(#111) Tab found within whitespace
(#111) Expected 1 space after "=>"; 0 found
(#112) Spaces must be used for alignment; tabs are not allowed
(#112) Tab found within whitespace
(#113) Spaces must be used for alignment; tabs are not allowed
(#113) Tab found within whitespace
(#113) Line indented incorrectly; expected at least 4 spaces, found 1
(#114) Spaces must be used for alignment; tabs are not allowed
(#114) Tab found within whitespace
(#114) Line indented incorrectly; expected at least 4 spaces, found 1
(#115) Spaces must be used for alignment; tabs are not allowed
(#115) Tab found within whitespace
(#115) Line indented incorrectly; expected 4 spaces, found 1
(#116) Spaces must be used for alignment; tabs are not allowed
(#116) Tab found within whitespace
(#117) Spaces must be used for alignment; tabs are not allowed
(#117) Tab found within whitespace
(#117) Line indented incorrectly; expected at least 8 spaces, found 2
(#118) Spaces must be used for alignment; tabs are not allowed
(#118) Tab found within whitespace
(#118) Line indented incorrectly; expected 4 spaces, found 6
(#118) Closing brace indented incorrectly; expected 1 spaces, found 6
(#120) Spaces must be used for alignment; tabs are not allowed
(#120) Tab found within whitespace
(#120) Line indented incorrectly; expected at least 4 spaces, found 1
(#121) Whitespace found at end of line
admin/tool/untoken_oauth2/manager.php
(#46) Expected 1 space before "="; 0 found
(#46) Expected 1 space after "="; 0 found
(#46) Whitespace found at end of line
(#49) Whitespace found at end of line
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#52) Commas (,) must be followed by white space.
(#52) Whitespace found at end of line
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#57) Whitespace found at end of line
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#60) Commas (,) must be followed by white space.
(#60) Whitespace found at end of line
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#65) Commas (,) must be followed by white space.
(#65) Expected 1 space before "=>"; 0 found
(#65) Expected 1 space after "=>"; 0 found
(#67) Commas (,) must be followed by white space.
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
admin/tool/untoken_oauth2/searchlink.php
(#39) Commas (,) must be followed by white space.
(#42) Expected 1 space before "="; 0 found
(#42) Expected 1 space after "="; 0 found
(#43) Expected 1 space before "="; 0 found
(#43) Expected 1 space after "="; 0 found
(#43) Commas (,) must be followed by white space.
(#43) Commas (,) must be followed by white space.
(#57) Line indented incorrectly; expected 4 spaces, found 8
(#58) Line indented incorrectly; expected 8 spaces, found 16
(#59) Line indented incorrectly; expected at least 12 spaces, found 0
(#59) Expected 1 space before "="; 0 found
(#59) Expected 1 space after "="; 0 found
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected at least 12 spaces, found 5
(#63) Line indented incorrectly; expected 4 spaces, found 24
(#63) Expected "if (...) {\n"; found "if(...){\n"
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected at least 8 spaces, found 4
(#64) Commas (,) must be followed by white space.
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 8 spaces, found 4
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 8 spaces, found 4
(#66) Expected 1 space before "="; 0 found
(#66) Expected 1 space after "="; 0 found
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 8 spaces, found 4
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected at least 8 spaces, found 4
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Line indented incorrectly; expected at least 8 spaces, found 5
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 8 spaces, found 5
(#70) Whitespace found at end of line
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected at least 8 spaces, found 5
(#71) Whitespace found at end of line
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected at least 8 spaces, found 5
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected at least 8 spaces, found 5
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 8 spaces, found 5
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected -12 spaces, found 4
(#81) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#87) Spaces must be used to indent lines; tabs are not allowed
(#87) Tab found within whitespace
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected -12 spaces, found 4
(#92) Spaces must be used for alignment; tabs are not allowed
(#92) Tab found within whitespace
(#92) Whitespace found at end of line
(#93) Spaces must be used for alignment; tabs are not allowed
(#93) Tab found within whitespace
(#94) Spaces must be used for alignment; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected -12 spaces, found 4
(#94) Expected "if (...) {\n"; found "if(...){\n"
(#95) Spaces must be used for alignment; tabs are not allowed
(#95) Tab found within whitespace
(#95) Whitespace found at end of line
(#96) Spaces must be used for alignment; tabs are not allowed
(#96) Tab found within whitespace
(#96) Commas (,) must be followed by white space.
(#97) Spaces must be used for alignment; tabs are not allowed
(#97) Tab found within whitespace
(#97) Expected 1 space before "=>"; 0 found
(#97) Expected 1 space after "=>"; 0 found
(#98) Spaces must be used for alignment; tabs are not allowed
(#98) Tab found within whitespace
(#98) Expected 1 space before "=>"; 0 found
(#98) Expected 1 space after "=>"; 0 found
(#98) Expected 1 space before "="; 0 found
(#98) Expected 1 space after "="; 0 found
(#99) Spaces must be used for alignment; tabs are not allowed
(#99) Tab found within whitespace
(#99) Expected 1 space before "=>"; 0 found
(#99) Expected 1 space after "=>"; 0 found
(#99) Whitespace found at end of line
(#100) Spaces must be used for alignment; tabs are not allowed
(#100) Tab found within whitespace
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#101) Spaces must be used for alignment; tabs are not allowed
(#101) Tab found within whitespace
(#102) Spaces must be used for alignment; tabs are not allowed
(#102) Tab found within whitespace
(#102) Whitespace found at end of line
(#103) Spaces must be used for alignment; tabs are not allowed
(#103) Tab found within whitespace
(#103) Commas (,) must be followed by white space.
(#103) Spaces must be used for alignment; tabs are not allowed
(#103) Tab found within whitespace
(#103) Whitespace found at end of line
(#104) Spaces must be used for alignment; tabs are not allowed
(#104) Tab found within whitespace
(#104) Expected 1 space before "=>"; 0 found
(#104) Expected 1 space after "=>"; 0 found
(#105) Spaces must be used for alignment; tabs are not allowed
(#105) Tab found within whitespace
(#106) Spaces must be used for alignment; tabs are not allowed
(#106) Tab found within whitespace
(#107) Spaces must be used for alignment; tabs are not allowed
(#107) Tab found within whitespace
(#108) Spaces must be used for alignment; tabs are not allowed
(#108) Tab found within whitespace
(#109) Spaces must be used for alignment; tabs are not allowed
(#109) Tab found within whitespace
(#111) Spaces must be used for alignment; tabs are not allowed
(#111) Tab found within whitespace
(#111) Commas (,) must be followed by white space.
(#112) Spaces must be used for alignment; tabs are not allowed
(#112) Tab found within whitespace
(#112) Line indented incorrectly; expected -12 spaces, found 3
(#112) Closing brace indented incorrectly; expected 4 spaces, found 3
(#112) Expected "} else {\n"; found "}else {\n"
(#113) Spaces must be used for alignment; tabs are not allowed
(#113) Tab found within whitespace
(#113) Commas (,) must be followed by white space.
(#114) Spaces must be used for alignment; tabs are not allowed
(#114) Tab found within whitespace
(#115) Spaces must be used for alignment; tabs are not allowed
(#115) Tab found within whitespace
(#115) Line indented incorrectly; expected -12 spaces, found 3
(#116) Spaces must be used for alignment; tabs are not allowed
(#116) Tab found within whitespace
(#116) Line indented incorrectly; expected 4 spaces, found 3
(#116) Closing brace indented incorrectly; expected 24 spaces, found 3
(#116) Expected "} else {\n"; found "}else{\n"
(#117) Spaces must be used for alignment; tabs are not allowed
(#117) Tab found within whitespace
(#117) Line indented incorrectly; expected at least 8 spaces, found 4
(#117) Commas (,) must be followed by white space.
(#118) Spaces must be used for alignment; tabs are not allowed
(#118) Tab found within whitespace
(#118) Line indented incorrectly; expected at least 8 spaces, found 4
(#119) Spaces must be used for alignment; tabs are not allowed
(#119) Tab found within whitespace
(#119) Line indented incorrectly; expected 4 spaces, found 3
(#120) Line indented incorrectly; expected 8 spaces, found 16
(#121) Line indented incorrectly; expected 4 spaces, found 8
(#122) Expected "} else {\n"; found "}else{ \n"
(#122) Whitespace found at end of line
(#123) Spaces must be used for alignment; tabs are not allowed
(#123) Tab found within whitespace
(#123) Line indented incorrectly; expected 4 spaces, found 1
(#123) Expected "if (...) {\n"; found "if (...){\n"
(#124) Spaces must be used for alignment; tabs are not allowed
(#124) Tab found within whitespace
(#124) Line indented incorrectly; expected at least 8 spaces, found 2
(#124) Commas (,) must be followed by white space.
(#125) Spaces must be used for alignment; tabs are not allowed
(#125) Tab found within whitespace
(#125) Line indented incorrectly; expected 4 spaces, found 1
(#126) Spaces must be used for alignment; tabs are not allowed
(#126) Tab found within whitespace
(#126) Line indented incorrectly; expected at least 4 spaces, found 1
admin/tool/untoken_oauth2/settings.php
(#36) Commas (,) must be followed by white space.
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 100% valid code; is this commented out code?
(#38) No space found before comment text; expected "// 'tool/untoken_oauth2:action'));" but found "//'tool/untoken_oauth2:action'));"
admin/tool/untoken_oauth2/tests/test_test.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
admin/tool/untoken_oauth2/version.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) 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

(15 errors, 0 warnings)

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

admin/tool/untoken_oauth2/class/sform.php
(#31) File-level phpdocs block is not found
(#34) Class sform is not documented
(#88) Class dform is not documented
(#112) Class lform is not documented
(#136) Class mform is not documented
(#43) Function sform::definition is not documented
(#66) Function sform::validation is not documented
(#91) Function dform::definition is not documented
(#115) Function lform::definition is not documented
(#139) Function mform::definition is not documented
(#34) Package is not specified for class sform. It is also not specified in file-level phpdocs
(#88) Package is not specified for class dform. It is also not specified in file-level phpdocs
(#112) Package is not specified for class lform. It is also not specified in file-level phpdocs
(#136) Package is not specified for class mform. It is also not specified in file-level phpdocs
admin/tool/untoken_oauth2/db/upgrade.php
(#36) Function xmldb_tool_untoken_oauth2_upgrade 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

(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]