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

(687 errors, 46 warnings)

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

mod/assign/submission/estream/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#6) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#6) Line 12 of the opening comment must start "//".
(#6) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Import statements must not begin with a leading backslash
(#12) Import statements must not begin with a leading backslash
(#13) Import statements must not begin with a leading backslash
(#14) Import statements must not begin with a leading backslash
(#15) Import statements must not begin with a leading backslash
(#16) Import statements must not begin with a leading backslash
(#20) Line indented incorrectly; expected 4 spaces, found 0
(#22) Spaces must be used to indent lines; tabs are not allowed
(#22) Tab found within whitespace
(#22) Line indented incorrectly; expected at least 8 spaces, found 1
(#25) Spaces must be used to indent lines; tabs are not allowed
(#25) Tab found within whitespace
(#25) Line indented incorrectly; expected at least 8 spaces, found 6
(#29) Line indented incorrectly; expected at least 8 spaces, found 4
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected at least 8 spaces, found 3
(#39) Line indented incorrectly; expected at least 8 spaces, found 4
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Whitespace found at end of line
(#41) Line indented incorrectly; expected at least 8 spaces, found 4
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#42) Whitespace found at end of line
(#43) Line indented incorrectly; expected 4 spaces, found 0
(#45) Line indented incorrectly; expected at least 4 spaces, found 1
(#46) Expected 2 space(s) before asterisk; 5 found
(#47) Expected 2 space(s) before asterisk; 5 found
(#48) Expected 2 space(s) before asterisk; 5 found
(#49) Expected 2 space(s) before asterisk; 5 found
(#50) Expected 2 space(s) before asterisk; 5 found
(#71) Whitespace found at end of line
(#79) Short array syntax must be used to define arrays
(#109) There should be a comma after the last array item in a multi-line array.
(#113) File must end with a newline character
mod/assign/submission/estream/db/access.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) Short array syntax must be used to define arrays
mod/assign/submission/estream/db/install.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) File must end with a newline character
mod/assign/submission/estream/db/upgrade.php
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Tab found within whitespace
(#27) Whitespace found at end of line
(#28) Spaces must be used to indent lines; tabs are not allowed
(#28) Tab found within whitespace
(#28) Line indented incorrectly; expected 4 spaces, found 2
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Whitespace found at end of line
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected at least 8 spaces, found 3
(#46) Closing brace indented incorrectly; expected 2 spaces, found 4
mod/assign/submission/estream/lang/en/assignsubmission_estream.php
(#19) Spaces must be used for alignment; tabs are not allowed
(#20) Spaces must be used for alignment; tabs are not allowed
(#21) Spaces must be used for alignment; tabs are not allowed
(#39) Whitespace found at end of line within string
(#60) File must end with a newline character
mod/assign/submission/estream/lib.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/estream/locallib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#27) Opening brace should be on the same line as the declaration for class assign_submission_estream
(#52) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Whitespace found at end of line
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected 12 spaces, found 6
(#67) Expected "if (...) {\n"; found "if(...){ // Multiple uploads\n"
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Whitespace found at end of line
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Line indented incorrectly; expected at least 16 spaces, found 1
(#69) Variable "CDIDs" must be all lower-case
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 16 spaces, found 5
(#70) Variable "Codes" must be all lower-case
(#70) Spaces must be used for alignment; tabs are not allowed
(#70) Tab found within whitespace
(#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 16 spaces, found 5
(#71) Variable "strReturn" must be all lower-case
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected 16 spaces, found 6
(#73) Expected "for (...) {\n"; found "for(...){\n"
(#73) Expected 1 space after first semicolon of FOR loop; 0 found
(#73) Expected 1 space before "<"; 0 found
(#73) Expected 1 space after "<"; 0 found
(#73) Variable "CDIDs" must be all lower-case
(#73) Expected 1 space after second semicolon of FOR loop; 0 found
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 20 spaces, found 4
(#75) Variable "strReturn" must be all lower-case
(#75) Expected 1 space after ".="; 0 found
(#75) Variable "CDIDs" must be all lower-case
(#76) Line indented incorrectly; expected at least 20 spaces, found 12
(#76) Variable "Codes" must be all lower-case
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Whitespace found at end of line
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected 16 spaces, found 4
(#78) Closing brace indented incorrectly; expected 6 spaces, found 4
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Whitespace found at end of line
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected at least 16 spaces, found 4
(#80) Variable "strReturn" must be all lower-case
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Whitespace found at end of line
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 16 spaces, found 10
(#82) Line exceeds maximum limit of 180 characters; contains 185 characters
(#83) Whitespace found at end of line
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected 12 spaces, found 6
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Whitespace found at end of line
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected at least 16 spaces, found 12
(#87) Line indented incorrectly; expected at least 16 spaces, found 12
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Whitespace found at end of line
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected 12 spaces, found 6
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Whitespace found at end of line
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Whitespace found at end of line
(#101) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Tab found within whitespace
(#102) Whitespace found at end of line
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Whitespace found at end of line
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected 8 spaces, found 5
(#104) Spaces must be used for alignment; tabs are not allowed
(#104) Tab found within whitespace
(#104) Whitespace found at end of line
(#105) Spaces must be used to indent lines; tabs are not allowed
(#105) Tab found within whitespace
(#105) Whitespace found at end of line
(#106) Spaces must be used to indent lines; tabs are not allowed
(#106) Tab found within whitespace
(#106) Line indented incorrectly; expected at least 12 spaces, found 4
(#107) Spaces must be used to indent lines; tabs are not allowed
(#107) Tab found within whitespace
(#107) Line indented incorrectly; expected at least 12 spaces, found 4
(#108) Spaces must be used to indent lines; tabs are not allowed
(#108) Tab found within whitespace
(#108) Whitespace found at end of line
(#109) Spaces must be used to indent lines; tabs are not allowed
(#109) Tab found within whitespace
(#109) Line indented incorrectly; expected 12 spaces, found 5
(#109) Expected "if (...) {\n"; found "if(...) { // New submission\n"
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Spaces must be used to indent lines; tabs are not allowed
(#110) Tab found within whitespace
(#110) Whitespace found at end of line
(#111) Spaces must be used to indent lines; tabs are not allowed
(#111) Tab found within whitespace
(#111) Line indented incorrectly; expected 16 spaces, found 5
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Spaces must be used to indent lines; tabs are not allowed
(#112) Tab found within whitespace
(#112) Whitespace found at end of line
(#113) Spaces must be used to indent lines; tabs are not allowed
(#113) Tab found within whitespace
(#113) Line indented incorrectly; expected 20 spaces, found 5
(#114) Spaces must be used to indent lines; tabs are not allowed
(#114) Tab found within whitespace
(#114) Whitespace found at end of line
(#115) Spaces must be used to indent lines; tabs are not allowed
(#115) Tab found within whitespace
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Line indented incorrectly; expected at least 24 spaces, found 5
(#116) Spaces must be used to indent lines; tabs are not allowed
(#116) Tab found within whitespace
(#116) Line indented incorrectly; expected at least 24 spaces, found 5
(#117) Spaces must be used to indent lines; tabs are not allowed
(#117) Tab found within whitespace
(#117) Whitespace found at end of line
(#118) Spaces must be used to indent lines; tabs are not allowed
(#118) Tab found within whitespace
(#118) Line indented incorrectly; expected at least 24 spaces, found 6
(#119) Spaces must be used to indent lines; tabs are not allowed
(#119) Tab found within whitespace
(#119) Line indented incorrectly; expected at least 24 spaces, found 5
(#120) Spaces must be used to indent lines; tabs are not allowed
(#120) Tab found within whitespace
(#120) Whitespace found at end of line
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Tab found within whitespace
(#121) Line indented incorrectly; expected 20 spaces, found 5
(#122) Spaces must be used to indent lines; tabs are not allowed
(#122) Tab found within whitespace
(#122) Whitespace found at end of line
(#123) Spaces must be used to indent lines; tabs are not allowed
(#123) Tab found within whitespace
(#123) Line indented incorrectly; expected at least 24 spaces, found 6
(#124) Spaces must be used to indent lines; tabs are not allowed
(#124) Tab found within whitespace
(#124) Whitespace found at end of line
(#125) Spaces must be used to indent lines; tabs are not allowed
(#125) Tab found within whitespace
(#125) Line indented incorrectly; expected at least 24 spaces, found 10
(#126) Spaces must be used to indent lines; tabs are not allowed
(#126) Tab found within whitespace
(#126) Line indented incorrectly; expected at least 24 spaces, found 7
(#127) Spaces must be used to indent lines; tabs are not allowed
(#127) Tab found within whitespace
(#127) Line indented incorrectly; expected at least 24 spaces, found 7
(#128) Spaces must be used to indent lines; tabs are not allowed
(#128) Tab found within whitespace
(#128) Line indented incorrectly; expected at least 24 spaces, found 7
(#129) Spaces must be used to indent lines; tabs are not allowed
(#129) Tab found within whitespace
(#129) Line indented incorrectly; expected at least 24 spaces, found 7
(#130) Spaces must be used to indent lines; tabs are not allowed
(#130) Tab found within whitespace
(#130) Line indented incorrectly; expected at least 24 spaces, found 7
(#131) Spaces must be used to indent lines; tabs are not allowed
(#131) Tab found within whitespace
(#131) Whitespace found at end of line
(#132) Spaces must be used to indent lines; tabs are not allowed
(#132) Tab found within whitespace
(#132) Line indented incorrectly; expected 20 spaces, found 5
(#133) Spaces must be used to indent lines; tabs are not allowed
(#133) Tab found within whitespace
(#133) Whitespace found at end of line
(#134) Spaces must be used to indent lines; tabs are not allowed
(#134) Tab found within whitespace
(#134) Line indented incorrectly; expected 16 spaces, found 4
(#134) Closing brace indented incorrectly; expected 5 spaces, found 4
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Spaces must be used to indent lines; tabs are not allowed
(#135) Tab found within whitespace
(#135) Whitespace found at end of line
(#136) Spaces must be used to indent lines; tabs are not allowed
(#136) Tab found within whitespace
(#136) Line indented incorrectly; expected at least 20 spaces, found 6
(#137) Spaces must be used to indent lines; tabs are not allowed
(#137) Tab found within whitespace
(#137) Whitespace found at end of line
(#138) Spaces must be used to indent lines; tabs are not allowed
(#138) Tab found within whitespace
(#138) Line indented incorrectly; expected at least 20 spaces, found 6
(#143) Spaces must be used for alignment; tabs are not allowed
(#143) Tab found within whitespace
(#143) Whitespace found at end of line
(#144) Spaces must be used to indent lines; tabs are not allowed
(#144) Tab found within whitespace
(#144) Whitespace found at end of line
(#145) Spaces must be used to indent lines; tabs are not allowed
(#145) Tab found within whitespace
(#145) Line indented incorrectly; expected 16 spaces, found 4
(#146) Spaces must be used to indent lines; tabs are not allowed
(#146) Tab found within whitespace
(#146) Whitespace found at end of line
(#147) Spaces must be used to indent lines; tabs are not allowed
(#147) Tab found within whitespace
(#147) Line indented incorrectly; expected 12 spaces, found 3
(#147) Closing brace indented incorrectly; expected 5 spaces, found 3
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Spaces must be used to indent lines; tabs are not allowed
(#148) Tab found within whitespace
(#148) Whitespace found at end of line
(#149) Spaces must be used to indent lines; tabs are not allowed
(#149) Tab found within whitespace
(#149) Line indented incorrectly; expected 16 spaces, found 4
(#149) Expected "if (...) {\n"; found "if(...) { // Overwriting with nothing\n"
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Spaces must be used to indent lines; tabs are not allowed
(#150) Tab found within whitespace
(#150) Whitespace found at end of line
(#151) Spaces must be used to indent lines; tabs are not allowed
(#151) Tab found within whitespace
(#151) Line indented incorrectly; expected 20 spaces, found 5
(#152) Spaces must be used to indent lines; tabs are not allowed
(#152) Tab found within whitespace
(#152) Whitespace found at end of line
(#153) Spaces must be used to indent lines; tabs are not allowed
(#153) Tab found within whitespace
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Line indented incorrectly; expected at least 24 spaces, found 5
(#154) Spaces must be used to indent lines; tabs are not allowed
(#154) Tab found within whitespace
(#154) Whitespace found at end of line
(#155) Spaces must be used to indent lines; tabs are not allowed
(#155) Tab found within whitespace
(#155) Line indented incorrectly; expected at least 24 spaces, found 5
(#156) Spaces must be used to indent lines; tabs are not allowed
(#156) Tab found within whitespace
(#156) Whitespace found at end of line
(#157) Spaces must be used to indent lines; tabs are not allowed
(#157) Tab found within whitespace
(#157) Line indented incorrectly; expected at least 24 spaces, found 5
(#158) Spaces must be used to indent lines; tabs are not allowed
(#158) Tab found within whitespace
(#158) Line indented incorrectly; expected at least 24 spaces, found 5
(#159) Spaces must be used to indent lines; tabs are not allowed
(#159) Tab found within whitespace
(#159) Whitespace found at end of line
(#160) Spaces must be used to indent lines; tabs are not allowed
(#160) Tab found within whitespace
(#160) Line indented incorrectly; expected 20 spaces, found 5
(#161) Spaces must be used to indent lines; tabs are not allowed
(#161) Tab found within whitespace
(#161) Whitespace found at end of line
(#162) Spaces must be used to indent lines; tabs are not allowed
(#162) Tab found within whitespace
(#162) Line indented incorrectly; expected at least 24 spaces, found 6
(#163) Spaces must be used to indent lines; tabs are not allowed
(#163) Tab found within whitespace
(#163) Whitespace found at end of line
(#164) Spaces must be used to indent lines; tabs are not allowed
(#164) Tab found within whitespace
(#164) Line indented incorrectly; expected 24 spaces, found 6
(#165) Spaces must be used to indent lines; tabs are not allowed
(#165) Tab found within whitespace
(#165) Whitespace found at end of line
(#166) Spaces must be used to indent lines; tabs are not allowed
(#166) Tab found within whitespace
(#166) Line indented incorrectly; expected at least 28 spaces, found 6
(#167) Spaces must be used to indent lines; tabs are not allowed
(#167) Tab found within whitespace
(#167) Line indented incorrectly; expected at least 28 spaces, found 6
(#168) Spaces must be used to indent lines; tabs are not allowed
(#168) Tab found within whitespace
(#168) Line indented incorrectly; expected at least 28 spaces, found 6
(#169) Spaces must be used to indent lines; tabs are not allowed
(#169) Tab found within whitespace
(#169) Line indented incorrectly; expected at least 28 spaces, found 6
(#170) Spaces must be used to indent lines; tabs are not allowed
(#170) Tab found within whitespace
(#170) Line indented incorrectly; expected at least 28 spaces, found 6
(#171) Spaces must be used to indent lines; tabs are not allowed
(#171) Tab found within whitespace
(#171) Whitespace found at end of line
(#172) Spaces must be used to indent lines; tabs are not allowed
(#172) Tab found within whitespace
(#172) Line indented incorrectly; expected 24 spaces, found 6
(#173) Spaces must be used to indent lines; tabs are not allowed
(#173) Tab found within whitespace
(#173) Whitespace found at end of line
(#173) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#174) Spaces must be used to indent lines; tabs are not allowed
(#174) Tab found within whitespace
(#174) Whitespace found at end of line
(#175) Spaces must be used to indent lines; tabs are not allowed
(#175) Tab found within whitespace
(#175) Whitespace found at end of line
(#176) Spaces must be used to indent lines; tabs are not allowed
(#176) Tab found within whitespace
(#176) Line indented incorrectly; expected at least 28 spaces, found 6
(#176) Spaces must be used for alignment; tabs are not allowed
(#176) Tab found within whitespace
(#176) Whitespace found at end of line
(#177) Spaces must be used to indent lines; tabs are not allowed
(#177) Tab found within whitespace
(#177) Whitespace found at end of line
(#178) Spaces must be used to indent lines; tabs are not allowed
(#178) Tab found within whitespace
(#178) Line indented incorrectly; expected 24 spaces, found 6
(#178) Whitespace found at end of line
(#179) Spaces must be used to indent lines; tabs are not allowed
(#179) Tab found within whitespace
(#179) Whitespace found at end of line
(#180) Spaces must be used to indent lines; tabs are not allowed
(#180) Tab found within whitespace
(#180) Line indented incorrectly; expected 20 spaces, found 5
(#181) Spaces must be used to indent lines; tabs are not allowed
(#181) Tab found within whitespace
(#181) Whitespace found at end of line
(#182) Spaces must be used to indent lines; tabs are not allowed
(#182) Tab found within whitespace
(#182) Line indented incorrectly; expected 16 spaces, found 4
(#182) Whitespace found at end of line
(#183) Spaces must be used to indent lines; tabs are not allowed
(#183) Tab found within whitespace
(#183) Whitespace found at end of line
(#184) Spaces must be used to indent lines; tabs are not allowed
(#184) Tab found within whitespace
(#184) Line indented incorrectly; expected at least 20 spaces, found 4
(#185) Spaces must be used to indent lines; tabs are not allowed
(#185) Tab found within whitespace
(#185) Whitespace found at end of line
(#190) Spaces must be used for alignment; tabs are not allowed
(#190) Tab found within whitespace
(#190) Whitespace found at end of line
(#191) Spaces must be used to indent lines; tabs are not allowed
(#191) Tab found within whitespace
(#191) Whitespace found at end of line
(#192) Spaces must be used to indent lines; tabs are not allowed
(#192) Tab found within whitespace
(#192) Line indented incorrectly; expected 16 spaces, found 4
(#193) Spaces must be used to indent lines; tabs are not allowed
(#193) Tab found within whitespace
(#193) Whitespace found at end of line
(#194) Spaces must be used to indent lines; tabs are not allowed
(#194) Tab found within whitespace
(#194) Line indented incorrectly; expected 12 spaces, found 3
(#195) Spaces must be used to indent lines; tabs are not allowed
(#195) Tab found within whitespace
(#195) Whitespace found at end of line
(#196) Closing brace indented incorrectly; expected 5 spaces, found 8
(#197) Spaces must be used to indent lines; tabs are not allowed
(#197) Tab found within whitespace
(#197) Whitespace found at end of line
(#198) Line indented incorrectly; expected at least 12 spaces, found 11
(#199) Spaces must be used to indent lines; tabs are not allowed
(#199) Tab found within whitespace
(#199) Whitespace found at end of line
(#251) Spaces must be used to indent lines; tabs are not allowed
(#251) Tab found within whitespace
(#251) Whitespace found at end of line
(#252) Spaces must be used to indent lines; tabs are not allowed
(#252) Tab found within whitespace
(#252) Line indented incorrectly; expected 4 spaces, found 1
(#253) Line indented incorrectly; expected at least 8 spaces, found 4
(#254) Line indented incorrectly; expected at least 8 spaces, found 4
(#255) Line indented incorrectly; expected 8 spaces, found 4
(#256) Line indented incorrectly; expected at least 12 spaces, found 8
(#257) Line indented incorrectly; expected 8 spaces, found 4
(#258) Line indented incorrectly; expected at least 8 spaces, found 4
(#259) Line indented incorrectly; expected 8 spaces, found 4
(#260) Line indented incorrectly; expected at least 12 spaces, found 8
(#261) Line indented incorrectly; expected 12 spaces, found 8
(#262) Line indented incorrectly; expected at least 16 spaces, found 12
(#263) Line indented incorrectly; expected 12 spaces, found 8
(#264) Line indented incorrectly; expected at least 12 spaces, found 8
(#265) Line indented incorrectly; expected at least 12 spaces, found 8
(#266) Line indented incorrectly; expected at least 12 spaces, found 8
(#267) Line indented incorrectly; expected 8 spaces, found 4
(#268) Line indented incorrectly; expected at least 8 spaces, found 4
(#269) Line indented incorrectly; expected 4 spaces, found 0
(#269) Closing brace indented incorrectly; expected 1 spaces, found 0
(#270) Spaces must be used to indent lines; tabs are not allowed
(#270) Tab found within whitespace
(#270) Whitespace found at end of line
(#271) Spaces must be used to indent lines; tabs are not allowed
(#271) Tab found within whitespace
(#271) Whitespace found at end of line
(#272) Spaces must be used to indent lines; tabs are not allowed
(#272) Tab found within whitespace
(#272) Line indented incorrectly; expected 4 spaces, found 2
(#272) Visibility must be declared on method "atto_planetestream_getchecksum"
(#273) Line indented incorrectly; expected at least 8 spaces, found 4
(#274) Line indented incorrectly; expected at least 8 spaces, found 4
(#275) Line indented incorrectly; expected at least 8 spaces, found 4
(#276) Line indented incorrectly; expected 4 spaces, found 0
(#276) Closing brace indented incorrectly; expected 2 spaces, found 0
(#279) Line indented incorrectly; expected 4 spaces, found 0
(#279) Visibility must be declared on method "atto_planetestream_getauthticket"
(#280) Line indented incorrectly; expected at least 8 spaces, found 4
(#281) Spaces must be used to indent lines; tabs are not allowed
(#281) Tab found within whitespace
(#281) Whitespace found at end of line
(#282) Spaces must be used to indent lines; tabs are not allowed
(#282) Tab found within whitespace
(#282) Inline comments must start with a capital letter, digit or 3-dots sequence
(#282) Line indented incorrectly; expected at least 8 spaces, found 1
(#282) No space found before comment text; expected "// $return = $url . "~~~" . $checksum . "~~~~" . $delta . "~~~~" . $userip;" but found "//$return = $url . "~~~" . $checksum . "~~~~" . $delta . "~~~~" . $userip;"
(#283) Line indented incorrectly; expected 8 spaces, found 4
(#284) Line indented incorrectly; expected at least 12 spaces, found 8
(#285) Line indented incorrectly; expected 12 spaces, found 8
(#286) Line indented incorrectly; expected at least 16 spaces, found 11
(#287) Spaces must be used to indent lines; tabs are not allowed
(#287) Tab found within whitespace
(#287) Inline comments must start with a capital letter, digit or 3-dots sequence
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#287) This comment is 75% valid code; is this commented out code?
(#287) Line indented incorrectly; expected at least 16 spaces, found 5
(#287) No space found before comment text; expected "// return $return;" but found "//return $return;"
(#288) Line indented incorrectly; expected 12 spaces, found 8
(#289) Line indented incorrectly; expected at least 12 spaces, found 8
(#290) Line indented incorrectly; expected at least 12 spaces, found 8
(#291) Line indented incorrectly; expected at least 12 spaces, found 8
(#292) Line indented incorrectly; expected at least 12 spaces, found 8
(#293) Line indented incorrectly; expected at least 12 spaces, found 8
(#294) Line indented incorrectly; expected at least 12 spaces, found 8
(#295) Line indented incorrectly; expected at least 12 spaces, found 8
(#296) Line indented incorrectly; expected at least 12 spaces, found 8
(#297) Line indented incorrectly; expected 12 spaces, found 8
(#298) Line indented incorrectly; expected at least 16 spaces, found 12
(#299) Line indented incorrectly; expected at least 16 spaces, found 12
(#300) Line indented incorrectly; expected at least 16 spaces, found 12
(#301) Line indented incorrectly; expected at least 16 spaces, found 12
(#302) Line indented incorrectly; expected 12 spaces, found 8
(#303) Line indented incorrectly; expected 8 spaces, found 4
(#303) Empty CATCH statement detected
(#304) Line indented incorrectly; expected at least 12 spaces, found 8
(#305) Line indented incorrectly; expected 8 spaces, found 4
(#306) Line indented incorrectly; expected at least 8 spaces, found 4
(#307) Line indented incorrectly; expected 4 spaces, found 0
(#309) Line indented incorrectly; expected 4 spaces, found 0
(#310) Inline comments must start with a capital letter, digit or 3-dots sequence
(#310) This comment is 51% valid code; is this commented out code?
(#310) Line indented incorrectly; expected at least 8 spaces, found 6
(#310) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#311) No space found before comment text; expected "// delete database record" but found "//delete database record"
(#312) Line indented incorrectly; expected at least 8 spaces, found 5
(#312) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#313) Line indented incorrectly; expected at least 8 spaces, found 6
(#313) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#314) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#316) Line indented incorrectly; expected at least 8 spaces, found 4
(#316) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#318) Inline comments must start with a capital letter, digit or 3-dots sequence
(#318) This comment is 48% valid code; is this commented out code?
(#318) No space found before comment text; expected "// delete recorded files" but found "//delete recorded files"
(#321) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#322) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#323) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#324) Inline comments must end in full-stops, exclamation marks, or question marks
(#324) Line indented incorrectly; expected at least 8 spaces, found 6
(#324) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#325) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#328) Inline comments must start with a capital letter, digit or 3-dots sequence
(#328) Inline comments must end in full-stops, exclamation marks, or question marks
(#328) This comment is 75% valid code; is this commented out code?
(#328) Line indented incorrectly; expected at least 8 spaces, found 6
(#328) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#329) Closing brace indented incorrectly; expected 0 spaces, found 4
(#331) Spaces must be used to indent lines; tabs are not allowed
(#331) Tab found within whitespace
(#331) Whitespace found at end of line
(#332) Line indented incorrectly; expected 4 spaces, found 3
(#334) Short array syntax must be used to define arrays
(#335) There should be a comma after the last array item in a multi-line array.
(#340) Whitespace found at end of line
(#351) Empty CATCH statement detected
(#353) Line indented incorrectly; expected 9 spaces, found 8
(#354) Line indented incorrectly; expected at least 9 spaces, found 8
(#355) Closing brace indented incorrectly; expected 3 spaces, found 4
(#363) Line indented incorrectly; expected at least 8 spaces, found 7
(#363) Spaces must be used for alignment; tabs are not allowed
(#363) Tab found within whitespace
(#363) Whitespace found at end of line
(#364) Spaces must be used to indent lines; tabs are not allowed
(#364) Tab found within whitespace
(#364) Line indented incorrectly; expected at least 8 spaces, found 2
(#380) Line indented incorrectly; expected 8 spaces, found 7
(#382) Closing brace indented incorrectly; expected 7 spaces, found 8
(#401) Line indented incorrectly; expected at least 8 spaces, found 7
(#405) Whitespace found at end of line
(#407) Spaces must be used to indent lines; tabs are not allowed
(#407) Tab found within whitespace
(#407) Line indented incorrectly; expected at least 8 spaces, found 5
(#408) Spaces must be used to indent lines; tabs are not allowed
(#408) Tab found within whitespace
(#408) Line indented incorrectly; expected at least 8 spaces, found 3
(#409) Line exceeds 132 characters; contains 147 characters
(#411) Short array syntax must be used to define arrays
(#412) Short array syntax must be used to define arrays
mod/assign/submission/estream/settings.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#39) Line exceeds 132 characters; contains 155 characters
(#52) File must end with a newline character
mod/assign/submission/estream/upload.php
(#31) Short array syntax must be used to define arrays
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) This comment is 78% valid code; is this commented out code?
(#32) No space found before comment text; expected "// $params['usercontextid'] = $usercontextid;" but found "//$params['usercontextid'] = $usercontextid;"
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected 0 spaces, found 1
(#35) Closing brace indented incorrectly; expected 0 spaces, found 1
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#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
(#36) Line indented incorrectly; expected at least 4 spaces, found 2
(#36) No space found before comment text; expected "// here" but found "//here"
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected 4 spaces, found 1
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected at least 8 spaces, found 2
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected 4 spaces, found 1
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected at least 8 spaces, found 2
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected 4 spaces, found 1
(#41) Spaces must be used for alignment; tabs are not allowed
(#41) Tab found within whitespace
(#41) Whitespace found at end of line
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#42) Line indented incorrectly; expected 0 spaces, found 1
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Tab found within whitespace
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected 0 spaces, found 1
(#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
(#49) No space found before comment text; expected "// may not need" but found "//may not need"
(#50) Line indented incorrectly; expected 0 spaces, found 4
(#50) Closing brace indented incorrectly; expected 1 spaces, found 4
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Whitespace found at end of line
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#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) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Line indented incorrectly; expected at least 4 spaces, found 1
(#72) No space found before comment text; expected "// $return = $url . "~~~" . $checksum . "~~~~" . $delta . "~~~~" . $userip;" but found "//$return = $url . "~~~" . $checksum . "~~~~" . $delta . "~~~~" . $userip;"
(#76) Line indented incorrectly; expected at least 12 spaces, found 11
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) This comment is 75% valid code; is this commented out code?
(#77) Line indented incorrectly; expected at least 12 spaces, found 5
(#77) No space found before comment text; expected "// return $return;" but found "//return $return;"
(#93) Empty CATCH statement detected
(#138) Line indented incorrectly; expected at least 8 spaces, found 0
(#152) Line indented incorrectly; expected 12 spaces, found 8
(#153) Line indented incorrectly; expected at least 16 spaces, found 12
(#154) Line indented incorrectly; expected 12 spaces, found 8
(#155) Line indented incorrectly; expected at least 16 spaces, found 12
(#156) Line indented incorrectly; expected 12 spaces, found 8
(#159) Line indented incorrectly; expected at least 8 spaces, found 0
(#167) Inline comments must start with a capital letter, digit or 3-dots sequence
(#167) This comment is 64% valid code; is this commented out code?
(#167) No space found before comment text; expected "// $baseurl = rtrim(get_config('assignsubmission_estream', 'url') , '/');" but found "//$baseurl = rtrim(get_config('assignsubmission_estream', 'url') , '/');"
(#168) Whitespace found at end of line
(#183) Line indented incorrectly; expected at least 8 spaces, found 0
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#192) Line exceeds maximum limit of 180 characters; contains 222 characters
(#194) Spaces must be used to indent lines; tabs are not allowed
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#195) Line exceeds maximum limit of 180 characters; contains 550 characters
(#196) Spaces must be used to indent lines; tabs are not allowed
(#196) Line indented incorrectly; expected at least 8 spaces, found 4
(#196) Whitespace found at end of line
(#199) Spaces must be used for alignment; tabs are not allowed
(#199) Tab found within whitespace
(#199) Whitespace found at end of line
(#200) Spaces must be used for alignment; tabs are not allowed
(#200) Tab found within whitespace
(#200) Whitespace found at end of line
(#203) Line indented incorrectly; expected at least 8 spaces, found 0
(#205) File must end with a newline character
mod/assign/submission/estream/version.php
(#30) File must end with a newline character

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

(12 errors, 6 warnings)

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

mod/assign/submission/estream/classes/privacy/provider.php
(#18) Class provider is not documented
(#20) Function provider::get_metadata is not documented
(#18) Package is not specified for class provider. It is also not specified in file-level phpdocs
mod/assign/submission/estream/db/install.php
(#25) Function xmldb_assignsubmission_estream_install is not documented
mod/assign/submission/estream/db/upgrade.php
(#16) File-level phpdocs block is not found
(#16) Phpdocs for function xmldb_assignsubmission_estream_upgrade has incomplete parameters list
mod/assign/submission/estream/locallib.php
(#26) Class assign_submission_estream is not documented
(#252) Function assign_submission_estream::atto_planetestream_obfuscate is not documented
(#272) Function assign_submission_estream::atto_planetestream_getchecksum is not documented
(#279) Function assign_submission_estream::atto_planetestream_getauthticket is not documented
(#309) Function assign_submission_estream::remove is not documented
(#332) Function assign_submission_estream::delete_instance is not documented
(#16) No one-line description found in phpdocs for file
(#56) Phpdocs for function assign_submission_estream::funcembedplayer has incomplete parameters list
mod/assign/submission/estream/upload.php
(#63) Function atto_planetestream_getchecksum is not documented
(#69) Function atto_planetestream_getauthticket is not documented
(#99) Function atto_planetestream_obfuscate is not documented
mod/assign/submission/estream/version.php
(#16) No one-line description found in phpdocs for file

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]