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

(816 errors, 53 warnings)

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

enrol/zilink/action.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#25) Line exceeds 132 characters; contains 137 characters
(#25) Whitespace found at end of line
(#31) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#44) Expected "if (...) {\n"; found "if(...)\n {\n"
(#55) Whitespace found at end of line
(#63) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#65) Expected "if (...) {\n"; found "if(...)\n {\n"
(#65) Commas (,) must be followed by white space.
(#72) Expected "} else {\n"; found "}\n else {\n"
(#80) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#82) Expected "if (...) {\n"; found "if(...)\n {\n"
(#82) Commas (,) must be followed by white space.
(#86) Whitespace found at end of line
(#92) Expected "} else {\n"; found "}\n else\n {\n"
enrol/zilink/custom/demo.security.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#1) Whitespace found at end of line
(#1) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Expected 1 space before "=>"; 0 found
(#5) Expected 1 space after "=>"; 0 found
(#6) Expected 1 space before "=>"; 0 found
(#6) Expected 1 space after "=>"; 0 found
(#7) Expected 1 space before "=>"; 0 found
(#7) Expected 1 space after "=>"; 0 found
(#7) Line exceeds 132 characters; contains 138 characters
(#8) Commas (,) must be followed by white space.
(#17) Expected 1 space before "=>"; 0 found
(#17) Expected 1 space after "=>"; 0 found
(#18) Expected 1 space before "=>"; 0 found
(#18) Expected 1 space after "=>"; 0 found
(#19) Expected 1 space before "=>"; 0 found
(#19) Expected 1 space after "=>"; 0 found
(#20) Commas (,) must be followed by white space.
(#20) Commas (,) must be followed by white space.
(#24) Whitespace found at end of line
(#28) Whitespace found at end of line
(#29) Line indented incorrectly; expected 4 spaces, found 7
(#29) Expected "foreach (...) {\n"; found "foreach (...)\n { \n"
(#30) Whitespace found at end of line
(#31) Variable "mdl_role" must not contain underscores.
(#31) Commas (,) must be followed by white space.
(#32) Expected "if (...) {\n"; found "if (...) \n {\n"
(#32) Variable "mdl_role" must not contain underscores.
(#32) Whitespace found at end of line
(#35) Variable "mdl_role" must not contain underscores.
(#35) Commas (,) must be followed by white space.
(#35) Expected 1 space before "=>"; 0 found
(#38) Expected "if (...) {\n"; found "if (...) \n {\n"
(#38) Variable "mdl_role" must not contain underscores.
(#38) Whitespace found at end of line
(#40) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#42) Variable "mdl_context" must not contain underscores.
(#42) Commas (,) must be followed by white space.
(#42) Variable "mdl_role" must not contain underscores.
(#43) Expected "if (...) {\n"; found "if(...)\n {\n"
(#43) Variable "mdl_context" must not contain underscores.
(#45) Variable "new_conext" must not contain underscores.
(#46) Variable "new_conext" must not contain underscores.
(#46) Variable "mdl_role" must not contain underscores.
(#47) Variable "new_conext" must not contain underscores.
(#48) Variable "new_conext" must not contain underscores.
(#51) Whitespace found at end of line
(#52) Line indented incorrectly; expected 12 spaces, found 15
(#52) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#55) Line indented incorrectly; expected 16 spaces, found 19
(#55) Expected "if (...) {\n"; found "if (...)\n {\n"
(#57) Variable "role_cap" must not contain underscores.
(#57) Variable "mdl_role" must not contain underscores.
(#57) Line exceeds 132 characters; contains 153 characters
(#58) Line indented incorrectly; expected 20 spaces, found 23
(#58) Expected "if (...) {\n"; found "if (...)\n {\n"
(#58) Variable "role_cap" must not contain underscores.
(#60) Variable "new_cap" must not contain underscores.
(#61) Variable "new_cap" must not contain underscores.
(#62) Variable "new_cap" must not contain underscores.
(#62) Variable "mdl_role" must not contain underscores.
(#63) Variable "new_cap" must not contain underscores.
(#64) Variable "new_cap" must not contain underscores.
(#65) Variable "new_cap" must not contain underscores.
(#66) Variable "new_cap" must not contain underscores.
(#67) Whitespace found at end of line
(#68) Variable "new_cap" must not contain underscores.
(#69) Line indented incorrectly; expected 20 spaces, found 22
(#69) Closing brace indented incorrectly; expected 23 spaces, found 22
(#70) Line indented incorrectly; expected 16 spaces, found 19
(#71) Closing brace indented incorrectly; expected 15 spaces, found 12
(#72) Whitespace found at end of line
(#73) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#76) Line indented incorrectly; expected 16 spaces, found 19
(#76) Expected "if (...) {\n"; found "if (...)\n {\n"
(#78) Variable "role_cap" must not contain underscores.
(#78) Line exceeds 132 characters; contains 149 characters
(#79) Line indented incorrectly; expected 20 spaces, found 23
(#79) Expected "if (...) {\n"; found "if (...)\n {\n"
(#79) Variable "role_cap" must not contain underscores.
(#81) Variable "role_cap" must not contain underscores.
(#82) Line indented incorrectly; expected 20 spaces, found 22
(#82) Closing brace indented incorrectly; expected 23 spaces, found 22
(#83) Line indented incorrectly; expected 16 spaces, found 19
(#86) Line indented incorrectly; expected 4 spaces, found 7
(#88) Expected 1 space after "=>"; 0 found
(#89) Expected 1 space after "=>"; 0 found
(#90) Commas (,) must be followed by white space.
(#93) Whitespace found at end of line
(#94) Whitespace found at end of line
(#95) Whitespace found at end of line
(#96) Whitespace found at end of line
enrol/zilink/custom/demo.setup.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#4) Whitespace found at end of line
(#5) Expected 1 space after "=>"; 0 found
(#6) Line indented incorrectly; expected 0 spaces, found 4
(#6) Expected "if (...) {\n"; found "if(...)\n {\n"
(#14) Whitespace found at end of line
(#21) Whitespace found at end of line
(#22) Commas (,) must be followed by white space.
(#23) Line indented incorrectly; expected 0 spaces, found 4
(#24) Whitespace found at end of line
(#27) Whitespace found at end of line within string
(#28) Whitespace found at end of line within string
(#29) Whitespace found at end of line within string
(#30) Whitespace found at end of line within string
(#31) Whitespace found at end of line within string
(#32) Whitespace found at end of line within string
(#33) Whitespace found at end of line within string
(#36) Whitespace found at end of line within string
(#37) Whitespace found at end of line within string
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
(#40) Whitespace found at end of line within string
(#41) Whitespace found at end of line within string
(#42) Whitespace found at end of line within string
(#43) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
(#46) Whitespace found at end of line within string
(#47) Whitespace found at end of line within string
(#48) Whitespace found at end of line within string
(#49) Whitespace found at end of line within string
(#50) Whitespace found at end of line within string
(#51) Whitespace found at end of line within string
(#52) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#54) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#67) Whitespace found at end of line within string
(#68) Whitespace found at end of line within string
(#69) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#83) Whitespace found at end of line within string
(#84) Whitespace found at end of line within string
(#85) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#96) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#99) Whitespace found at end of line within string
(#100) Whitespace found at end of line within string
(#101) Whitespace found at end of line within string
(#102) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#112) Whitespace found at end of line within string
(#113) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#115) Whitespace found at end of line within string
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#120) Whitespace found at end of line within string
(#121) Whitespace found at end of line within string
(#122) Whitespace found at end of line within string
(#123) Whitespace found at end of line within string
(#124) Whitespace found at end of line within string
(#125) Whitespace found at end of line within string
(#126) Whitespace found at end of line within string
(#127) Whitespace found at end of line within string
(#128) Whitespace found at end of line within string
(#129) Whitespace found at end of line within string
(#130) Whitespace found at end of line within string
(#131) Whitespace found at end of line within string
(#132) Whitespace found at end of line within string
(#133) Whitespace found at end of line within string
(#134) Whitespace found at end of line within string
(#135) Whitespace found at end of line within string
(#136) Whitespace found at end of line within string
(#137) Whitespace found at end of line within string
(#138) Whitespace found at end of line within string
(#139) Whitespace found at end of line within string
(#140) Whitespace found at end of line within string
(#141) Whitespace found at end of line within string
(#142) Whitespace found at end of line within string
(#143) Whitespace found at end of line within string
(#144) Whitespace found at end of line within string
(#145) Whitespace found at end of line within string
(#146) Whitespace found at end of line within string
(#147) Whitespace found at end of line within string
(#148) Whitespace found at end of line within string
(#149) Whitespace found at end of line within string
(#150) Whitespace found at end of line within string
(#151) Whitespace found at end of line within string
(#152) Whitespace found at end of line within string
(#153) Whitespace found at end of line within string
(#154) Whitespace found at end of line within string
(#155) Whitespace found at end of line within string
(#156) Whitespace found at end of line within string
(#157) Whitespace found at end of line within string
(#158) Whitespace found at end of line within string
(#159) Whitespace found at end of line within string
(#160) Whitespace found at end of line within string
(#161) Whitespace found at end of line within string
(#162) Whitespace found at end of line within string
(#163) Whitespace found at end of line within string
(#164) Whitespace found at end of line within string
(#165) Whitespace found at end of line within string
(#166) Whitespace found at end of line within string
(#167) Whitespace found at end of line within string
(#168) Whitespace found at end of line within string
(#169) Whitespace found at end of line within string
(#170) Whitespace found at end of line within string
(#171) Whitespace found at end of line within string
(#172) Whitespace found at end of line within string
(#173) Whitespace found at end of line within string
(#174) Whitespace found at end of line within string
(#175) Whitespace found at end of line within string
(#176) Whitespace found at end of line within string
(#177) Whitespace found at end of line within string
(#178) Whitespace found at end of line within string
(#179) Whitespace found at end of line within string
(#180) Whitespace found at end of line within string
(#181) Whitespace found at end of line within string
(#182) Whitespace found at end of line within string
(#183) Whitespace found at end of line within string
(#184) Whitespace found at end of line within string
(#185) Whitespace found at end of line within string
(#186) Whitespace found at end of line within string
(#187) Whitespace found at end of line within string
(#188) Whitespace found at end of line within string
(#189) Whitespace found at end of line within string
(#190) Whitespace found at end of line within string
(#191) Whitespace found at end of line within string
(#192) Whitespace found at end of line within string
(#193) Whitespace found at end of line within string
(#194) Whitespace found at end of line within string
(#195) Whitespace found at end of line within string
(#196) Whitespace found at end of line within string
(#197) Whitespace found at end of line within string
(#198) Whitespace found at end of line within string
(#199) Whitespace found at end of line within string
(#200) Whitespace found at end of line within string
(#201) Whitespace found at end of line within string
(#202) Whitespace found at end of line within string
(#203) Whitespace found at end of line within string
(#204) Whitespace found at end of line within string
(#205) Whitespace found at end of line within string
(#206) Whitespace found at end of line within string
(#207) Whitespace found at end of line within string
(#208) Whitespace found at end of line within string
(#209) Whitespace found at end of line within string
(#210) Whitespace found at end of line within string
(#211) Whitespace found at end of line within string
(#212) Whitespace found at end of line within string
(#213) Whitespace found at end of line within string
(#214) Whitespace found at end of line within string
(#215) Whitespace found at end of line within string
(#216) Whitespace found at end of line within string
(#217) Whitespace found at end of line within string
(#218) Whitespace found at end of line within string
(#219) Whitespace found at end of line within string
(#220) Whitespace found at end of line within string
(#221) Whitespace found at end of line within string
(#222) Whitespace found at end of line within string
(#223) Whitespace found at end of line within string
(#224) Whitespace found at end of line within string
(#225) Whitespace found at end of line within string
(#226) Whitespace found at end of line within string
(#227) Whitespace found at end of line within string
(#228) Whitespace found at end of line within string
(#229) Whitespace found at end of line within string
(#230) Whitespace found at end of line within string
(#231) Whitespace found at end of line within string
(#232) Whitespace found at end of line within string
(#233) Whitespace found at end of line within string
(#234) Whitespace found at end of line within string
(#237) Whitespace found at end of line within string
(#238) Whitespace found at end of line within string
(#239) Whitespace found at end of line within string
(#240) Whitespace found at end of line within string
(#243) Whitespace found at end of line within string
(#244) Whitespace found at end of line within string
(#245) Whitespace found at end of line within string
(#246) Whitespace found at end of line within string
(#249) Line exceeds maximum limit of 180 characters; contains 762 characters
(#250) Whitespace found at end of line
(#251) Line exceeds maximum limit of 180 characters; contains 7886 characters
(#252) Whitespace found at end of line
(#253) Line exceeds maximum limit of 180 characters; contains 268 characters
(#254) Whitespace found at end of line
(#255) Commas (,) must be followed by white space.
(#256) Whitespace found at end of line
(#257) Line indented incorrectly; expected 0 spaces, found 8
(#257) Expected "if (...) {\n"; found "if(...) {\n"
(#258) Commas (,) must be followed by white space.
(#259) Line indented incorrectly; expected 0 spaces, found 8
(#261) Commas (,) must be followed by white space.
(#262) Line indented incorrectly; expected 0 spaces, found 8
(#263) Whitespace found at end of line
(#264) Expected 1 space after "=>"; 0 found
(#265) Line indented incorrectly; expected 0 spaces, found 4
(#265) Expected "if (...) {\n"; found "if(...)\n {\n"
(#273) Whitespace found at end of line
(#280) Whitespace found at end of line
(#281) Commas (,) must be followed by white space.
(#282) Line indented incorrectly; expected 0 spaces, found 4
(#283) Whitespace found at end of line
(#287) Whitespace found at end of line within string
(#288) Whitespace found at end of line within string
(#289) Whitespace found at end of line within string
(#290) Whitespace found at end of line within string
(#291) Whitespace found at end of line within string
(#294) Whitespace found at end of line within string
(#295) Whitespace found at end of line within string
(#296) Whitespace found at end of line within string
(#297) Whitespace found at end of line within string
(#298) Whitespace found at end of line within string
(#299) Whitespace found at end of line within string
(#300) Whitespace found at end of line within string
(#301) Whitespace found at end of line within string
(#302) Whitespace found at end of line within string
(#303) Whitespace found at end of line within string
(#304) Whitespace found at end of line within string
(#305) Whitespace found at end of line within string
(#306) Whitespace found at end of line within string
(#307) Whitespace found at end of line within string
(#308) Whitespace found at end of line within string
(#309) Whitespace found at end of line within string
(#310) Whitespace found at end of line within string
(#311) Whitespace found at end of line within string
(#312) Whitespace found at end of line within string
(#313) Whitespace found at end of line within string
(#314) Whitespace found at end of line within string
(#315) Whitespace found at end of line within string
(#317) Whitespace found at end of line
(#318) Whitespace found at end of line within string
(#319) Whitespace found at end of line within string
(#320) Whitespace found at end of line within string
(#321) Whitespace found at end of line within string
(#322) Whitespace found at end of line within string
(#323) Whitespace found at end of line within string
(#324) Whitespace found at end of line within string
(#325) Whitespace found at end of line within string
(#326) Whitespace found at end of line within string
(#327) Whitespace found at end of line within string
(#328) Whitespace found at end of line within string
(#329) Whitespace found at end of line within string
(#330) Whitespace found at end of line within string
(#331) Whitespace found at end of line within string
(#332) Whitespace found at end of line within string
(#333) Whitespace found at end of line within string
(#334) Whitespace found at end of line within string
(#335) Whitespace found at end of line within string
(#336) Whitespace found at end of line within string
(#337) Whitespace found at end of line within string
(#338) Whitespace found at end of line within string
(#339) Whitespace found at end of line within string
(#340) Whitespace found at end of line within string
(#341) Whitespace found at end of line within string
(#342) Whitespace found at end of line within string
(#343) Whitespace found at end of line within string
(#344) Whitespace found at end of line within string
(#345) Whitespace found at end of line within string
(#346) Whitespace found at end of line within string
(#347) Whitespace found at end of line within string
(#348) Whitespace found at end of line within string
(#349) Whitespace found at end of line within string
(#350) Whitespace found at end of line within string
(#351) Whitespace found at end of line within string
(#352) Whitespace found at end of line within string
(#353) Whitespace found at end of line within string
(#354) Whitespace found at end of line within string
(#355) Whitespace found at end of line within string
(#356) Whitespace found at end of line within string
(#357) Whitespace found at end of line within string
(#358) Whitespace found at end of line within string
(#359) Whitespace found at end of line within string
(#360) Whitespace found at end of line within string
(#361) Whitespace found at end of line within string
(#362) Whitespace found at end of line within string
(#363) Whitespace found at end of line within string
(#364) Whitespace found at end of line within string
(#365) Whitespace found at end of line within string
(#366) Whitespace found at end of line within string
(#367) Whitespace found at end of line within string
(#368) Whitespace found at end of line within string
(#369) Whitespace found at end of line within string
(#370) Whitespace found at end of line within string
(#371) Whitespace found at end of line within string
(#372) Whitespace found at end of line within string
(#373) Whitespace found at end of line within string
(#374) Whitespace found at end of line within string
(#375) Whitespace found at end of line within string
(#376) Whitespace found at end of line within string
(#377) Whitespace found at end of line within string
(#378) Whitespace found at end of line within string
(#379) Whitespace found at end of line within string
(#380) Whitespace found at end of line within string
(#381) Whitespace found at end of line within string
(#382) Whitespace found at end of line within string
(#383) Whitespace found at end of line within string
(#384) Whitespace found at end of line within string
(#385) Whitespace found at end of line within string
(#386) Whitespace found at end of line within string
(#387) Whitespace found at end of line within string
(#388) Whitespace found at end of line within string
(#389) Whitespace found at end of line within string
(#390) Whitespace found at end of line
(#391) Whitespace found at end of line
(#392) Whitespace found at end of line within string
(#393) Whitespace found at end of line within string
(#394) Whitespace found at end of line within string
(#395) Whitespace found at end of line within string
(#397) Whitespace found at end of line
(#398) Whitespace found at end of line within string
(#399) Whitespace found at end of line within string
(#400) Whitespace found at end of line within string
(#403) Commas (,) must be followed by white space.
(#404) Whitespace found at end of line
(#405) Line indented incorrectly; expected 0 spaces, found 8
(#405) Expected "if (...) {\n"; found "if(...) {\n"
(#406) Commas (,) must be followed by white space.
(#407) Line indented incorrectly; expected 0 spaces, found 8
(#409) Commas (,) must be followed by white space.
(#410) Line indented incorrectly; expected 0 spaces, found 8
(#411) Whitespace found at end of line
(#412) Whitespace found at end of line
(#413) Whitespace found at end of line
(#414) Expected 1 space after "=>"; 0 found
(#415) Line indented incorrectly; expected 0 spaces, found 4
(#415) Expected "if (...) {\n"; found "if(...)\n {\n"
(#423) Whitespace found at end of line
(#430) Whitespace found at end of line
(#431) Commas (,) must be followed by white space.
(#432) Line indented incorrectly; expected 0 spaces, found 4
(#432) Whitespace found at end of line
(#433) Whitespace found at end of line
(#437) Whitespace found at end of line within string
(#438) Whitespace found at end of line within string
(#439) Whitespace found at end of line within string
(#440) Whitespace found at end of line within string
(#441) Whitespace found at end of line within string
(#442) Whitespace found at end of line within string
(#443) Whitespace found at end of line within string
(#444) Whitespace found at end of line within string
(#445) Whitespace found at end of line within string
(#446) Whitespace found at end of line within string
(#447) Whitespace found at end of line within string
(#448) Whitespace found at end of line within string
(#449) Whitespace found at end of line within string
(#450) Whitespace found at end of line within string
(#451) Whitespace found at end of line within string
(#452) Whitespace found at end of line within string
(#453) Whitespace found at end of line within string
(#456) Whitespace found at end of line within string
(#457) Whitespace found at end of line within string
(#458) Whitespace found at end of line within string
(#459) Whitespace found at end of line within string
(#462) Commas (,) must be followed by white space.
(#463) Whitespace found at end of line
(#464) Line indented incorrectly; expected 0 spaces, found 8
(#464) Expected "if (...) {\n"; found "if(...) {\n"
(#465) Commas (,) must be followed by white space.
(#466) Line indented incorrectly; expected 0 spaces, found 8
(#468) Commas (,) must be followed by white space.
(#469) Line indented incorrectly; expected 0 spaces, found 8
(#472) Commas (,) must be followed by white space.
(#473) Line indented incorrectly; expected 0 spaces, found 4
(#473) Expected "if (...) {\n"; found "if(...)\n {\n"
(#477) Whitespace found at end of line within string
(#478) Whitespace found at end of line within string
(#479) Whitespace found at end of line within string
(#480) Whitespace found at end of line within string
(#481) Whitespace found at end of line within string
(#482) Whitespace found at end of line within string
(#483) Whitespace found at end of line within string
(#484) Whitespace found at end of line within string
(#485) Whitespace found at end of line within string
(#486) Whitespace found at end of line within string
(#487) Whitespace found at end of line within string
(#488) Whitespace found at end of line within string
(#489) Whitespace found at end of line within string
(#490) Whitespace found at end of line within string
(#491) Whitespace found at end of line within string
(#492) Whitespace found at end of line within string
(#493) Whitespace found at end of line within string
(#494) Whitespace found at end of line within string
(#495) Whitespace found at end of line within string
(#496) Whitespace found at end of line within string
(#497) Whitespace found at end of line within string
(#498) Whitespace found at end of line within string
(#499) Whitespace found at end of line within string
(#500) Whitespace found at end of line within string
(#501) Whitespace found at end of line within string
(#502) Whitespace found at end of line within string
(#503) Whitespace found at end of line within string
(#504) Whitespace found at end of line within string
(#506) Whitespace found at end of line
(#507) Whitespace found at end of line
(#508) Commas (,) must be followed by white space.
(#509) Line indented incorrectly; expected 0 spaces, found 4
(#510) Whitespace found at end of line
(#511) Whitespace found at end of line
enrol/zilink/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
enrol/zilink/edit.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#45) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#48) Expected 1 space after "=>"; 2 found
(#49) Expected 1 space after "=>"; 2 found
(#50) Expected 1 space after "=>"; 2 found
(#55) Expected 1 space before "=>"; 0 found
(#55) Expected 1 space after "=>"; 0 found
(#63) Expected 1 space before "=>"; 0 found
(#63) Expected 1 space after "=>"; 0 found
(#63) Expected 1 space before "=>"; 0 found
(#63) Expected 1 space after "=>"; 0 found
(#63) Expected 1 space before "=>"; 0 found
(#63) Expected 1 space after "=>"; 0 found
(#63) Line exceeds 132 characters; contains 135 characters
(#70) Expected 1 space before "=>"; 0 found
(#70) Expected 1 space after "=>"; 0 found
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#95) Line exceeds 132 characters; contains 155 characters
(#101) Whitespace found at end of line
(#102) Expected "} else {\n"; found "} else {\n"
(#103) Whitespace found at end of line
(#104) Expected "foreach (...) {\n"; found "foreach(...)\n {\n"
(#106) Commas (,) must be followed by white space.
(#106) Commas (,) must be followed by white space.
(#107) Commas (,) must be followed by white space.
(#108) Expected "if (...) {\n"; found "if(...) \n {\n"
(#108) Whitespace found at end of line
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space after "=>"; 0 found
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space after "=>"; 0 found
(#116) Line exceeds 132 characters; contains 164 characters
enrol/zilink/edit_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Visibility must be declared on method "definition"
(#40) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#47) Commas (,) must be followed by white space.
(#50) Expected 1 space before "=>"; 0 found
(#50) Expected 1 space after "=>"; 0 found
(#51) Expected 1 space before "=>"; 0 found
(#51) Expected 1 space after "=>"; 0 found
(#60) Whitespace found at end of line
(#65) Commas (,) must be followed by white space.
(#70) Whitespace found at end of line
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#80) Expected "if (...) {\n"; found "if(...) {\n"
(#80) Commas (,) must be followed by white space.
(#85) Whitespace found at end of line
(#86) Expected "if (...) {\n"; found "if(...) {\n"
(#89) Line exceeds maximum limit of 180 characters; contains 187 characters
(#90) Whitespace found at end of line
(#92) Commas (,) must be followed by white space.
(#96) Whitespace found at end of line
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) This comment is 73% valid code; is this commented out code?
(#97) No space found before comment text; expected "// $mform->addRule('customint1', get_string('required'), 'required', null, 'client');" but found "//$mform->addRule('customint1', get_string('required'), 'required', null, 'client');"
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#129) Visibility must be declared on method "validation"
(#134) Line exceeds 132 characters; contains 138 characters
(#134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) This comment is 85% valid code; is this commented out code?
(#134) No space found before comment text; expected "// $params = array('roleid'=>$data['roleid'], 'customint1'=>$data['customint1'], 'courseid'=>$data['courseid'], 'id'=>$data['id']);" but found "//$params = array('roleid'=>$data['roleid'], 'customint1'=>$data['customint1'], 'courseid'=>$data['courseid'], 'id'=>$data['id']);"
(#135) Whitespace found at end of line
(#136) Line exceeds 132 characters; contains 169 characters
(#136) This comment is 73% valid code; is this commented out code?
(#136) Inline comments must start with a capital letter, digit or 3-dots sequence
(#136) No space found before comment text; expected "// if ($DB->record_exists_select('enrol', "roleid = :roleid AND customint1 = :customint1 AND courseid = :courseid AND enrol = 'cohort' AND id <> :id", $params)) {" but found "//if ($DB->record_exists_select('enrol', "roleid = :roleid AND customint1 = :customint1 AND courseid = :courseid AND enrol = 'cohort' AND id <> :id", $params)) {"
(#137) This comment is 63% valid code; is this commented out code?
(#137) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) This comment is 100% valid code; is this commented out code?
(#138) No space found before comment text; expected "// }" but found "//}"
enrol/zilink/lang/en/enrol_zilink.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#9) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No space found before comment text; expected "// Capabilities" but found "//Capabilities"
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) No space found before comment text; expected "// ACCOUNT SYNC" but found "//ACCOUNT SYNC"
enrol/zilink/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) 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,".
(#5) 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".
(#5) 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/>.".
(#16) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#16) Scope modifier not specified for member variable "$tab"
(#17) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#17) Scope modifier not specified for member variable "$data"
(#18) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#18) Scope modifier not specified for member variable "$matched"
(#19) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#19) Scope modifier not specified for member variable "$matcheduser"
(#20) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#20) Scope modifier not specified for member variable "$userrole"
(#21) Whitespace found at end of line
(#23) Opening brace should be on the same line as the declaration
(#24) Whitespace found at end of line
(#26) Whitespace found at end of line
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Expected 1 space before "=>"; 0 found
(#48) Expected 1 space after "=>"; 0 found
(#48) Expected 1 space before "=>"; 0 found
(#48) Expected 1 space after "=>"; 0 found
(#48) Expected 1 space before "=>"; 0 found
(#48) Expected 1 space after "=>"; 0 found
(#48) Line exceeds 132 characters; contains 157 characters
(#51) Whitespace found at end of line
(#58) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#61) Expected 1 space before "=>"; 0 found
(#61) Expected 1 space after "=>"; 0 found
(#61) Expected 1 space before "=>"; 0 found
(#61) Expected 1 space after "=>"; 0 found
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#68) Whitespace found at end of line
(#70) Commas (,) must be followed by white space.
(#71) Whitespace found at end of line
(#73) Whitespace found at end of line
(#75) Line indented incorrectly; expected 8 spaces, found 10
(#77) Line indented incorrectly; expected 8 spaces, found 10
(#78) Whitespace found at end of line
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) No space found before comment text; expected "// first unenrol all users" but found "//first unenrol all users"
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#81) Line indented incorrectly; expected 8 spaces, found 10
(#83) Line indented incorrectly; expected 8 spaces, found 10
(#85) Whitespace found at end of line
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#88) Expected 1 space before "=>"; 0 found
(#88) Expected 1 space after "=>"; 0 found
(#89) Whitespace found at end of line
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Expected 1 space before "=>"; 0 found
(#91) Expected 1 space after "=>"; 0 found
(#92) Whitespace found at end of line
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Line indented incorrectly; expected 4 spaces, found 6
(#96) Closing brace indented incorrectly; expected 4 spaces, found 6
(#97) Whitespace found at end of line
(#105) Whitespace found at end of line
(#109) Spaces must be used to indent lines; tabs are not allowed
(#109) Tab found within whitespace
(#109) Whitespace found at end of line
(#111) Expected 5 space(s) before asterisk; 4 found
(#112) Expected 5 space(s) before asterisk; 4 found
(#113) Expected 5 space(s) before asterisk; 4 found
(#114) Expected 5 space(s) before asterisk; 4 found
(#115) Expected 5 space(s) before asterisk; 4 found
(#116) Visibility must be declared on method "enrol_zilink_supports"
(#116) Whitespace found at end of line
(#117) Opening brace should be on the same line as the declaration
(#118) Whitespace found at end of line
(#120) Closing brace must be on a line by itself
(#122) Closing brace must be on a line by itself
(#125) Whitespace found at end of line
(#127) Expected 5 space(s) before asterisk; 4 found
(#128) Expected 5 space(s) before asterisk; 4 found
(#129) Expected 5 space(s) before asterisk; 4 found
(#130) Expected 5 space(s) before asterisk; 4 found
(#131) Expected 5 space(s) before asterisk; 4 found
(#137) Whitespace found at end of line
(#139) Whitespace found at end of line
(#143) Whitespace found at end of line
(#149) Whitespace found at end of line
(#151) Whitespace found at end of line
(#153) Inline comments must start with a capital letter, digit or 3-dots sequence
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) This comment is 75% valid code; is this commented out code?
(#153) No space found before comment text; expected "// require_capability('moodle/course:enrolconfig', $this->get_context());" but found "//require_capability('moodle/course:enrolconfig', $this->get_context());"
(#157) Whitespace found at end of line
(#159) No space found before comment text; expected "// FIXME check this" but found "//FIXME check this"
(#160) This comment is 68% valid code; is this commented out code?
(#160) No space found before comment text; expected "// if (!array_key_exists($cohortid, $cohorts) || !array_key_exists($roleid, $roles)) {" but found "//if (!array_key_exists($cohortid, $cohorts) || !array_key_exists($roleid, $roles)) {"
(#161) This comment is 60% valid code; is this commented out code?
(#161) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) This comment is 100% valid code; is this commented out code?
(#162) No space found before comment text; expected "// }" but found "//}"
(#165) Expected 1 space before "=>"; 0 found
(#165) Expected 1 space after "=>"; 0 found
(#165) Expected 1 space before "=>"; 0 found
(#165) Expected 1 space after "=>"; 0 found
(#170) This comment is 54% valid code; is this commented out code?
(#172) Whitespace found at end of line
(#173) Whitespace found at end of line
(#175) Whitespace found at end of line
(#176) Line exceeds 132 characters; contains 133 characters
(#205) Whitespace found at end of line
(#209) Line exceeds maximum limit of 180 characters; contains 183 characters
(#216) A closing tag is not permitted at the end of a PHP file
enrol/zilink/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".

Javascript coding style problems

(125 errors, 27 warnings)

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

enrol/zilink/module.js
(#1) Identifier 'enrol_zilink_cohort_list' is not in camel case. (camelcase)
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Trailing spaces not allowed. (no-trailing-spaces)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Trailing spaces not allowed. (no-trailing-spaces)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Trailing spaces not allowed. (no-trailing-spaces)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Trailing spaces not allowed. (no-trailing-spaces)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Trailing spaces not allowed. (no-trailing-spaces)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) 'uri' is not defined. (no-undef)
(#18) Infix operators must be spaced. (space-infix-ops)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Trailing spaces not allowed. (no-trailing-spaces)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) 'uri' is not defined. (no-undef)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Trailing spaces not allowed. (no-trailing-spaces)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Infix operators must be spaced. (space-infix-ops)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Infix operators must be spaced. (space-infix-ops)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Infix operators must be spaced. (space-infix-ops)
(#27) Infix operators must be spaced. (space-infix-ops)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Infix operators must be spaced. (space-infix-ops)
(#28) Infix operators must be spaced. (space-infix-ops)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Trailing spaces not allowed. (no-trailing-spaces)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Trailing spaces not allowed. (no-trailing-spaces)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#35) Expected space(s) after "for". (keyword-spacing)
(#35) 'i' is not defined. (no-undef)
(#35) Infix operators must be spaced. (space-infix-ops)
(#35) Infix operators must be spaced. (space-infix-ops)
(#35) Missing whitespace after semicolon. (semi-spacing)
(#35) 'i' is not defined. (no-undef)
(#35) Infix operators must be spaced. (space-infix-ops)
(#35) Missing whitespace after semicolon. (semi-spacing)
(#35) 'i' is not defined. (no-undef)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) 'i' is not defined. (no-undef)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Trailing spaces not allowed. (no-trailing-spaces)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Trailing spaces not allowed. (no-trailing-spaces)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Unexpected console statement. (no-console)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#43) Expected space(s) after "if". (keyword-spacing)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) 'elOptNew' is not defined. (no-undef)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) 'elOptNew' is not defined. (no-undef)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) 'elOptNew' is not defined. (no-undef)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Trailing spaces not allowed. (no-trailing-spaces)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) 'elOptNew' is not defined. (no-undef)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#52) Expected space(s) after "catch". (keyword-spacing)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) 'elOptNew' is not defined. (no-undef)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Trailing spaces not allowed. (no-trailing-spaces)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) 's' is not defined. (no-undef)
(#57) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#58) Trailing spaces not allowed. (no-trailing-spaces)
(#58) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#59) 'elOptNew' is not defined. (no-undef)
(#59) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#60) 'elOptNew' is not defined. (no-undef)
(#60) 's' is not defined. (no-undef)
(#60) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#61) 'elOptNew' is not defined. (no-undef)
(#61) 's' is not defined. (no-undef)
(#61) Trailing spaces not allowed. (no-trailing-spaces)
(#61) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#62) Trailing spaces not allowed. (no-trailing-spaces)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#64) 'elOptNew' is not defined. (no-undef)
(#64) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#65) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#66) Expected space(s) after "catch". (keyword-spacing)
(#66) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#66) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#67) 'elOptNew' is not defined. (no-undef)
(#67) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#68) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#69) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#70) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#71) Trailing spaces not allowed. (no-trailing-spaces)
(#71) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#72) Expected space or tab after '//' in comment. (spaced-comment)
(#72) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#73) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#74) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#75) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#76) Expected space or tab after '//' in comment. (spaced-comment)
(#76) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#77) Expected space or tab after '//' in comment. (spaced-comment)
(#77) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#78) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#79) Expected space or tab after '//' in comment. (spaced-comment)
(#79) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#80) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#81) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#82) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#83) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#84) A space is required after ','. (comma-spacing)
(#84) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#85) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#86) Missing semicolon. (semi)
(#86) Trailing spaces not allowed. (no-trailing-spaces)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(30 errors, 7 warnings)

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

enrol/zilink/action.php
(#2) Empty line found after PHP open tag
(#22) Package enrol_zilink_cohort is not valid
enrol/zilink/custom/demo.security.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
enrol/zilink/custom/demo.setup.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
enrol/zilink/db/access.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
enrol/zilink/edit.php
(#20) Package enrol_zilink_cohort is not valid
enrol/zilink/edit_form.php
(#29) Class enrol_zilink_cohort_edit_form is not documented
(#31) Function enrol_zilink_cohort_edit_form::definition is not documented
(#129) Function enrol_zilink_cohort_edit_form::validation is not documented
(#20) Package enrol_cohort is not valid
enrol/zilink/lang/en/enrol_zilink.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
enrol/zilink/lib.php
(#2) Empty line found after PHP open tag
(#14) Class enrol_zilink_plugin is not documented
(#148) Class zilink_course_enrolment_manager is not documented
(#22) Function enrol_zilink_plugin::get_name is not documented
(#27) Function enrol_zilink_plugin::roles_protected is not documented
(#32) Function enrol_zilink_plugin::allow_enrol is not documented
(#37) Function enrol_zilink_plugin::allow_unenrol is not documented
(#42) Function enrol_zilink_plugin::allow_manage is not documented
(#47) Function enrol_zilink_plugin::add_default_instance is not documented
(#69) Function enrol_zilink_plugin::delete_instance is not documented
(#98) Function enrol_zilink_plugin::can_add_new_instances is not documented
(#138) Function enrol_zilink_plugin::can_delete_instance is not documented
(#150) Function zilink_course_enrolment_manager::enrol_cohort is not documented
(#16) Variable enrol_zilink_plugin::$tab is not documented
(#17) Variable enrol_zilink_plugin::$data is not documented
(#18) Variable enrol_zilink_plugin::$matched is not documented
(#19) Variable enrol_zilink_plugin::$matcheduser is not documented
(#20) Variable enrol_zilink_plugin::$userrole is not documented
(#54) Phpdocs for function enrol_zilink_plugin::add_instance has incomplete parameters list
(#6) Package enrol is not valid
enrol/zilink/version.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found

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]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

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]