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

(389 errors, 207 warnings)

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

mod/goone/backup/moodle2/backup_goone_stepslib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#47) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
mod/goone/backup/moodle2/restore_goone_activity_task.class.php
(#58) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
mod/goone/backup/moodle2/restore_goone_stepslib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) Short array syntax must be used to define arrays
mod/goone/bulk.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#46) Short array syntax must be used to define arrays
(#46) Line exceeds maximum limit of 180 characters; contains 218 characters
(#48) Short array syntax must be used to define arrays
mod/goone/classes/completion/custom_completion.php
(#47) Short array syntax must be used to define arrays
(#74) There should be a comma after the last array item in a multi-line array.
mod/goone/classes/privacy/provider.php
(#37) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/goone/classes/settings/setting_statictext.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/goone/datamodel.php
(#38) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
mod/goone/db/access.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#48) There should be a comma after the last array item in a multi-line array.
(#51) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
mod/goone/db/caches.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#30) There should be a comma after the last array item in a multi-line array.
(#31) There should be a comma after the last array item in a multi-line array.
mod/goone/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#49) Expected "if (...) {\n"; found "if(...){ \n"
(#49) Whitespace found at end of line
(#51) Whitespace found at end of line
mod/goone/externallib.php
(#63) There should be a comma after the last array item in a multi-line array.
(#106) There should be a comma after the last array item in a multi-line array.
(#117) There should be a comma after the last array item in a multi-line array.
(#134) Line exceeds 132 characters; contains 133 characters
(#149) There should be a comma after the last array item in a multi-line array.
(#195) There should be a comma after the last array item in a multi-line array.
(#197) Whitespace found at end of line
(#206) There should be a comma after the last array item in a multi-line array.
(#217) There should be a comma after the last array item in a multi-line array.
(#241) There should be a comma after the last array item in a multi-line array.
(#248) Whitespace found at end of line
(#252) Whitespace found at end of line
(#261) There should be a comma after the last array item in a multi-line array.
(#271) There should be a comma after the last array item in a multi-line array.
(#272) Line indented incorrectly; expected at least 12 spaces, found 8
(#290) Whitespace found at end of line
(#291) Expected 1 space before "=>"; 0 found
(#292) There should be a comma after the last array item in a multi-line array.
(#302) There should be a comma after the last array item in a multi-line array.
(#307) Variable "course_section" must not contain underscores.
(#308) Variable "course_section" must not contain underscores.
(#322) Whitespace found at end of line
(#323) Expected 1 space before "=>"; 0 found
(#324) There should be a comma after the last array item in a multi-line array.
(#334) There should be a comma after the last array item in a multi-line array.
mod/goone/index.php
(#31) Short array syntax must be used to define arrays
mod/goone/lang/en/goone.php
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Expected 1 space after "="; 2 found
(#109) Expected 1 space after "="; 2 found
(#110) Expected 1 space after "="; 2 found
(#111) Expected 1 space after "="; 2 found
(#150) File must end with a newline character
mod/goone/lib.php
(#54) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#80) There should be a comma after the last array item in a multi-line array.
(#173) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#193) Short array syntax must be used to define arrays
(#205) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#221) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#269) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#302) There should be a comma after the last array item in a multi-line array.
(#334) Short array syntax must be used to define arrays
(#377) Short array syntax must be used to define arrays
(#469) Short array syntax must be used to define arrays
(#514) Short array syntax must be used to define arrays
(#581) Short array syntax must be used to define arrays
(#586) There should be a comma after the last array item in a multi-line array.
(#640) Short array syntax must be used to define arrays
(#650) Logical operator "and" is prohibited; use "&&" instead
(#650) Logical operator "or" is prohibited; use "||" instead
(#678) Short array syntax must be used to define arrays
(#680) Short array syntax must be used to define arrays
(#734) Short array syntax must be used to define arrays
(#780) Short array syntax must be used to define arrays
(#786) Short array syntax must be used to define arrays
(#814) Inline comments must end in full-stops, exclamation marks, or question marks
(#820) Whitespace found at end of line
(#829) Variable "la_minmax" must not contain underscores.
(#829) Short array syntax must be used to define arrays
(#832) Variable "la_minmax" must not contain underscores.
(#832) Short array syntax must be used to define arrays
(#832) Expected 1 space before "=>"; 0 found
(#832) Expected 1 space after "=>"; 0 found
(#832) Commas (,) must be followed by white space.
(#832) Expected 1 space before "=>"; 0 found
(#832) Expected 1 space after "=>"; 0 found
(#835) Variable "la_minmax" must not contain underscores.
(#835) Short array syntax must be used to define arrays
(#835) Expected 1 space before "=>"; 0 found
(#835) Expected 1 space after "=>"; 0 found
(#835) Commas (,) must be followed by white space.
(#835) Expected 1 space before "=>"; 0 found
(#835) Expected 1 space after "=>"; 0 found
(#838) Variable "la_minmax" must not contain underscores.
(#838) Short array syntax must be used to define arrays
(#838) Expected 1 space before "=>"; 0 found
(#838) Expected 1 space after "=>"; 0 found
(#838) Commas (,) must be followed by white space.
(#838) Expected 1 space before "=>"; 0 found
(#838) Expected 1 space after "=>"; 0 found
(#841) Line indented incorrectly; expected at least 12 spaces, found 11
(#841) Variable "la_minmax" must not contain underscores.
(#841) Short array syntax must be used to define arrays
(#841) Expected 1 space before "=>"; 0 found
(#841) Expected 1 space after "=>"; 0 found
(#844) Variable "la_minmax" must not contain underscores.
(#863) Short array syntax must be used to define arrays
(#868) There should be a comma after the last array item in a multi-line array.
(#920) Line exceeds 132 characters; contains 161 characters
(#931) Expected 1 space before ".="; 0 found
(#931) Expected 1 space after ".="; 0 found
(#933) Line exceeds 132 characters; contains 135 characters
(#942) Logical operator "and" is prohibited; use "&&" instead
(#942) Logical operator "or" is prohibited; use "||" instead
(#993) Short array syntax must be used to define arrays
(#995) Whitespace found at end of line within string
(#996) Whitespace found at end of line within string
(#997) Whitespace found at end of line within string
(#1002) Whitespace found at end of line within string
(#1003) Whitespace found at end of line within string
(#1011) Short array syntax must be used to define arrays
(#1011) Expected 1 space before "=>"; 0 found
(#1011) Expected 1 space after "=>"; 0 found
(#1012) Variable "la_coursesections" must not contain underscores.
(#1013) Line indented incorrectly; expected 12 spaces, found 13
(#1014) Whitespace found at end of line
(#1018) Line indented incorrectly; expected at least 20 spaces, found 19
(#1021) Variable "la_coursesections" must not contain underscores.
(#1021) Short array syntax must be used to define arrays
(#1021) Expected 1 space before "=>"; 0 found
(#1021) Expected 1 space after "=>"; 0 found
(#1021) Expected 1 space before "=>"; 0 found
(#1021) Expected 1 space after "=>"; 0 found
(#1022) Line indented incorrectly; expected 12 spaces, found 13
(#1023) Variable "la_coursesections" must not contain underscores.
(#1026) Variable "la_searchresult" must not contain underscores.
(#1028) Variable "la_searchresult" must not contain underscores.
(#1042) Space found before semicolon; expected "0;" but found "0 ;"
(#1043) Expected 1 space after "="; 0 found
(#1045) Line indented incorrectly; expected 4 spaces, found 3
(#1050) Whitespace found at end of line
(#1051) Short array syntax must be used to define arrays
(#1051) Expected 1 space before "=>"; 0 found
(#1051) Expected 1 space after "=>"; 0 found
(#1051) Expected 1 space before "=>"; 0 found
(#1051) Expected 1 space after "=>"; 0 found
(#1052) Commas (,) must be followed by white space.
(#1052) Whitespace found at end of line
(#1053) Short array syntax must be used to define arrays
(#1053) Expected 1 space before "=>"; 0 found
(#1053) Expected 1 space after "=>"; 0 found
(#1053) Expected 1 space before "=>"; 0 found
(#1053) Expected 1 space after "=>"; 0 found
(#1059) Whitespace found at end of line
(#1061) Line indented incorrectly; expected 4 spaces, found 3
(#1062) Variable "la_items" must not contain underscores.
(#1063) Short array syntax must be used to define arrays
(#1064) Line indented incorrectly; expected 8 spaces, found 10
(#1064) Variable "la_items" must not contain underscores.
(#1065) Inline control structures are not allowed
(#1067) Line indented incorrectly; expected 12 spaces, found 14
(#1068) Line indented incorrectly; expected 16 spaces, found 18
(#1069) Line indented incorrectly; expected 20 spaces, found 24
(#1069) Empty IF statement detected
(#1070) Line indented incorrectly; expected 20 spaces, found 24
(#1072) Line indented incorrectly; expected 20 spaces, found 24
(#1072) Whitespace found at end of line
(#1073) Space found before semicolon; expected "id;" but found "id ;"
(#1074) Line indented incorrectly; expected 16 spaces, found 20
(#1074) Closing brace indented incorrectly; expected 18 spaces, found 20
(#1076) Line indented incorrectly; expected 16 spaces, found 20
(#1077) Line indented incorrectly; expected 12 spaces, found 14
(#1078) Line indented incorrectly; expected 8 spaces, found 7
(#1078) Closing brace indented incorrectly; expected 10 spaces, found 7
(#1079) Line indented incorrectly; expected at least 8 spaces, found 7
(#1080) Line indented incorrectly; expected 8 spaces, found 7
(#1081) Line indented incorrectly; expected at least 12 spaces, found 8
(#1081) Whitespace found at end of line
(#1082) Line indented incorrectly; expected at least 12 spaces, found 8
(#1083) Line indented incorrectly; expected at least 12 spaces, found 8
(#1083) Short array syntax must be used to define arrays
(#1083) Expected 1 space before "=>"; 0 found
(#1083) Expected 1 space after "=>"; 0 found
(#1083) Expected 1 space before "=>"; 0 found
(#1083) Expected 1 space after "=>"; 0 found
(#1083) Short array syntax must be used to define arrays
(#1083) Expected 1 space before "=>"; 0 found
(#1083) Expected 1 space after "=>"; 0 found
(#1083) Expected 1 space before "=>"; 0 found
(#1083) Expected 1 space after "=>"; 0 found
(#1083) Line exceeds maximum limit of 180 characters; contains 183 characters
(#1084) Line indented incorrectly; expected at least 12 spaces, found 8
(#1084) Commas (,) must be followed by white space.
(#1085) Line indented incorrectly; expected 8 spaces, found 7
(#1086) Line indented incorrectly; expected at least 8 spaces, found 7
(#1087) Line indented incorrectly; expected at least 8 spaces, found 7
(#1088) Closing brace indented incorrectly; expected 3 spaces, found 4
(#1099) Line indented incorrectly; expected 4 spaces, found 3
(#1104) Commas (,) must be followed by white space.
(#1104) Whitespace found at end of line
(#1105) Short array syntax must be used to define arrays
(#1105) Expected 1 space before "=>"; 0 found
(#1105) Expected 1 space after "=>"; 0 found
(#1105) Expected 1 space before "=>"; 0 found
(#1105) Expected 1 space after "=>"; 0 found
(#1106) Commas (,) must be followed by white space.
(#1106) Whitespace found at end of line
(#1107) Short array syntax must be used to define arrays
(#1107) Expected 1 space before "=>"; 0 found
(#1107) Expected 1 space after "=>"; 0 found
(#1107) Expected 1 space before "=>"; 0 found
(#1107) Expected 1 space after "=>"; 0 found
(#1113) Whitespace found at end of line
(#1115) Line indented incorrectly; expected 4 spaces, found 3
(#1116) Line indented incorrectly; expected at least 8 spaces, found 6
(#1116) Variable "la_items" must not contain underscores.
(#1117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1117) Inline comments must end in full-stops, exclamation marks, or question marks
(#1117) Line indented incorrectly; expected at least 8 spaces, found 6
(#1117) Whitespace found at end of line
(#1118) Line indented incorrectly; expected 8 spaces, found 6
(#1119) Line indented incorrectly; expected at least 12 spaces, found 8
(#1120) Line indented incorrectly; expected 8 spaces, found 6
(#1121) Line indented incorrectly; expected 8 spaces, found 6
(#1121) Variable "la_items" must not contain underscores.
(#1122) Line indented incorrectly; expected at least 12 spaces, found 8
(#1122) Inline control structures are not allowed
(#1122) Whitespace found at end of line
(#1123) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1123) Inline comments must end in full-stops, exclamation marks, or question marks
(#1123) Line indented incorrectly; expected at least 12 spaces, found 8
(#1124) Line indented incorrectly; expected at least 12 spaces, found 8
(#1125) Line indented incorrectly; expected 12 spaces, found 8
(#1126) Line indented incorrectly; expected 16 spaces, found 12
(#1127) Line indented incorrectly; expected at least 20 spaces, found 16
(#1128) Line indented incorrectly; expected 16 spaces, found 12
(#1128) Whitespace found at end of line
(#1129) Line indented incorrectly; expected 12 spaces, found 8
(#1130) Line indented incorrectly; expected 8 spaces, found 6
(#1131) Line indented incorrectly; expected at least 8 spaces, found 6
(#1131) Short array syntax must be used to define arrays
(#1131) Expected 1 space before "=>"; 0 found
(#1131) Expected 1 space after "=>"; 0 found
(#1131) Expected 1 space before "=>"; 0 found
(#1131) Expected 1 space after "=>"; 0 found
(#1131) Line exceeds 132 characters; contains 159 characters
(#1132) Line indented incorrectly; expected at least 8 spaces, found 6
(#1132) Short array syntax must be used to define arrays
(#1132) Expected 1 space before "=>"; 0 found
(#1132) Expected 1 space after "=>"; 0 found
(#1132) Expected 1 space before "=>"; 0 found
(#1132) Expected 1 space after "=>"; 0 found
(#1132) Line exceeds 132 characters; contains 160 characters
(#1133) Line indented incorrectly; expected at least 8 spaces, found 6
(#1134) Line indented incorrectly; expected 4 spaces, found 3
(#1144) Variable "course_section" must not contain underscores.
(#1146) Variable "la_coursesection" must not contain underscores.
(#1146) Variable "course_section" must not contain underscores.
(#1147) Variable "la_selecteditemsids" must not contain underscores.
(#1149) Short array syntax must be used to define arrays
(#1149) Expected 1 space before "=>"; 0 found
(#1149) Expected 1 space after "=>"; 0 found
(#1149) Variable "la_coursesection" must not contain underscores.
(#1151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1151) Inline comments must end in full-stops, exclamation marks, or question marks
(#1154) Variable "la_coursesection" must not contain underscores.
(#1156) Whitespace found at end of line
(#1159) Variable "la_selecteditemsids" must not contain underscores.
(#1160) Inline control structures are not allowed
(#1160) Whitespace found at end of line
(#1161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1161) Inline comments must end in full-stops, exclamation marks, or question marks
(#1164) Variable "la_coursesection" must not contain underscores.
(#1166) Whitespace found at end of line
(#1168) Line indented incorrectly; expected 8 spaces, found 6
(#1168) Closing brace indented incorrectly; expected 8 spaces, found 6
(#1170) Short array syntax must be used to define arrays
(#1170) Expected 1 space before "=>"; 0 found
(#1170) Expected 1 space after "=>"; 0 found
(#1170) Expected 1 space before "=>"; 0 found
(#1170) Expected 1 space after "=>"; 0 found
(#1170) Line exceeds 132 characters; contains 139 characters
(#1170) Space found before semicolon; expected ");" but found ") ;"
(#1171) Short array syntax must be used to define arrays
(#1171) Expected 1 space before "=>"; 0 found
(#1171) Expected 1 space after "=>"; 0 found
(#1171) Expected 1 space before "=>"; 0 found
(#1171) Expected 1 space after "=>"; 0 found
(#1171) Line exceeds 132 characters; contains 147 characters
(#1171) Space found before semicolon; expected ");" but found ") ;"
(#1172) Whitespace found at end of line
(#1195) Whitespace found at end of line
(#1196) Inline comments must end in full-stops, exclamation marks, or question marks
(#1208) Short array syntax must be used to define arrays
(#1208) Expected 1 space before "=>"; 0 found
(#1208) Expected 1 space after "=>"; 0 found
(#1210) Short array syntax must be used to define arrays
(#1210) Expected 1 space before "=>"; 0 found
(#1210) Expected 1 space after "=>"; 0 found
(#1215) Whitespace found at end of line
(#1217) Short array syntax must be used to define arrays
(#1222) There should be a comma after the last array item in a multi-line array.
(#1230) Inline comments must end in full-stops, exclamation marks, or question marks
(#1240) Whitespace found at end of line
(#1250) Whitespace found at end of line
(#1256) Short array syntax must be used to define arrays
(#1256) Expected 1 space before "=>"; 0 found
(#1256) Expected 1 space after "=>"; 0 found
(#1266) Expected 1 space after "="; 0 found
(#1275) Short array syntax must be used to define arrays
(#1275) Expected 1 space before "=>"; 0 found
(#1275) Expected 1 space after "=>"; 0 found
(#1285) Whitespace found at end of line
(#1291) Variable "endpoint_method" must not contain underscores.
(#1291) Variable "value_id" must not contain underscores.
(#1293) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1293) Inline comments must end in full-stops, exclamation marks, or question marks
(#1295) Variable "value_id" must not contain underscores.
(#1296) Variable "endpoint_method" must not contain underscores.
(#1298) Variable "endpoint_method" must not contain underscores.
(#1298) Variable "value_id" must not contain underscores.
(#1302) Short array syntax must be used to define arrays
(#1310) Variable "endpoint_method" must not contain underscores.
(#1310) Variable "value_id" must not contain underscores.
(#1317) Whitespace found at end of line
(#1326) Whitespace found at end of line
(#1331) Whitespace found at end of line
(#1337) Opening brace should be on the same line as the declaration
(#1346) Short array syntax must be used to define arrays
(#1356) Expected "if (...) {\n"; found "if(...) {\n"
(#1357) Short array syntax must be used to define arrays
(#1357) Expected 1 space before "=>"; 0 found
(#1357) Expected 1 space after "=>"; 0 found
(#1357) Expected 1 space before "=>"; 0 found
(#1357) Expected 1 space after "=>"; 0 found
(#1358) Expected "} else {\n"; found "}else{\n"
(#1359) Short array syntax must be used to define arrays
(#1359) Expected 1 space before "=>"; 0 found
(#1359) Expected 1 space after "=>"; 0 found
(#1359) Expected 1 space before "=>"; 0 found
(#1359) Expected 1 space after "=>"; 0 found
(#1376) Short array syntax must be used to define arrays
(#1377) Line indented incorrectly; expected 4 spaces, found 8
(#1379) Line indented incorrectly; expected 4 spaces, found 8
(#1392) Variable "la_postjson" must not contain underscores.
(#1392) Whitespace found at end of line
(#1393) Short array syntax must be used to define arrays
(#1395) Variable "la_signature" must not contain underscores.
(#1396) Variable "la_signature" must not contain underscores.
(#1397) Variable "la_signatureitems" must not contain underscores.
(#1398) Variable "la_signatureitems" must not contain underscores.
(#1403) Variable "calculatedSignature" must be all lower-case
(#1405) Expected "if (...) {\n"; found "if(...) {\n"
(#1406) Variable "calculatedSignature" must be all lower-case
(#1408) Variable "la_postjson" must not contain underscores.
(#1410) Inline comments must end in full-stops, exclamation marks, or question marks
(#1410) No space found before comment text; expected "// Search user by email or firstname and lastname" but found "//Search user by email or firstname and lastname"
(#1410) Whitespace found at end of line
(#1411) Short array syntax must be used to define arrays
(#1411) Expected 1 space before "=>"; 0 found
(#1411) Expected 1 space after "=>"; 0 found
(#1412) Short array syntax must be used to define arrays
(#1412) Expected 1 space before "=>"; 0 found
(#1412) Expected 1 space after "=>"; 0 found
(#1412) Expected 1 space before "=>"; 0 found
(#1412) Expected 1 space after "=>"; 0 found
(#1412) Line exceeds 132 characters; contains 145 characters
(#1415) Short array syntax must be used to define arrays
(#1415) Expected 1 space before "=>"; 0 found
(#1415) Expected 1 space after "=>"; 0 found
(#1415) Variable "la_postjson" must not contain underscores.
(#1416) Short array syntax must be used to define arrays
(#1416) Expected 1 space before "=>"; 0 found
(#1416) Expected 1 space after "=>"; 0 found
(#1419) Short array syntax must be used to define arrays
(#1419) Expected 1 space before "=>"; 0 found
(#1419) Expected 1 space after "=>"; 0 found
(#1419) Expected 1 space before "=>"; 0 found
(#1419) Expected 1 space after "=>"; 0 found
(#1419) Expected 1 space before "=>"; 0 found
(#1419) Expected 1 space after "=>"; 0 found
(#1419) Line exceeds 132 characters; contains 147 characters
(#1420) Short array syntax must be used to define arrays
(#1420) Expected 1 space before "=>"; 0 found
(#1420) Expected 1 space after "=>"; 0 found
(#1420) Expected 1 space before "=>"; 0 found
(#1420) Expected 1 space after "=>"; 0 found
(#1420) Line exceeds 132 characters; contains 137 characters
(#1428) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#1428) Expected "if (...) {\n"; found "if(...) {\n"
(#1439) Expected "} else {\n"; found "}else{\n"
(#1441) Space found before semicolon; expected ");" but found ") ;"
(#1457) Variable "la_postjson" must not contain underscores.
(#1460) Inline comments must end in full-stops, exclamation marks, or question marks
(#1460) No space found before comment text; expected "// Search user by email or firstname and lastname" but found "//Search user by email or firstname and lastname"
(#1460) Whitespace found at end of line
(#1461) Short array syntax must be used to define arrays
(#1461) Expected 1 space before "=>"; 0 found
(#1461) Expected 1 space after "=>"; 0 found
(#1462) Short array syntax must be used to define arrays
(#1462) Expected 1 space before "=>"; 0 found
(#1462) Expected 1 space after "=>"; 0 found
(#1462) Expected 1 space before "=>"; 0 found
(#1462) Expected 1 space after "=>"; 0 found
(#1462) Line exceeds 132 characters; contains 141 characters
(#1465) Short array syntax must be used to define arrays
(#1465) Expected 1 space before "=>"; 0 found
(#1465) Expected 1 space after "=>"; 0 found
(#1465) Variable "la_postjson" must not contain underscores.
(#1466) Short array syntax must be used to define arrays
(#1466) Expected 1 space before "=>"; 0 found
(#1466) Expected 1 space after "=>"; 0 found
(#1469) Short array syntax must be used to define arrays
(#1469) Expected 1 space before "=>"; 0 found
(#1469) Expected 1 space after "=>"; 0 found
(#1469) Expected 1 space before "=>"; 0 found
(#1469) Expected 1 space after "=>"; 0 found
(#1469) Expected 1 space before "=>"; 0 found
(#1469) Expected 1 space after "=>"; 0 found
(#1469) Line exceeds 132 characters; contains 143 characters
(#1470) Short array syntax must be used to define arrays
(#1470) Expected 1 space before "=>"; 0 found
(#1470) Expected 1 space after "=>"; 0 found
(#1470) Expected 1 space before "=>"; 0 found
(#1470) Expected 1 space after "=>"; 0 found
(#1470) Line exceeds 132 characters; contains 133 characters
(#1478) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#1478) Expected "if (...) {\n"; found "if(...) {\n"
(#1489) Expected "} else {\n"; found "}else{\n"
(#1491) Space found before semicolon; expected ");" but found ") ;"
(#1500) Expected "} else {\n"; found "}else {\n"
(#1514) Expected "if (...) {\n"; found "if(...) {\n"
(#1517) Line indented incorrectly; expected 8 spaces, found 12
(#1530) Short array syntax must be used to define arrays
(#1541) Line indented incorrectly; expected 8 spaces, found 16
(#1546) Short array syntax must be used to define arrays
(#1546) Expected 1 space before "=>"; 0 found
(#1546) Expected 1 space after "=>"; 0 found
(#1546) Expected 1 space before "=>"; 0 found
(#1546) Line exceeds 132 characters; contains 155 characters
(#1549) Line indented incorrectly; expected 8 spaces, found 16
(#1552) Short array syntax must be used to define arrays
(#1552) Expected 1 space before "=>"; 0 found
(#1552) Expected 1 space after "=>"; 0 found
(#1552) Expected 1 space before "=>"; 0 found
(#1552) Line exceeds 132 characters; contains 156 characters
(#1555) Line indented incorrectly; expected 8 spaces, found 12
(#1559) Line indented incorrectly; expected 8 spaces, found 12
(#1569) Short array syntax must be used to define arrays
(#1569) Expected 1 space before "=>"; 0 found
(#1569) Expected 1 space after "=>"; 0 found
(#1569) Expected 1 space before "=>"; 0 found
(#1569) Line exceeds 132 characters; contains 141 characters
(#1572) File must end with a newline character
mod/goone/mod_form.php
(#26) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#35) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#42) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#68) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
mod/goone/payload.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#24) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#29) Variable "create_webhook" must not contain underscores.
(#31) Expected "if (...) {\n"; found "if(...) {\n"
(#31) Variable "create_webhook" must not contain underscores.
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected at least 4 spaces, found 1
(#34) Variable "create_webhook" must not contain underscores.
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected at least 4 spaces, found 1
(#36) Whitespace found at end of line
(#37) Variable "create_webhook" must not contain underscores.
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected at least 4 spaces, found 1
(#40) Expected "if (...) {\n"; found "if(...){\n"
(#40) Variable "create_webhook" must not contain underscores.
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 4 spaces, found 1
(#42) File must end with a newline character
mod/goone/settings.php
(#38) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#45) Line exceeds 132 characters; contains 135 characters
(#45) Whitespace found at end of line
(#46) Whitespace found at end of line
(#49) Whitespace found at end of line
(#52) Whitespace found at end of line
(#62) Commas (,) must be followed by white space.
(#68) Commas (,) must be followed by white space.
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) This comment is 69% valid code; is this commented out code?
(#70) No space found before comment text; expected "// $setting = new setting_statictext($name, $migratebutton);" but found "//$setting = new setting_statictext($name, $migratebutton);"
(#71) No space found before comment text; expected "// $settings->add($setting);" but found "//$settings->add($setting);"
(#83) Short array syntax must be used to define arrays
(#85) There should be a comma after the last array item in a multi-line array.
(#112) Line indented incorrectly; expected at least 8 spaces, found 4
mod/goone/tests/custom_completion_test.php
(#46) PHPUnit testcase name "activity_custom_completion_test" does not match file name "custom_completion_test"
(#56) There should be a comma after the last array item in a multi-line array.
(#65) Data provider method "get_state_provider" will need to be converted to static in future.
(#72) Test method test_get_state() is missing any coverage information, own or at class level
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Test method test_get_defined_custom_rules() is missing any coverage information, own or at class level
(#112) Test method test_get_custom_rule_descriptions() is missing any coverage information, own or at class level
(#119) There should be a comma after the last array item in a multi-line array.
(#137) Test method test_is_defined() is missing any coverage information, own or at class level
(#141) There should be a comma after the last array item in a multi-line array.
(#164) There should be a comma after the last array item in a multi-line array.
(#167) There should be a comma after the last array item in a multi-line array.
(#175) Data provider method "get_available_custom_rules_provider" will need to be converted to static in future.
(#179) Test method test_get_available_custom_rules() is missing any coverage information, own or at class level
(#187) There should be a comma after the last array item in a multi-line array.
mod/goone/tests/generator/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#48) Short array syntax must be used to define arrays
mod/goone/tests/generator_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) PHPUnit testcase name "mod_goone_generator_testcase" does not match file name "generator_test"
(#36) PHPUnit class "mod_goone_generator_testcase" does not have any namespace. It is recommended to add it to the "mod_goone" namespace, using more levels if needed, in order to match the code being tested
(#38) Test method test_create_instance() is missing any coverage information, own or at class level
(#45) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
mod/goone/tests/lib_test.php
(#38) PHPUnit testcase name "mod_goone_lib_testcase" does not match file name "lib_test"
(#38) PHPUnit class "mod_goone_lib_testcase" does not have any namespace. It is recommended to add it to the "mod_goone" namespace, using more levels if needed, in order to match the code being tested
(#40) Test method test_goone_supports() is missing any coverage information, own or at class level
(#46) Test method test_goone_convert_hours_mins() is missing any coverage information, own or at class level
(#52) Test method test_goone_set_completion() is missing any coverage information, own or at class level
(#57) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#68) Test method test_goone_check_capabilities() is missing any coverage information, own or at class level
(#71) Short array syntax must be used to define arrays
(#85) Test method test_goone_get_lang() is missing any coverage information, own or at class level
(#95) Test method test_goone_extract_scorm_token() is missing any coverage information, own or at class level
(#109) Test method test_goone_clean_hits() is missing any coverage information, own or at class level
(#115) Test method test_goone_inject_datamodel() is missing any coverage information, own or at class level
(#121) Test method test_goone_session_state() is missing any coverage information, own or at class level
(#126) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#137) Test method test_goone_signup_url() is missing any coverage information, own or at class level
(#148) Test method test_goone_get_coursemodule_info() is missing any coverage information, own or at class level
(#151) Line exceeds 132 characters; contains 133 characters
mod/goone/version.php
(#32) Short array syntax must be used to define arrays
mod/goone/view.php
(#42) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#88) There should be a comma after the last array item in a multi-line array.
(#95) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays

Javascript coding style problems

(32 errors, 153 warnings)

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

mod/goone/amd/src/browser.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#44) Missing space before value for key 'enableCaseInsensitiveFiltering'. (key-spacing)
(#55) Missing space before value for key 'enableCaseInsensitiveFiltering'. (key-spacing)
(#66) Missing space before value for key 'enableCaseInsensitiveFiltering'. (key-spacing)
(#77) Missing space before value for key 'enableCaseInsensitiveFiltering'. (key-spacing)
(#86) A space is required after ','. (comma-spacing)
(#86) Unexpected space before function parentheses. (space-before-function-paren)
(#89) A space is required after ','. (comma-spacing)
(#89) A space is required after ','. (comma-spacing)
(#89) A space is required after ','. (comma-spacing)
(#90) A space is required after ','. (comma-spacing)
(#90) A space is required after ','. (comma-spacing)
(#115) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#116) Empty block statement. (no-empty)
(#125) A space is required after ','. (comma-spacing)
(#125) A space is required after ','. (comma-spacing)
(#125) A space is required after ','. (comma-spacing)
(#126) A space is required after ','. (comma-spacing)
(#126) A space is required after ','. (comma-spacing)
(#128) Unexpected space before function parentheses. (space-before-function-paren)
(#143) A space is required after ','. (comma-spacing)
(#143) A space is required after ','. (comma-spacing)
(#143) A space is required after ','. (comma-spacing)
(#144) A space is required after ','. (comma-spacing)
(#144) A space is required after ','. (comma-spacing)
(#166) Expected space(s) after "if". (keyword-spacing)
mod/goone/amd/src/browser_bulk.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#43) Missing space before value for key 'enableCaseInsensitiveFiltering'. (key-spacing)
(#54) Missing space before value for key 'enableCaseInsensitiveFiltering'. (key-spacing)
(#65) Missing space before value for key 'enableCaseInsensitiveFiltering'. (key-spacing)
(#76) Missing space before value for key 'enableCaseInsensitiveFiltering'. (key-spacing)
(#87) Missing space before value for key 'enableCaseInsensitiveFiltering'. (key-spacing)
(#96) A space is required after ','. (comma-spacing)
(#96) Unexpected space before function parentheses. (space-before-function-paren)
(#99) A space is required after ','. (comma-spacing)
(#99) A space is required after ','. (comma-spacing)
(#99) A space is required after ','. (comma-spacing)
(#100) A space is required after ','. (comma-spacing)
(#118) Comments should not begin with a lowercase character. (capitalized-comments)
(#123) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#124) Empty block statement. (no-empty)
(#133) A space is required after ','. (comma-spacing)
(#133) A space is required after ','. (comma-spacing)
(#133) A space is required after ','. (comma-spacing)
(#134) A space is required after ','. (comma-spacing)
(#134) A space is required after ','. (comma-spacing)
(#134) A space is required after ','. (comma-spacing)
(#134) A space is required after ','. (comma-spacing)
(#136) Trailing spaces not allowed. (no-trailing-spaces)
(#137) Unexpected space before function parentheses. (space-before-function-paren)
(#151) A space is required after ','. (comma-spacing)
(#151) A space is required after ','. (comma-spacing)
(#151) A space is required after ','. (comma-spacing)
(#152) A space is required after ','. (comma-spacing)
(#152) A space is required after ','. (comma-spacing)
(#152) A space is required after ','. (comma-spacing)
(#152) A space is required after ','. (comma-spacing)
(#159) This line has a length of 162. Maximum allowed is 132. (max-len)
(#159) A space is required after ','. (comma-spacing)
(#159) A space is required after ','. (comma-spacing)
(#159) A space is required after ','. (comma-spacing)
(#159) A space is required after ','. (comma-spacing)
(#159) A space is required after ','. (comma-spacing)
(#159) A space is required after ','. (comma-spacing)
(#159) A space is required after ','. (comma-spacing)
(#159) A space is required after ','. (comma-spacing)
(#162) Expected space(s) after "if". (keyword-spacing)
(#163) Missing semicolon. (babel/semi)
(#178) Expected space(s) after "if". (keyword-spacing)
(#197) Comments should not begin with a lowercase character. (capitalized-comments)
(#205) Each then() should return a value or throw (promise/always-return)
(#205) Unexpected space before function parentheses. (space-before-function-paren)
(#205) Missing space before opening brace. (space-before-blocks)
(#212) There should be no space after this paren. (space-in-parens)
(#212) There should be no space before this paren. (space-in-parens)
(#221) Each then() should return a value or throw (promise/always-return)
(#221) Unexpected space before function parentheses. (space-before-function-paren)
(#221) Missing space before opening brace. (space-before-blocks)
(#228) 'data' is not defined. (no-undef)
(#235) 'data' is not defined. (no-undef)
(#238) Each then() should return a value or throw (promise/always-return)
(#238) Unexpected space before function parentheses. (space-before-function-paren)
(#238) Missing space before opening brace. (space-before-blocks)
(#247) Unexpected whitespace before semicolon. (semi-spacing)
(#248) Unexpected whitespace before semicolon. (semi-spacing)
(#249) Unexpected whitespace before semicolon. (semi-spacing)
(#250) Trailing spaces not allowed. (no-trailing-spaces)
(#252) 'elementseleted' is assigned a value but never used. (no-unused-vars)
(#256) Operator '+' must be spaced. (space-infix-ops)
(#256) Operator '+' must be spaced. (space-infix-ops)
(#257) Operator '+' must be spaced. (space-infix-ops)
(#261) There should be no space after this paren. (space-in-parens)
(#261) There should be no space before this paren. (space-in-parens)
(#270) Each then() should return a value or throw (promise/always-return)
(#270) Unexpected space before function parentheses. (space-before-function-paren)
(#270) Missing space before opening brace. (space-before-blocks)
(#274) Trailing spaces not allowed. (no-trailing-spaces)
(#275) There should be no space before this paren. (space-in-parens)
(#284) Each then() should return a value or throw (promise/always-return)
(#284) Unexpected space before function parentheses. (space-before-function-paren)
(#284) Missing space before opening brace. (space-before-blocks)
(#288) Trailing spaces not allowed. (no-trailing-spaces)
(#292) There should be no space before this paren. (space-in-parens)
(#292) Trailing spaces not allowed. (no-trailing-spaces)
(#293) This line has a length of 171. Maximum allowed is 132. (max-len)
(#293) Operator '+' must be spaced. (space-infix-ops)
(#293) Operator '+' must be spaced. (space-infix-ops)
(#293) Operator '+' must be spaced. (space-infix-ops)
(#293) Operator '+' must be spaced. (space-infix-ops)
(#293) Operator '+' must be spaced. (space-infix-ops)
(#293) Operator '+' must be spaced. (space-infix-ops)
(#297) 'data' is not defined. (no-undef)
(#304) 'data' is not defined. (no-undef)
(#305) This line has a length of 152. Maximum allowed is 132. (max-len)
(#305) Operator '+' must be spaced. (space-infix-ops)
(#305) Operator '+' must be spaced. (space-infix-ops)
(#307) Each then() should return a value or throw (promise/always-return)
(#307) Unexpected space before function parentheses. (space-before-function-paren)
(#307) Missing space before opening brace. (space-before-blocks)
(#318) Expected to return a value at the end of function. (consistent-return)
(#318) Trailing spaces not allowed. (no-trailing-spaces)
(#319) Identifier 'option_selected' is not in camel case. (camelcase)
(#319) Multiple spaces found before '$'. (no-multi-spaces)
(#319) Trailing spaces not allowed. (no-trailing-spaces)
(#320) Identifier 'selected_items_ids' is not in camel case. (camelcase)
(#321) Multiple spaces found before '$'. (no-multi-spaces)
(#321) Trailing spaces not allowed. (no-trailing-spaces)
(#322) Trailing spaces not allowed. (no-trailing-spaces)
(#323) This line has a length of 287. Maximum allowed is 132. (max-len)
(#323) Operator '+' must be spaced. (space-infix-ops)
(#323) Operator '+' must be spaced. (space-infix-ops)
(#323) Operator '+' must be spaced. (space-infix-ops)
(#323) Operator '+' must be spaced. (space-infix-ops)
(#324) Identifier 'option_selected' is not in camel case. (camelcase)
(#328) Identifier 'selected_items_ids' is not in camel case. (camelcase)
(#334) Identifier 'option_selected' is not in camel case. (camelcase)
(#336) There should be no space after this paren. (space-in-parens)
(#337) Comments should not begin with a lowercase character. (capitalized-comments)
(#345) Each then() should return a value or throw (promise/always-return)
(#345) Unexpected space before function parentheses. (space-before-function-paren)
(#345) Missing space before opening brace. (space-before-blocks)
(#354) Identifier 'selected_items_ids' is not in camel case. (camelcase)
(#354) Missing space before value for key 'coursename'. (key-spacing)
(#359) Trailing spaces not allowed. (no-trailing-spaces)
(#362) Trailing spaces not allowed. (no-trailing-spaces)
(#364) There should be no space before this paren. (space-in-parens)
(#365) This line has a length of 236. Maximum allowed is 132. (max-len)
(#365) Operator '+' must be spaced. (space-infix-ops)
(#365) Operator '+' must be spaced. (space-infix-ops)
(#370) Trailing spaces not allowed. (no-trailing-spaces)
(#371) Expected to return a value at the end of function. (consistent-return)
(#375) 'inputdata' is not defined. (no-undef)
(#376) 'inputdata' is not defined. (no-undef)
(#376) Operator '+' must be spaced. (space-infix-ops)
(#378) Trailing spaces not allowed. (no-trailing-spaces)
(#379) Identifier 'course_section' is not in camel case. (camelcase)
(#379) Multiple spaces found before '$'. (no-multi-spaces)
(#381) Identifier 'course_section' is not in camel case. (camelcase)
(#382) This line has a length of 286. Maximum allowed is 132. (max-len)
(#382) Operator '+' must be spaced. (space-infix-ops)
(#382) Operator '+' must be spaced. (space-infix-ops)
(#382) Operator '+' must be spaced. (space-infix-ops)
(#382) Operator '+' must be spaced. (space-infix-ops)
(#385) Identifier 'course_section' is not in camel case. (camelcase)
(#385) Identifier 'course_section' is not in camel case. (camelcase)
(#385) Missing space before value for key 'selecteditemsids'. (key-spacing)
(#400) Each then() should return a value or throw (promise/always-return)
(#400) Unexpected space before function parentheses. (space-before-function-paren)
(#400) Missing space before opening brace. (space-before-blocks)
(#409) Expected space(s) after "if". (keyword-spacing)
(#409) Missing space before opening brace. (space-before-blocks)
(#414) Expected catch,fail() or return (promise/catch-or-return)
(#417) Trailing spaces not allowed. (no-trailing-spaces)
(#419) This line has a length of 149. Maximum allowed is 132. (max-len)
(#419) Operator '+' must be spaced. (space-infix-ops)
(#419) Operator '+' must be spaced. (space-infix-ops)
mod/goone/amd/src/viewer.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#39) A space is required after ','. (comma-spacing)
(#39) Missing space before opening brace. (space-before-blocks)
(#49) Missing space before opening brace. (space-before-blocks)
(#50) Requires a space before '}'. (block-spacing)
(#50) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(19 errors, 5 warnings)

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

mod/goone/classes/settings/admin_setting_clientid_with_token_validator.php
(#33) Class admin_setting_clientid_with_token_validator is not documented
(#35) Function admin_setting_clientid_with_token_validator::write_setting is not documented
(#40) Function admin_setting_clientid_with_token_validator::output_html is not documented
(#17) No one-line description found in phpdocs for file
mod/goone/externallib.php
(#247) Function mod_goone_external::bulk_goone_process_course_per_item is not documented
(#275) Function mod_goone_external::bulk_goone_process_course_single_course is not documented
(#307) Function mod_goone_external::bulk_goone_process_add_to_existing_course is not documented
(#39) Phpdocs for function mod_goone_external::get_hits has incomplete parameters list
(#223) Phpdocs for function mod_goone_external::bulk_goone_get_course_search_result has incomplete parameters list
mod/goone/lib.php
(#1336) Function mod_goone_check_webhook is not documented
(#1363) Function mod_goone_view_api_payload_logs is not documented
(#1385) Function mod_goone_api_payload_process_post is not documented
(#1509) Function mod_goone_create_webhook_api_request is not documented
(#849) Phpdocs for function bulk_mod_goone_get_hits has incomplete parameters list
(#1093) Phpdocs for function bulk_mod_goone_process_course_single_course has incomplete parameters list
(#1141) Phpdocs for function bulk_mod_goone_process_add_to_existing_course has incomplete parameters list
(#1175) Phpdocs for function bulk_mod_goone_get_learnig_objective_info has incomplete parameters list
(#1188) Phpdocs for function bulk_mod_goone_create_course has incomplete parameters list
(#1246) Phpdocs for function bulk_mod_goone_create_assign_module has incomplete parameters list
(#1287) Phpdocs for function bulk_mod_goone_api_custom_api_request has incomplete parameters list
(#1319) Phpdocs for function bulk_mod_goone_create_api_secret_key has incomplete parameters list
mod/goone/tests/custom_completion_test.php
(#199) There is no description in phpdocs for function create_instance
(#66) Phpdocs for function activity_custom_completion_test::test_get_state has incomplete parameters list
(#200) Phpdocs for function activity_custom_completion_test::create_instance has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "gherkinlint" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 62 warnings)

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

mod/goone/templates/browser.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><style> .)
(#1) HTML Validation info, line 46: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="text" class="form-control w-100" name="keyword" id="keyword"/> )
(#1) HTML Validation error, line 70: Stray end tag “select”. ( </select> )
(#1) HTML Validation error, line 71: End tag “div” seen, but there were open elements. ( </div> )
(#1) HTML Validation error, line 68: Unclosed element “label”. ( <label class="control-label ml-0" for="language"> )
(#1) HTML Validation error, line 76: Stray end tag “select”. ( </select> )
(#1) HTML Validation error, line 77: End tag “div” seen, but there were open elements. ( </div> )
(#1) HTML Validation error, line 74: Unclosed element “label”. ( <label class="control-label ml-0" for="tag"> )
(#1) HTML Validation error, line 78: End tag “div” seen, but there were open elements. ( </div> )
(#1) HTML Validation error, line 39: Unclosed element “form”. (</h2> <form class="form-inline"> )
(#1) HTML Validation error, line 89: Stray end tag “div”. (> </div> )
(#1) HTML Validation error, line 91: Stray end tag “form”. ( </form></di)
(#1) HTML Validation error, line 93: Stray end tag “div”. ( </form></div><di)
(#1) HTML Validation error, line 106: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="pix/spinner.gif"> )
(#1) HTML Validation error, line 117: End tag for “body” seen, but there were unclosed elements. (</div></body></html)
(#1) HTML Validation error, line 96: Unclosed element “div”. (</div><div class="container"> )
(#1) HTML Validation error, line 62: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label for="provider" class="control-label ml-0"> )
(#1) HTML Validation error, line 68: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="control-label ml-0" for="language"> )
(#1) HTML Validation error, line 74: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="control-label ml-0" for="tag"> )
mod/goone/templates/browser_bulk.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><style>.form)
(#1) HTML Validation info, line 49: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="text" placeholder="((+search%2C+moodle+))" class="form-control w-100" name="keyword" id="keyword"/> )
(#1) HTML Validation error, line 57: Stray end tag “select”. ( </select> )
(#1) HTML Validation error, line 58: End tag “div” seen, but there were open elements. ( </div> )
(#1) HTML Validation error, line 55: Unclosed element “label”. ( <label class="control-label ml-0" for="topic"> )
(#1) HTML Validation error, line 66: Bad character “ ” after “<”. Probable cause: Unescaped “<”. Try escaping it as “&lt;”. (value="1">< 15 min)
(#1) HTML Validation error, line 111: Stray end tag “select”. ( </select> )
(#1) HTML Validation error, line 112: End tag “div” seen, but there were open elements. ( </div> )
(#1) HTML Validation error, line 109: Unclosed element “label”. ( <label class="control-label ml-0" for="language"> )
(#1) HTML Validation error, line 113: End tag “div” seen, but there were open elements. ( </div> )
(#1) HTML Validation error, line 42: Unclosed element “form”. (</h2> <form class="form-inline"> )
(#1) HTML Validation error, line 129: Stray end tag “div”. ( </div> <)
(#1) HTML Validation error, line 130: Stray end tag “form”. (/div> </form></div)
(#1) HTML Validation error, line 131: Stray end tag “div”. ( </form></div><div)
(#1) HTML Validation info, line 135: Empty heading. ( <h4 style="display:none;float:left"></h4>)
(#1) HTML Validation error, line 141: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="pix/spinner.gif"> )
(#1) HTML Validation error, line 151: End tag for “body” seen, but there were unclosed elements. ( </div></body></html)
(#1) HTML Validation error, line 133: Unclosed element “div”. (></div><div class="container"> )
(#1) HTML Validation error, line 55: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="control-label ml-0" for="topic"> )
(#1) HTML Validation error, line 74: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label for="provider" class="control-label ml-0"> )
(#1) HTML Validation error, line 109: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="control-label ml-0" for="language"> )
mod/goone/templates/datamodel.mustache
(#1) Example context missing (@template section not found.)
mod/goone/templates/datamodel_bulk.mustache
(#1) Example context missing (@template section not found.)
mod/goone/templates/hits.mustache
(#1) Example context missing (@template section not found.)
mod/goone/templates/hits_bulk.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (<body><style>#page)
(#1) HTML Validation info, line 36: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (</style><br/><br/>)
(#1) HTML Validation info, line 37: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (le><br/><br/><div )
(#1) HTML Validation error, line 63: Stray end tag “div”. (></div></div> )
mod/goone/templates/modal.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 9: Empty heading. (ght"> <h3 class="card-title"></h3>)
(#1) HTML Validation error, line 11: End tag “br”. (ted"></em></br> )
(#1) HTML Validation error, line 33: Stray end tag “div”. (div> </div> </d)
(#1) HTML Validation error, line 34: Stray end tag “div”. ( </div> </div> </di)
(#1) HTML Validation error, line 35: Stray end tag “div”. ( </div> </div></div)
(#1) HTML Validation error, line 36: Stray end tag “div”. (> </div></div></bo)
mod/goone/templates/modal_bulk.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 8: Empty heading. (ght"> <h3 class="card-title"></h3>)
(#1) HTML Validation error, line 10: End tag “br”. (ted"></em></br> )
(#1) HTML Validation error, line 32: Stray end tag “div”. (div> </div> </d)
(#1) HTML Validation error, line 33: Stray end tag “div”. ( </div> </div> </di)
(#1) HTML Validation error, line 34: Stray end tag “div”. ( </div> </div></div)
(#1) HTML Validation error, line 35: Stray end tag “div”. (> </div></div></bo)
mod/goone/templates/modalcoursesearch_bulk.mustache
(#1) Example context missing (@template section not found.)
mod/goone/templates/modalcreatecourses_bulk.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><style> #)
mod/goone/templates/searchcourseresult_bulk.mustache
(#1) Example context missing (@template section not found.)
mod/goone/templates/view.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 4: The “type” attribute is unnecessary for JavaScript resources. (tainer"> <script type="text/javascript" src="https://api.go1.co/scorm/assets/jquery-1.12.4.min.js"> </sc)
(#1) HTML Validation info, line 16: The “type” attribute is unnecessary for JavaScript resources. (script> <script type="text/javascript" src="https://api.go1.co/scorm/assets/service.js"></scri)

Gherkin .feature problems

(2 errors, 0 warnings)

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

mod/goone/tests/behat/add_activity.feature
(#27) New line at EOF(end of file) is required
mod/goone/tests/behat/goone_configuration.feature
(#33) New line at EOF(end of file) is required