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

(376 errors, 181 warnings)

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

local/o365/classes/adminsetting/tabs.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#135) There should be a comma after the last array item in a multi-line array.
(#162) There should be a comma after the last array item in a multi-line array.
local/o365/classes/adminsetting/usersynccreationrestriction.php
(#75) Line exceeds 132 characters; contains 134 characters
local/o365/classes/adminsetting/usersyncoptions.php
(#86) Logical operator "or" is prohibited; use "||" instead
(#91) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
local/o365/classes/adminsetting/verifysetup.php
(#91) There should be a comma after the last array item in a multi-line array.
(#96) There should be a comma after the last array item in a multi-line array.
local/o365/classes/event/api_call_failed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#62) Short array syntax must be used to define arrays
local/o365/classes/event/calendar_subscribed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/event/calendar_unsubscribed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/feature/calsync/form/element/calendar.php
(#59) Variable "elementName" must be all lower-case
(#59) Variable "elementLabel" must be all lower-case
(#61) Variable "elementName" must be all lower-case
(#61) Variable "elementLabel" must be all lower-case
(#75) Variable "elementName" must be all lower-case
(#75) Variable "elementLabel" must be all lower-case
(#76) Variable "elementName" must be all lower-case
(#76) Variable "elementLabel" must be all lower-case
(#98) Public method name "calendar::setValue" must be in lower-case letters only
(#115) Visibility must be declared on method "getHelpButton"
(#115) method name "calendar::getHelpButton" must be in lower-case letters only
(#115) Expected 1 space before opening brace; found 0
(#126) Public method name "calendar::exportValue" must be in lower-case letters only
(#126) Variable "submitValues" must be all lower-case
(#127) Variable "submitValues" must be all lower-case
(#136) Public method name "calendar::toHtml" must be in lower-case letters only
local/o365/classes/feature/calsync/form/subscriptions.php
(#115) There should be a comma after the last array item in a multi-line array.
(#119) Short array syntax must be used to define arrays
(#179) There should be a comma after the last array item in a multi-line array.
(#205) There should be a comma after the last array item in a multi-line array.
(#211) There should be a comma after the last array item in a multi-line array.
(#225) There should be a comma after the last array item in a multi-line array.
(#244) Short array syntax must be used to define arrays
(#250) There should be a comma after the last array item in a multi-line array.
(#276) There should be a comma after the last array item in a multi-line array.
(#300) There should be a comma after the last array item in a multi-line array.
local/o365/classes/feature/calsync/main.php
(#35) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#133) Short array syntax must be used to define arrays
(#134) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $other is optional, while parameter $calid is required.
(#287) There should be a comma after the last array item in a multi-line array.
(#305) Empty CATCH statement detected
(#471) Empty CATCH statement detected
(#542) Short array syntax must be used to define arrays
(#548) Short array syntax must be used to define arrays
(#554) Short array syntax must be used to define arrays
local/o365/classes/feature/calsync/observers.php
(#78) There should be a comma after the last array item in a multi-line array.
(#79) There should be a comma after the last array item in a multi-line array.
local/o365/classes/feature/calsync/task/importfromoutlook.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#114) Short array syntax must be used to define arrays
(#140) There should be a comma after the last array item in a multi-line array.
local/o365/classes/feature/calsync/task/syncoldevents.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#127) Empty CATCH statement detected
(#266) Empty CATCH statement detected
local/o365/classes/feature/cohortsync/main.php
(#68) There must not be a space before the colon in a return type declaration
(#79) There must not be a space before the colon in a return type declaration
(#105) There must not be a space before the colon in a return type declaration
(#144) There must not be a space before the colon in a return type declaration
(#159) There must not be a space before the colon in a return type declaration
(#172) There must not be a space before the colon in a return type declaration
(#185) There must not be a space before the colon in a return type declaration
(#202) There must not be a space before the colon in a return type declaration
(#213) There must not be a space before the colon in a return type declaration
(#264) There must not be a space before the colon in a return type declaration
(#275) There must not be a space before the colon in a return type declaration
(#334) There must not be a space before the colon in a return type declaration
(#367) There must not be a space before the colon in a return type declaration
(#411) There must not be a space before the colon in a return type declaration
(#430) There must not be a space before the colon in a return type declaration
local/o365/classes/feature/courserequest/main.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#74) There must not be a space before the colon in a return type declaration
(#90) There must not be a space before the colon in a return type declaration
(#203) There must not be a space before the colon in a return type declaration
(#306) There must not be a space before the colon in a return type declaration
local/o365/classes/feature/coursesync/main.php
(#35) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#116) There must not be a space before the colon in a return type declaration
(#123) There must not be a space before the colon in a return type declaration
(#245) There must not be a space before the colon in a return type declaration
(#332) There must not be a space before the colon in a return type declaration
(#573) There must not be a space before the colon in a return type declaration
(#647) There must not be a space before the colon in a return type declaration
(#769) There must not be a space before the colon in a return type declaration
(#798) There must not be a space before the colon in a return type declaration
(#887) There must not be a space before the colon in a return type declaration
(#929) There must not be a space before the colon in a return type declaration
(#1169) There must not be a space before the colon in a return type declaration
(#1187) There must not be a space before the colon in a return type declaration
(#1203) There must not be a space before the colon in a return type declaration
(#1326) Empty CATCH statement detected
(#1334) Empty CATCH statement detected
(#1359) Empty CATCH statement detected
(#1367) Empty CATCH statement detected
(#1387) There must not be a space before the colon in a return type declaration
(#1477) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#1478) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#1501) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#1502) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#1534) There must not be a space before the colon in a return type declaration
(#1549) There must not be a space before the colon in a return type declaration
(#1567) There must not be a space before the colon in a return type declaration
(#1611) There must not be a space before the colon in a return type declaration
(#1672) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#1673) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#1685) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#1686) Expected 1 space before comment text but found 2; use block comment if you need indentation
local/o365/classes/feature/coursesync/observers.php
(#49) There must not be a space before the colon in a return type declaration
(#89) Empty CATCH statement detected
local/o365/classes/feature/coursesync/utils.php
(#49) There must not be a space before the colon in a return type declaration
(#99) There must not be a space before the colon in a return type declaration
(#166) There must not be a space before the colon in a return type declaration
(#247) There must not be a space before the colon in a return type declaration
(#347) There must not be a space before the colon in a return type declaration
(#360) There must not be a space before the colon in a return type declaration
(#408) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#423) There must not be a space before the colon in a return type declaration
(#439) There must not be a space before the colon in a return type declaration
(#520) There must not be a space before the colon in a return type declaration
(#536) There must not be a space before the colon in a return type declaration
(#556) There must not be a space before the colon in a return type declaration
(#574) There must not be a space before the colon in a return type declaration
(#594) There must not be a space before the colon in a return type declaration
(#664) Empty CATCH statement detected
(#678) There must not be a space before the colon in a return type declaration
(#717) There must not be a space before the colon in a return type declaration
(#757) Must use "self::" for local static member reference
(#758) Must use "self::" for local static member reference
(#812) There must not be a space before the colon in a return type declaration
local/o365/classes/feature/sds/task/sync.php
(#36) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#47) There must not be a space before the colon in a return type declaration
(#57) There must not be a space before the colon in a return type declaration
(#441) There must not be a space before the colon in a return type declaration
(#461) A comma after the last array item in a single-line array is not allowed.
(#461) Commas (,) must be followed by white space.
(#466) Commas (,) must be followed by white space.
(#479) There must not be a space before the colon in a return type declaration
(#497) A comma after the last array item in a single-line array is not allowed.
(#497) Commas (,) must be followed by white space.
(#507) Commas (,) must be followed by white space.
(#518) There must not be a space before the colon in a return type declaration
(#574) Empty CATCH statement detected
local/o365/classes/feature/sds/utils.php
(#46) There must not be a space before the colon in a return type declaration
(#72) There must not be a space before the colon in a return type declaration
(#111) There must not be a space before the colon in a return type declaration
local/o365/classes/feature/userconnections/filtering.php
(#89) Short array syntax must be used to define arrays
local/o365/classes/feature/usersync/main.php
(#201) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#557) Line exceeds 132 characters; contains 135 characters
(#797) The use of goto labels is forbidden
(#1008) Short array syntax must be used to define arrays
(#1243) Line exceeds 132 characters; contains 138 characters
(#1551) Line exceeds 132 characters; contains 133 characters
local/o365/classes/form/cohortsync.php
(#46) There must not be a space before the colon in a return type declaration
local/o365/classes/form/courserequestform.php
(#47) Visibility must be declared on method "definition"
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) There must not be a space before the colon in a return type declaration
local/o365/classes/form/teamstabconfiguration.php
(#55) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
local/o365/classes/healthcheck/healthcheckinterface.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/healthcheck/ratelimit.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/httpclient.php
(#94) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
local/o365/classes/httpclientinterface.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
local/o365/classes/oauth2/apptoken.php
(#114) There should be a comma after the last array item in a multi-line array.
(#136) There should be a comma after the last array item in a multi-line array.
(#171) There should be a comma after the last array item in a multi-line array.
local/o365/classes/oauth2/token.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#210) There should be a comma after the last array item in a multi-line array.
(#263) There should be a comma after the last array item in a multi-line array.
(#285) There should be a comma after the last array item in a multi-line array.
(#415) There should be a comma after the last array item in a multi-line array.
(#439) There should be a comma after the last array item in a multi-line array.
local/o365/classes/obj/o365user.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/observers.php
(#84) There must not be a space before the colon in a return type declaration
(#143) Empty CATCH statement detected
(#171) There must not be a space before the colon in a return type declaration
(#268) There must not be a space before the colon in a return type declaration
(#296) There must not be a space before the colon in a return type declaration
(#320) There must not be a space before the colon in a return type declaration
(#340) There must not be a space before the colon in a return type declaration
(#416) There must not be a space before the colon in a return type declaration
(#441) There must not be a space before the colon in a return type declaration
(#504) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) Inline comments must end in full-stops, exclamation marks, or question marks
(#513) Inline comments must end in full-stops, exclamation marks, or question marks
(#550) There must not be a space before the colon in a return type declaration
(#579) There must not be a space before the colon in a return type declaration
(#613) There must not be a space before the colon in a return type declaration
(#647) There must not be a space before the colon in a return type declaration
(#676) There must not be a space before the colon in a return type declaration
(#734) There must not be a space before the colon in a return type declaration
(#757) There must not be a space before the colon in a return type declaration
(#774) There must not be a space before the colon in a return type declaration
(#843) There must not be a space before the colon in a return type declaration
local/o365/classes/page/acp.php
(#123) Commas (,) must be followed by white space.
(#138) There must not be a space before the colon in a return type declaration
(#307) Commas (,) must be followed by white space.
(#601) A comma after the last array item in a single-line array is not allowed.
(#601) Commas (,) must be followed by white space.
(#630) A comma after the last array item in a single-line array is not allowed.
(#630) Commas (,) must be followed by white space.
(#710) Whitespace found at end of line within string
(#873) A comma after the last array item in a single-line array is not allowed.
(#873) Commas (,) must be followed by white space.
(#902) A comma after the last array item in a single-line array is not allowed.
(#902) Commas (,) must be followed by white space.
(#1007) A comma after the last array item in a single-line array is not allowed.
(#1007) Commas (,) must be followed by white space.
(#1717) Commas (,) must be followed by white space.
(#1740) There must not be a space before the colon in a return type declaration
(#1818) A comma after the last array item in a single-line array is not allowed.
(#1818) Commas (,) must be followed by white space.
(#1825) A comma after the last array item in a single-line array is not allowed.
(#1825) Commas (,) must be followed by white space.
(#1860) A comma after the last array item in a single-line array is not allowed.
(#1860) Commas (,) must be followed by white space.
(#1896) A comma after the last array item in a single-line array is not allowed.
(#1896) Commas (,) must be followed by white space.
local/o365/classes/page/ajax.php
(#39) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#346) Short array syntax must be used to define arrays
(#371) Short array syntax must be used to define arrays
(#372) There should be a comma after the last array item in a multi-line array.
local/o365/classes/page/base.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/privacy/provider.php
(#28) Import statements must not begin with a leading backslash
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#52) There must not be a space before the colon in a return type declaration
(#135) There must not be a space before the colon in a return type declaration
(#176) There should be a comma after the last array item in a multi-line array.
(#273) There must not be a space before the colon in a return type declaration
local/o365/classes/rest/o365api.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#343) A comma after the last array item in a single-line array is not allowed.
(#343) Commas (,) must be followed by white space.
local/o365/classes/rest/unified.php
(#56) There must not be a space before the colon in a return type declaration
(#66) There must not be a space before the colon in a return type declaration
(#95) There must not be a space before the colon in a return type declaration
(#203) Whitespace found at end of line
(#234) There must not be a space before the colon in a return type declaration
(#252) There must not be a space before the colon in a return type declaration
(#299) There must not be a space before the colon in a return type declaration
(#317) There must not be a space before the colon in a return type declaration
(#335) There must not be a space before the colon in a return type declaration
(#341) A comma after the last array item in a single-line array is not allowed.
(#341) Commas (,) must be followed by white space.
(#363) There must not be a space before the colon in a return type declaration
(#378) There must not be a space before the colon in a return type declaration
(#441) There must not be a space before the colon in a return type declaration
(#472) There must not be a space before the colon in a return type declaration
(#485) There must not be a space before the colon in a return type declaration
(#504) Empty CATCH statement detected
(#546) There must not be a space before the colon in a return type declaration
(#573) There must not be a space before the colon in a return type declaration
(#586) There must not be a space before the colon in a return type declaration
(#598) There must not be a space before the colon in a return type declaration
(#611) There must not be a space before the colon in a return type declaration
(#626) There must not be a space before the colon in a return type declaration
(#657) There must not be a space before the colon in a return type declaration
(#671) There must not be a space before the colon in a return type declaration
(#685) There must not be a space before the colon in a return type declaration
(#726) There must not be a space before the colon in a return type declaration
(#743) There must not be a space before the colon in a return type declaration
(#761) There must not be a space before the colon in a return type declaration
(#781) There must not be a space before the colon in a return type declaration
(#801) There must not be a space before the colon in a return type declaration
(#825) There must not be a space before the colon in a return type declaration
(#843) There must not be a space before the colon in a return type declaration
(#857) There must not be a space before the colon in a return type declaration
(#862) Commas (,) must be followed by white space.
(#877) There must not be a space before the colon in a return type declaration
(#905) There must not be a space before the colon in a return type declaration
(#954) There must not be a space before the colon in a return type declaration
(#973) There must not be a space before the colon in a return type declaration
(#985) There must not be a space before the colon in a return type declaration
(#998) There must not be a space before the colon in a return type declaration
(#1011) There must not be a space before the colon in a return type declaration
(#1025) There must not be a space before the colon in a return type declaration
(#1043) There must not be a space before the colon in a return type declaration
(#1061) There must not be a space before the colon in a return type declaration
(#1074) There must not be a space before the colon in a return type declaration
(#1088) There must not be a space before the colon in a return type declaration
(#1102) There must not be a space before the colon in a return type declaration
(#1125) There must not be a space before the colon in a return type declaration
(#1154) There must not be a space before the colon in a return type declaration
(#1178) There should be a comma after the last array item in a multi-line array.
(#1231) There should be a comma after the last array item in a multi-line array.
(#1255) There must not be a space before the colon in a return type declaration
(#1280) There must not be a space before the colon in a return type declaration
(#1293) A comma after the last array item in a single-line array is not allowed.
(#1293) Commas (,) must be followed by white space.
(#1296) A comma after the last array item in a single-line array is not allowed.
(#1296) Commas (,) must be followed by white space.
(#1305) A comma after the last array item in a single-line array is not allowed.
(#1305) Commas (,) must be followed by white space.
(#1322) There must not be a space before the colon in a return type declaration
(#1341) There must not be a space before the colon in a return type declaration
(#1362) There must not be a space before the colon in a return type declaration
(#1394) There must not be a space before the colon in a return type declaration
(#1421) There must not be a space before the colon in a return type declaration
(#1433) There must not be a space before the colon in a return type declaration
(#1445) There must not be a space before the colon in a return type declaration
(#1458) There must not be a space before the colon in a return type declaration
(#1468) There must not be a space before the colon in a return type declaration
(#1482) There must not be a space before the colon in a return type declaration
(#1496) There must not be a space before the colon in a return type declaration
(#1513) There must not be a space before the colon in a return type declaration
(#1535) There must not be a space before the colon in a return type declaration
(#1552) There must not be a space before the colon in a return type declaration
(#1596) There must not be a space before the colon in a return type declaration
(#1618) There must not be a space before the colon in a return type declaration
(#1642) There must not be a space before the colon in a return type declaration
(#1656) There must not be a space before the colon in a return type declaration
(#1670) There must not be a space before the colon in a return type declaration
(#1722) There must not be a space before the colon in a return type declaration
(#1814) There must not be a space before the colon in a return type declaration
(#1829) There must not be a space before the colon in a return type declaration
(#1844) A comma after the last array item in a single-line array is not allowed.
(#1844) Commas (,) must be followed by white space.
(#1864) There must not be a space before the colon in a return type declaration
(#1866) A comma after the last array item in a single-line array is not allowed.
(#1866) Commas (,) must be followed by white space.
(#1885) There must not be a space before the colon in a return type declaration
(#1907) There must not be a space before the colon in a return type declaration
(#1931) There must not be a space before the colon in a return type declaration
(#1935) Commas (,) must be followed by white space.
(#1947) There must not be a space before the colon in a return type declaration
(#1950) A comma after the last array item in a single-line array is not allowed.
(#1950) Commas (,) must be followed by white space.
(#1996) There must not be a space before the colon in a return type declaration
(#2011) There must not be a space before the colon in a return type declaration
(#2024) There must not be a space before the colon in a return type declaration
(#2037) There must not be a space before the colon in a return type declaration
(#2050) There must not be a space before the colon in a return type declaration
(#2063) There must not be a space before the colon in a return type declaration
(#2074) There must not be a space before the colon in a return type declaration
(#2112) There must not be a space before the colon in a return type declaration
(#2187) There must not be a space before the colon in a return type declaration
(#2268) There must not be a space before the colon in a return type declaration
local/o365/classes/task/cohortsync.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) There must not be a space before the colon in a return type declaration
(#51) There must not be a space before the colon in a return type declaration
(#71) There must not be a space before the colon in a return type declaration
local/o365/classes/task/coursemembershipsync.php
(#48) There must not be a space before the colon in a return type declaration
(#57) There must not be a space before the colon in a return type declaration
local/o365/classes/task/coursesync.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/task/groupmembershipsync.php
(#70) File must end with a newline character
local/o365/classes/task/notifysecretexpiry.php
(#43) There must not be a space before the colon in a return type declaration
(#52) There must not be a space before the colon in a return type declaration
(#142) There must not be a space before the colon in a return type declaration
(#164) There must not be a space before the colon in a return type declaration
local/o365/classes/task/processcourserequestapproval.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) There must not be a space before the colon in a return type declaration
local/o365/classes/task/processmatchqueue.php
(#54) There must not be a space before the colon in a return type declaration
(#82) There must not be a space before the colon in a return type declaration
local/o365/classes/task/updatecourserequeststatus.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/task/usersync.php
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#177) Expected "if (...) {\n"; found "if(...) {\n"
local/o365/classes/tests/mockhttpclient.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#87) Short array syntax must be used to define arrays
local/o365/classes/utils.php
(#76) Must use "self::" for local static member reference
(#158) There must not be a space before the colon in a return type declaration
(#250) The use of function print_r() is forbidden
(#252) The use of function print_r() is forbidden
(#456) There must not be a space before the colon in a return type declaration
(#468) Empty CATCH statement detected
(#492) Empty CATCH statement detected
(#517) There must not be a space before the colon in a return type declaration
local/o365/classes/webservices/create_onenoteassignment.php
(#52) There should be a comma after the last array item in a multi-line array.
(#87) Duplicate array key found. The value will be overwritten. The string array key "grade" was first seen on line 79
local/o365/classes/webservices/delete_onenoteassignment.php
(#48) There should be a comma after the last array item in a multi-line array.
local/o365/classes/webservices/exception/assignnotfound.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/webservices/exception/couldnotsavegrade.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/webservices/exception/invalidassignment.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/webservices/exception/modulenotfound.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/webservices/exception/sectionnotfound.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/classes/webservices/read_assignments.php
(#76) There should be a comma after the last array item in a multi-line array.
(#99) Short array syntax must be used to define arrays
(#103) There should be a comma after the last array item in a multi-line array.
(#108) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#131) There should be a comma after the last array item in a multi-line array.
(#152) Short array syntax must be used to define arrays
(#156) There should be a comma after the last array item in a multi-line array.
(#189) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#211) There should be a comma after the last array item in a multi-line array.
(#215) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#224) There should be a comma after the last array item in a multi-line array.
(#229) Short array syntax must be used to define arrays
(#255) There should be a comma after the last array item in a multi-line array.
(#270) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#278) There should be a comma after the last array item in a multi-line array.
(#287) Short array syntax must be used to define arrays
(#292) There should be a comma after the last array item in a multi-line array.
(#296) Short array syntax must be used to define arrays
(#298) There should be a comma after the last array item in a multi-line array.
(#311) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#346) There should be a comma after the last array item in a multi-line array.
(#349) There should be a comma after the last array item in a multi-line array.
(#361) Short array syntax must be used to define arrays
(#367) There should be a comma after the last array item in a multi-line array.
(#380) Short array syntax must be used to define arrays
(#385) There should be a comma after the last array item in a multi-line array.
(#398) Short array syntax must be used to define arrays
(#402) There should be a comma after the last array item in a multi-line array.
local/o365/classes/webservices/read_courseusers.php
(#105) Empty IF statement detected
local/o365/classes/webservices/read_onenoteassignment.php
(#48) There should be a comma after the last array item in a multi-line array.
local/o365/classes/webservices/read_teachercourses.php
(#70) There should be a comma after the last array item in a multi-line array.
(#111) There should be a comma after the last array item in a multi-line array.
local/o365/classes/webservices/update_grade.php
(#28) Import statements must not begin with a leading backslash
(#52) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#76) There should be a comma after the last array item in a multi-line array.
(#85) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#97) There should be a comma after the last array item in a multi-line array.
(#125) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#185) There should be a comma after the last array item in a multi-line array.
local/o365/classes/webservices/update_onenoteassignment.php
(#28) Import statements must not begin with a leading backslash
(#54) There should be a comma after the last array item in a multi-line array.
local/o365/classes/webservices/utils.php
(#28) Import statements must not begin with a leading backslash
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/o365/db/access.php
(#35) There should be a comma after the last array item in a multi-line array.
local/o365/db/caches.php
(#30) There should be a comma after the last array item in a multi-line array.
local/o365/db/services.php
(#106) There should be a comma after the last array item in a multi-line array.
local/o365/db/tasks.php
(#36) There should be a comma after the last array item in a multi-line array.
(#45) There should be a comma after the last array item in a multi-line array.
(#54) There should be a comma after the last array item in a multi-line array.
(#63) There should be a comma after the last array item in a multi-line array.
(#72) There should be a comma after the last array item in a multi-line array.
(#90) There should be a comma after the last array item in a multi-line array.
(#99) There should be a comma after the last array item in a multi-line array.
local/o365/db/upgrade.php
(#372) Short array syntax must be used to define arrays
(#395) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#468) Short array syntax must be used to define arrays
(#487) There should be a comma after the last array item in a multi-line array.
(#508) There should be a comma after the last array item in a multi-line array.
(#599) This comment is 67% valid code; is this commented out code?
(#610) This comment is 62% valid code; is this commented out code?
(#625) Inline comments must end in full-stops, exclamation marks, or question marks
(#996) Empty CATCH statement detected
(#1132) Functions must not contain multiple empty lines in a row; found 2 empty lines
local/o365/export_manifest.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/o365/lang/en/local_o365.php
(#170) Whitespace found at end of line within string
(#183) Whitespace found at end of line within string
(#196) Whitespace found at end of line within string
(#208) Whitespace found at end of line within string
(#1002) Whitespace found at end of line within string
local/o365/lib.php
(#123) There must not be a space before the colon in a return type declaration
(#286) Whitespace found at end of line
local/o365/settings.php
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
local/o365/sso_end.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/o365/sso_login.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/o365/sso_start.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/o365/teams_tab.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#61) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
local/o365/teams_tab_configuration.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/o365/teams_tab_redirect.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/o365/tests/coursesyncutils_test.php
(#38) PHPUnit testcase name "local_o365_coursesyncutils_testcase" does not match file name "coursesyncutils_test"
(#38) PHPUnit class "local_o365_coursesyncutils_testcase" does not have any namespace. It is recommended to add it to the "local_o365" namespace, using more levels if needed, in order to match the code being tested
(#42) There must not be a space before the colon in a return type declaration
(#50) Test method test_is_enabled() is missing any coverage information, own or at class level
(#75) Test method test_get_enabled_courses() is missing any coverage information, own or at class level
(#104) Test method test_course_is_group_enabled() is missing any coverage information, own or at class level
local/o365/tests/observers_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) PHPUnit testcase name "local_o365_observers_testcase" does not match file name "observers_test"
(#35) PHPUnit class "local_o365_observers_testcase" does not have any namespace. It is recommended to add it to the "local_o365" namespace, using more levels if needed, in order to match the code being tested
(#39) There must not be a space before the colon in a return type declaration
(#47) Test method test_user_disconnected() is missing any coverage information, own or at class level
(#61) Test method test_user_deleted() is missing any coverage information, own or at class level
local/o365/tests/privacy_provider_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Import statements must not begin with a leading backslash
(#38) PHPUnit testcase name "local_o365_privacy_testcase" does not match file name "privacy_provider_test"
(#38) PHPUnit class "local_o365_privacy_testcase" does not have any namespace. It is recommended to add it to the "local_o365" namespace, using more levels if needed, in order to match the code being tested
(#42) There must not be a space before the colon in a return type declaration
(#50) Test method test_get_contexts_for_userid() is missing any coverage information, own or at class level
(#69) Test method test_get_users_in_context() is missing any coverage information, own or at class level
(#101) Test method test_export_user_data() is missing any coverage information, own or at class level
(#118) There should be a comma after the last array item in a multi-line array.
(#129) Test method test_delete_data_for_all_users_in_context() is missing any coverage information, own or at class level
(#166) Test method test_delete_data_for_user() is missing any coverage information, own or at class level
(#204) Test method test_delete_data_for_users() is missing any coverage information, own or at class level
local/o365/tests/token_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) PHPUnit testcase name "local_o365_oauth2_token_testcase" does not match file name "token_test"
(#35) PHPUnit class "local_o365_oauth2_token_testcase" does not have any namespace. It is recommended to add it to the "local_o365" namespace, using more levels if needed, in order to match the code being tested
(#39) There must not be a space before the colon in a return type declaration
(#47) Test method test_refresh() is missing any coverage information, own or at class level
(#67) There should be a comma after the last array item in a multi-line array.
local/o365/tests/usersync_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) PHPUnit testcase name "local_o365_usersync_testcase" does not match file name "usersync_test"
(#35) PHPUnit class "local_o365_usersync_testcase" does not have any namespace. It is recommended to add it to the "local_o365" namespace, using more levels if needed, in order to match the code being tested
(#39) There must not be a space before the colon in a return type declaration
(#54) There should be a comma after the last array item in a multi-line array.
(#241) Test method test_create_user_from_entra_id_data() is missing any coverage information, own or at class level
(#261) Test method test_sync_users_create() is missing any coverage information, own or at class level
(#273) There should be a comma after the last array item in a multi-line array.
local/o365/tests/webservices_onenoteassignment_test.php
(#38) PHPUnit testcase name "local_o365_webservices_onenoteassignment_testcase" does not match file name "webservices_onenoteassignment_test"
(#38) PHPUnit class "local_o365_webservices_onenoteassignment_testcase" does not have any namespace. It is recommended to add it to the "local_o365" namespace, using more levels if needed, in order to match the code being tested
(#49) There must not be a space before the colon in a return type declaration
(#57) Test method test_assignment_create_parameters() is missing any coverage information, own or at class level
(#99) Test method test_assignment_create() is missing any coverage information, own or at class level
(#134) Test method test_assignment_create_returns() is missing any coverage information, own or at class level
(#143) Test method test_assignment_read_parameters() is missing any coverage information, own or at class level
(#158) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#301) Test method test_assignment_read() is missing any coverage information, own or at class level
(#331) Test method test_assignment_read_returns() is missing any coverage information, own or at class level
(#340) Test method test_assignment_update_parameters() is missing any coverage information, own or at class level
(#358) Short array syntax must be used to define arrays
(#363) Short array syntax must be used to define arrays
(#366) Short array syntax must be used to define arrays
(#470) Test method test_assignment_update() is missing any coverage information, own or at class level
(#501) Test method test_assignment_update_returns() is missing any coverage information, own or at class level
(#510) Test method test_assignment_delete_parameters() is missing any coverage information, own or at class level
(#543) Test method test_assignment_delete() is missing any coverage information, own or at class level
(#571) Test method test_assignment_delete_returns() is missing any coverage information, own or at class level
local/o365/tests/webservices_utils_test.php
(#38) PHPUnit testcase name "local_o365_webservices_utils_testcase" does not match file name "webservices_utils_test"
(#38) PHPUnit class "local_o365_webservices_utils_testcase" does not have any namespace. It is recommended to add it to the "local_o365" namespace, using more levels if needed, in order to match the code being tested
(#43) There must not be a space before the colon in a return type declaration
(#275) Test method test_get_assignment_info() is missing any coverage information, own or at class level
(#370) Test method test_verify_assignment() is missing any coverage information, own or at class level
(#423) Test method test_get_assignment_return_info_schema() is missing any coverage information, own or at class level
(#470) Test method test_get_assignment_return_info() is missing any coverage information, own or at class level

Javascript coding style problems

(63 errors, 84 warnings)

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

local/o365/classes/adminsetting/moodlesetup.js
(#23) '$' is not defined. (no-undef)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#25) '$' is not defined. (no-undef)
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#38) '$' is not defined. (no-undef)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#50) '$' is not defined. (no-undef)
(#54) Missing semicolon. (semi)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#63) '$' is not defined. (no-undef)
(#67) Missing semicolon. (semi)
(#75) Unexpected space before function parentheses. (space-before-function-paren)
(#76) '$' is not defined. (no-undef)
(#80) Missing semicolon. (semi)
(#87) Unexpected space before function parentheses. (space-before-function-paren)
(#89) Missing semicolon. (semi)
(#96) Unexpected space before function parentheses. (space-before-function-paren)
(#97) '$' is not defined. (no-undef)
(#129) Missing semicolon. (semi)
(#131) Unexpected space before function parentheses. (space-before-function-paren)
(#133) '$' is not defined. (no-undef)
(#140) Unexpected space before function parentheses. (space-before-function-paren)
(#144) Unexpected space before function parentheses. (space-before-function-paren)
(#150) Missing semicolon. (semi)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#156) Unexpected space before function parentheses. (space-before-function-paren)
(#161) Missing semicolon. (semi)
(#163) Missing semicolon. (semi)
local/o365/classes/adminsetting/serviceresource.js
(#23) '$' is not defined. (no-undef)
(#25) '$' is not defined. (no-undef)
(#38) '$' is not defined. (no-undef)
(#47) Use '===' to compare with null. (no-eq-null)
(#50) Statement inside of curly braces should be on next line. (brace-style)
(#50) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#52) Missing semicolon. (semi)
(#58) Missing semicolon. (semi)
(#62) '$' is not defined. (no-undef)
(#72) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#73) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#73) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#82) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#91) 'data' is defined but never used. (no-unused-vars)
(#95) Missing semicolon. (semi)
(#99) '$' is not defined. (no-undef)
(#109) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#110) This line has a length of 133. Maximum allowed is 132. (max-len)
(#110) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#110) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#116) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#125) 'data' is defined but never used. (no-unused-vars)
(#130) Missing semicolon. (semi)
(#133) This line has a length of 137. Maximum allowed is 132. (max-len)
(#136) Missing semicolon. (semi)
(#139) This line has a length of 137. Maximum allowed is 132. (max-len)
(#142) Missing semicolon. (semi)
(#144) 'e' is defined but never used. (no-unused-vars)
(#145) '$' is not defined. (no-undef)
(#153) Missing semicolon. (semi)
local/o365/classes/adminsetting/verifysetup.js
(#23) '$' is not defined. (no-undef)
(#25) '$' is not defined. (no-undef)
(#55) This line has a length of 148. Maximum allowed is 132. (max-len)
(#63) '$' is not defined. (no-undef)
(#70) '$' is not defined. (no-undef)
(#76) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#87) 'data' is defined but never used. (no-unused-vars)
(#91) Missing semicolon. (semi)
(#100) '$' is not defined. (no-undef)
(#104) Missing semicolon. (semi)
(#113) '$' is not defined. (no-undef)
(#117) Missing semicolon. (semi)
(#126) '$' is not defined. (no-undef)
(#130) Missing semicolon. (semi)
(#139) Missing semicolon. (semi)
(#147) Identifier 'rendersection_unifiedapi' is not in camel case. (camelcase)
(#148) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#152) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#154) '$' is not defined. (no-undef)
(#158) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#160) 'missingpermsbox' declared on line 175 column 29 is used outside of binding context. (block-scoped-var)
(#161) 'perm' declared on line 176 column 34 is used outside of binding context. (block-scoped-var)
(#162) 'missingpermsbox' declared on line 175 column 29 is used outside of binding context. (block-scoped-var)
(#162) 'perm' declared on line 176 column 34 is used outside of binding context. (block-scoped-var)
(#162) 'perm' declared on line 176 column 34 is used outside of binding context. (block-scoped-var)
(#164) 'missingpermsbox' declared on line 175 column 29 is used outside of binding context. (block-scoped-var)
(#165) 'missingpermsbox' declared on line 175 column 29 is used outside of binding context. (block-scoped-var)
(#173) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#175) 'missingpermsbox' is already defined. (no-redeclare)
(#175) 'missingpermsbox' declared on line 160 column 29 is used outside of binding context. (block-scoped-var)
(#176) 'perm' is already defined. (no-redeclare)
(#176) 'perm' declared on line 161 column 34 is used outside of binding context. (block-scoped-var)
(#177) 'missingpermsbox' declared on line 160 column 29 is used outside of binding context. (block-scoped-var)
(#177) 'perm' declared on line 161 column 34 is used outside of binding context. (block-scoped-var)
(#177) 'perm' declared on line 161 column 34 is used outside of binding context. (block-scoped-var)
(#179) 'missingpermsbox' declared on line 160 column 29 is used outside of binding context. (block-scoped-var)
(#180) 'missingpermsbox' declared on line 160 column 29 is used outside of binding context. (block-scoped-var)
(#191) Missing semicolon. (semi)
(#199) '$' is not defined. (no-undef)
(#205) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#206) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#208) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#209) '$' is not defined. (no-undef)
(#210) Operator '+' must be spaced. (space-infix-ops)
(#210) Operator '+' must be spaced. (space-infix-ops)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#213) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#214) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#214) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#215) Blocks are nested too deeply (6). Maximum allowed is 4. (max-depth)
(#218) 'errstr' declared on line 231 column 41 is used outside of binding context. (block-scoped-var)
(#218) Operator '+' must be spaced. (space-infix-ops)
(#219) 'errstr' declared on line 231 column 41 is used outside of binding context. (block-scoped-var)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#220) 'errstr' declared on line 231 column 41 is used outside of binding context. (block-scoped-var)
(#220) Operator '+' must be spaced. (space-infix-ops)
(#220) Operator '+' must be spaced. (space-infix-ops)
(#220) Operator '+' must be spaced. (space-infix-ops)
(#221) 'errstr' declared on line 231 column 41 is used outside of binding context. (block-scoped-var)
(#227) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#227) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#228) Blocks are nested too deeply (6). Maximum allowed is 4. (max-depth)
(#231) 'errstr' is already defined. (no-redeclare)
(#231) 'errstr' declared on line 218 column 41 is used outside of binding context. (block-scoped-var)
(#231) Operator '+' must be spaced. (space-infix-ops)
(#232) 'errstr' declared on line 218 column 41 is used outside of binding context. (block-scoped-var)
(#232) Operator '+' must be spaced. (space-infix-ops)
(#232) Operator '+' must be spaced. (space-infix-ops)
(#232) Operator '+' must be spaced. (space-infix-ops)
(#233) 'errstr' declared on line 218 column 41 is used outside of binding context. (block-scoped-var)
(#233) Operator '+' must be spaced. (space-infix-ops)
(#233) Operator '+' must be spaced. (space-infix-ops)
(#233) Operator '+' must be spaced. (space-infix-ops)
(#234) 'errstr' declared on line 218 column 41 is used outside of binding context. (block-scoped-var)
(#244) '$' is not defined. (no-undef)
(#247) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#258) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#268) Missing semicolon. (semi)
(#272) '$' is not defined. (no-undef)
(#279) '$' is not defined. (no-undef)
(#284) '$' is not defined. (no-undef)
(#285) '$' is not defined. (no-undef)
(#298) Missing semicolon. (semi)
(#301) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#309) Missing semicolon. (semi)
(#311) Missing semicolon. (semi)

CSS problems

(21 errors, 16 warnings)

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

local/o365/styles.css
(#249) Unexpected empty block (block-no-empty)
(#233) Expected "#FFF" to be "#fff" (color-hex-case)
(#246) Expected "#FFF" to be "#fff" (color-hex-case)
(#175) Unexpected !important (declaration-no-important)
(#176) Unexpected !important (declaration-no-important)
(#218) Unexpected !important (declaration-no-important)
(#231) Unexpected !important (declaration-no-important)
(#232) Unexpected !important (declaration-no-important)
(#55) Unexpected unit (length-zero-no-unit)
(#142) Unexpected unit (length-zero-no-unit)
(#143) Unexpected unit (length-zero-no-unit)
(#175) Unexpected unit (length-zero-no-unit)
(#197) Unexpected unit (length-zero-no-unit)
(#258) Unexpected unit (length-zero-no-unit)
(#258) Unexpected unit (length-zero-no-unit)
(#262) Unexpected unit (length-zero-no-unit)
(#286) Unexpected unit (length-zero-no-unit)
(#286) Unexpected unit (length-zero-no-unit)
(#63) Expected line length to be no more than 132 characters (max-line-length)
(#67) Expected line length to be no more than 132 characters (max-line-length)
(#71) Expected line length to be no more than 132 characters (max-line-length)
(#9) Expected newline after "," (selector-list-comma-newline-after)
(#54) Expected newline after "," (selector-list-comma-newline-after)
(#63) Expected newline after "," (selector-list-comma-newline-after)
(#67) Expected newline after "," (selector-list-comma-newline-after)
(#71) Expected newline after "," (selector-list-comma-newline-after)
(#120) Expected newline after "," (selector-list-comma-newline-after)
(#125) Expected newline after "," (selector-list-comma-newline-after)
(#243) Expected newline after "," (selector-list-comma-newline-after)
(#249) Expected newline after "," (selector-list-comma-newline-after)
local/o365/sass/styles.scss
(#51) Unexpected unit (length-zero-no-unit)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#50) Expected newline after "," (selector-list-comma-newline-after)
(#60) Expected newline after "," (selector-list-comma-newline-after)
(#64) Expected newline after "," (selector-list-comma-newline-after)
(#67) Expected newline after "," (selector-list-comma-newline-after)
(#114) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(44 errors, 0 warnings)

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

local/o365/classes/feature/cohortsync/main.php
(#65) There is no description in phpdocs for function get_grouplist
(#76) There is no description in phpdocs for function get_cohortlist
local/o365/classes/feature/courserequest/main.php
(#40) Class main is not documented
(#41) Constant main::COURSE_REQUEST_STATUS_PENDING is not documented
(#42) Constant main::COURSE_REQUEST_STATUS_APPROVED is not documented
(#43) Constant main::COURSE_REQUEST_STATUS_REJECTED is not documented
local/o365/classes/form/courserequestform.php
(#147) Phpdocs for function courserequestform::validation has incomplete parameters list
local/o365/classes/healthcheck/healthcheckinterface.php
(#34) Constant SEVERITY_OK is not documented
(#35) Constant SEVERITY_TRIVIAL is not documented
(#36) Constant SEVERITY_WARNING is not documented
(#37) Constant SEVERITY_FATAL is not documented
local/o365/classes/rest/o365api.php
(#265) Phpdocs for function o365api::process_apicall_response has incomplete parameters list
local/o365/classes/task/notifysecretexpiry.php
(#37) Class notifysecretexpiry is not documented
local/o365/classes/utils.php
(#434) Phpdocs for function utils::deletelegacyadditionaltenant has incomplete parameters list
local/o365/lib.php
(#36) Constant COURSE_SYNC_RESET_SITE_SETTING_DO_NOTHING is not documented
(#37) Constant COURSE_SYNC_RESET_SITE_SETTING_PER_COURSE is not documented
(#38) Constant COURSE_SYNC_RESET_SITE_SETTING_DISCONNECT_AND_CREATE_NEW is not documented
(#39) Constant COURSE_SYNC_RESET_SITE_SETTING_DISCONNECT_ONLY is not documented
(#42) Constant COURSE_SYNC_RESET_COURSE_SETTING_DO_NOTHING is not documented
(#43) Constant COURSE_SYNC_RESET_COURSE_SETTING_DISCONNECT_AND_CREATE_NEW is not documented
(#44) Constant COURSE_SYNC_RESET_COURSE_SETTING_DISCONNECT_ONLY is not documented
(#47) Constant MICROSOFT365_COURSE_SYNC_DISABLED is not documented
(#48) Constant MICROSOFT365_COURSE_SYNC_ENABLED is not documented
(#51) Constant LOCAL_O365_TAB_SETUP is not documented
(#52) Constant LOCAL_O365_TAB_SYNC is not documented
(#53) Constant LOCAL_O365_TAB_ADVANCED is not documented
(#54) Constant LOCAL_O365_TAB_SDS is not documented
(#55) Constant LOCAL_O365_TAB_TEAMS is not documented
(#56) Constant LOCAL_O365_TAB_MOODLE_APP is not documented
(#59) Constant MICROSOFT365_GROUP_ROLE_OWNER is not documented
(#60) Constant MICROSOFT365_GROUP_ROLE_MEMBER is not documented
(#63) Constant TEAM_LOCKED_STATUS_UNKNOWN is not documented
(#64) Constant TEAM_LOCKED is not documented
(#65) Constant TEAM_UNLOCKED is not documented
(#68) Constant EDUCATION_LICENSE_IDS is not documented
(#71) Constant SDS_SCHOOL_DISABLED_ACTION_KEEP_CONNECTED is not documented
(#72) Constant SDS_SCHOOL_DISABLED_ACTION_DISCONNECT is not documented
(#75) Constant COURSE_USER_SYNC_DIRECTION_MOODLE_TO_TEAMS is not documented
(#76) Constant COURSE_USER_SYNC_DIRECTION_TEAMS_TO_MOODLE is not documented
(#77) Constant COURSE_USER_SYNC_DIRECTION_BOTH is not documented
local/o365/tests/webservices_onenoteassignment_test.php
(#41) Constant local_o365_webservices_onenoteassignment_testcase::DBSTATE is not documented
(#42) Constant local_o365_webservices_onenoteassignment_testcase::PARAMS is not documented
(#43) Constant local_o365_webservices_onenoteassignment_testcase::EXPECTEDRETURN is not documented
(#44) Constant local_o365_webservices_onenoteassignment_testcase::EXPECTEDEXCEPTION is not documented

Update savepoints problems

(47 errors, 0 warnings)

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

local/o365/db/upgrade.php
Detected more 'if' blocks (69) than 'savepoint' calls (23)
version 2014111700 is missing corresponding savepoint call
version 2014111702 is missing corresponding savepoint call
version 2014111703 is missing corresponding savepoint call
version 2014111707 is missing corresponding savepoint call
version 2014111710 is missing corresponding savepoint call
version 2014111711 is missing corresponding savepoint call
version 2014111715 is missing corresponding savepoint call
version 2014111716 is missing corresponding savepoint call
version 2015012702 is missing corresponding savepoint call
version 2015012704 is missing corresponding savepoint call
version 2015012707 is missing corresponding savepoint call
version 2015012708 is missing corresponding savepoint call
version 2015012709 is missing corresponding savepoint call
version 2015012710 is missing corresponding savepoint call
version 2015012712 is missing corresponding savepoint call
version 2015012713 is missing corresponding savepoint call
version 2015012714 is missing corresponding savepoint call
version 2015012715 is missing corresponding savepoint call
version 2015060102 is missing corresponding savepoint call
version 2015060103 is missing corresponding savepoint call
version 2015060104 is missing corresponding savepoint call
version 2015060109 is missing corresponding savepoint call
version 2015060111 is missing corresponding savepoint call
version 2015111900.01 is missing corresponding savepoint call
version 2015111900.02 is missing corresponding savepoint call
version 2015111901.01 is missing corresponding savepoint call
version 2015111901.03 is missing corresponding savepoint call
version 2015111903 is missing corresponding savepoint call
version 2015111905 is missing corresponding savepoint call
version 2015111911.01 is missing corresponding savepoint call
version 2015111913 is missing corresponding savepoint call
version 2015111913.02 is missing corresponding savepoint call
version 2015111914.02 is missing corresponding savepoint call
version 2015111914.03 is missing corresponding savepoint call
version 2015111916.01 is missing corresponding savepoint call
version 2016062000.01 is missing corresponding savepoint call
version 2016062000.03 is missing corresponding savepoint call
version 2016062001.01 is missing corresponding savepoint call
version 2016062004.01 is missing corresponding savepoint call
version 2016120500.05 is missing corresponding savepoint call
version 2016120500.06 is missing corresponding savepoint call
version 2017111301 is missing corresponding savepoint call
version 2018051702 is missing corresponding savepoint call
version 2018051703 is missing corresponding savepoint call
version 2018051704 is missing corresponding savepoint call
version 2018051705 is missing corresponding savepoint call

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 "stylelint:css" 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, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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