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

(237 errors, 196 warnings)

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

local/o365/classes/adminsetting/adminconsent.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/adminsetting/azuresetup.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#76) Line exceeds 132 characters; contains 166 characters
(#127) Line exceeds 132 characters; contains 138 characters
(#129) Line exceeds 132 characters; contains 138 characters
(#136) Line exceeds 132 characters; contains 134 characters
(#138) Line exceeds 132 characters; contains 152 characters
(#139) Line exceeds 132 characters; contains 156 characters
(#140) Line exceeds 132 characters; contains 162 characters
(#141) Line exceeds 132 characters; contains 154 characters
(#142) Line exceeds 132 characters; contains 158 characters
(#143) Line exceeds 132 characters; contains 164 characters
(#148) Line exceeds 132 characters; contains 134 characters
(#151) Line exceeds 132 characters; contains 143 characters
(#152) Line exceeds 132 characters; contains 136 characters
(#153) Line exceeds 132 characters; contains 134 characters
local/o365/classes/adminsetting/configmulticheckboxchoiceshelp.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/adminsetting/detectoidc.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/adminsetting/fieldmap.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#47) Line exceeds 132 characters; contains 141 characters
(#198) Line exceeds 132 characters; contains 141 characters
local/o365/classes/adminsetting/healthcheck.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/adminsetting/moodlesetup.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/adminsetting/sdsfieldmap.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#47) Line exceeds 132 characters; contains 141 characters
local/o365/classes/adminsetting/serviceresource.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/adminsetting/sharepointcourseselect.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/adminsetting/sharepointlink.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/adminsetting/systemapiuser.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#94) Empty CATCH statement detected
local/o365/classes/adminsetting/toollink.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/adminsetting/usergroups.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#85) Line exceeds maximum limit of 180 characters; contains 246 characters
local/o365/classes/adminsetting/usersynccreationrestriction.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#116) Line exceeds 132 characters; contains 133 characters
(#123) Line exceeds 132 characters; contains 174 characters
(#125) Line exceeds 132 characters; contains 149 characters
local/o365/classes/adminsetting/usersyncfieldmap.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#47) Line exceeds 132 characters; contains 141 characters
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
local/o365/classes/bot/botintent.php
(#65) Expected "if (...) {\n"; found "if(...){\n"
(#70) Expected "if (...) {\n"; found "if(...){\n"
local/o365/classes/bot/intents/assignmentcomparison.php
(#47) Whitespace found at end of line within string
local/o365/classes/bot/intents/assignmentsforgrading.php
(#83) Line exceeds 132 characters; contains 133 characters
local/o365/classes/bot/intents/intentshelper.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) No space found before comment text; expected "// Date format used in bot messages" but found "//Date format used in bot messages"
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// Time format used in bot messages" but found "//Time format used in bot messages"
(#48) Expected 1 space before opening brace; found 0
(#63) Expected "if (...) {\n"; found "if(...){\n"
(#68) Expected "if (...) {\n"; found "if(...){\n"
(#79) Expected 1 space before opening brace; found 0
(#98) Expected 1 space before opening brace; found 0
local/o365/classes/bot/intents/laststudentlogin.php
(#52) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#59) Commas (,) must be followed by white space.
(#59) Line exceeds 132 characters; contains 137 characters
local/o365/classes/bot/intents/lateststudents.php
(#54) Commas (,) must be followed by white space.
(#54) Line exceeds 132 characters; contains 133 characters
local/o365/classes/bot/intents/recentstudents.php
(#54) Commas (,) must be followed by white space.
(#54) Line exceeds 132 characters; contains 133 characters
local/o365/classes/bot/intents/worststudentslastassignments.php
(#28) "require_once" must be immediately followed by an open parenthesis
(#80) Closing brace must be on a line by itself
(#81) Expected "if (...) {\n"; found "if(...){\n"
local/o365/classes/feature/calsync/form/element/calendar.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Expected 1 space before "="; 0 found
(#43) Expected 1 space after "="; 0 found
(#54) Variable "elementName" must be all lower-case
(#54) Variable "elementLabel" must be all lower-case
(#54) Line exceeds 132 characters; contains 134 characters
(#55) Variable "elementName" must be all lower-case
(#55) Variable "elementLabel" must be all lower-case
(#69) Variable "elementName" must be all lower-case
(#69) Variable "elementLabel" must be all lower-case
(#70) Variable "elementName" must be all lower-case
(#70) Variable "elementLabel" must be all lower-case
(#92) Public method name "calendar::setValue" must be in lower-case letters only
(#109) method name "calendar::getHelpButton" must be in lower-case letters only
(#109) Visibility must be declared on method "getHelpButton"
(#109) Expected 1 space before opening brace; found 0
(#120) Public method name "calendar::exportValue" must be in lower-case letters only
(#120) Variable "submitValues" must be all lower-case
(#121) Variable "submitValues" must be all lower-case
(#130) Public method name "calendar::toHtml" must be in lower-case letters only
(#135) Line exceeds 132 characters; contains 136 characters
(#137) Line exceeds 132 characters; contains 142 characters
local/o365/classes/feature/calsync/form/subscriptions.php
(#30) Line exceeds maximum limit of 180 characters; contains 190 characters
(#69) Line exceeds 132 characters; contains 142 characters
(#73) Line exceeds 132 characters; contains 142 characters
(#78) Line exceeds 132 characters; contains 143 characters
(#152) Line exceeds 132 characters; contains 148 characters
(#154) Line exceeds 132 characters; contains 133 characters
(#155) Line exceeds 132 characters; contains 139 characters
local/o365/classes/feature/calsync/main.php
(#113) Line exceeds 132 characters; contains 141 characters
(#240) Line exceeds 132 characters; contains 145 characters
(#260) Line exceeds 132 characters; contains 154 characters
(#523) Line exceeds 132 characters; contains 150 characters
local/o365/classes/feature/calsync/observers.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/feature/calsync/task/syncoldevents.php
(#121) Line exceeds 132 characters; contains 170 characters
(#123) Line exceeds 132 characters; contains 176 characters
(#157) Line exceeds 132 characters; contains 134 characters
(#233) Line exceeds 132 characters; contains 168 characters
(#237) Line exceeds 132 characters; contains 134 characters
(#241) Line exceeds 132 characters; contains 170 characters
(#243) Line exceeds 132 characters; contains 176 characters
(#281) Line exceeds 132 characters; contains 134 characters
local/o365/classes/feature/sds/task/sync.php
(#93) Line exceeds 132 characters; contains 137 characters
(#144) Line exceeds 132 characters; contains 136 characters
local/o365/classes/feature/sharepointcustom/utils.php
(#73) Line indented incorrectly; expected 16 spaces, found 20
(#79) Line indented incorrectly; expected 20 spaces, found 24
(#81) Line indented incorrectly; expected 24 spaces, found 28
(#85) Line indented incorrectly; expected 28 spaces, found 32
(#87) Line indented incorrectly; expected 28 spaces, found 32
(#92) Line indented incorrectly; expected 24 spaces, found 28
(#95) Line indented incorrectly; expected 24 spaces, found 28
(#96) Line indented incorrectly; expected 20 spaces, found 24
(#98) Line indented incorrectly; expected 16 spaces, found 20
(#104) Line indented incorrectly; expected 16 spaces, found 20
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) This comment is 75% valid code; is this commented out code?
(#112) Line indented incorrectly; expected 16 spaces, found 20
(#114) Line indented incorrectly; expected 16 spaces, found 20
(#128) Line indented incorrectly; expected at least 4 spaces, found 3
(#129) Expected 4 space(s) before asterisk; 5 found
(#130) Expected 4 space(s) before asterisk; 5 found
(#131) Expected 4 space(s) before asterisk; 5 found
(#132) Expected 4 space(s) before asterisk; 5 found
(#133) Expected 4 space(s) before asterisk; 5 found
(#134) Expected 4 space(s) before asterisk; 5 found
local/o365/classes/feature/userconnections/filtering.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/feature/userconnections/table.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/feature/usergroups/coursegroups.php
(#37) Member variable "DB" must be all lower-case
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#432) Whitespace found at end of line
(#471) Whitespace found at end of line
(#557) Whitespace found at end of line
(#716) Inline comments must end in full-stops, exclamation marks, or question marks
(#1279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1279) Inline comments must end in full-stops, exclamation marks, or question marks
local/o365/classes/feature/usergroups/utils.php
(#137) Line exceeds 132 characters; contains 140 characters
(#171) Line exceeds 132 characters; contains 144 characters
(#260) Line exceeds 132 characters; contains 140 characters
(#303) Line exceeds 132 characters; contains 139 characters
(#367) Closing brace must be on a line by itself
(#430) Line exceeds 132 characters; contains 137 characters
(#453) Line exceeds 132 characters; contains 135 characters
(#494) Must use "self::" for local static member reference
(#572) Line exceeds 132 characters; contains 136 characters
(#636) Line indented incorrectly; expected at least 4 spaces, found 3
(#637) Expected 4 space(s) before asterisk; 5 found
(#638) Expected 4 space(s) before asterisk; 5 found
(#639) Expected 4 space(s) before asterisk; 5 found
(#640) Expected 4 space(s) before asterisk; 5 found
(#641) Expected 4 space(s) before asterisk; 5 found
(#642) Expected 4 space(s) before asterisk; 5 found
local/o365/classes/feature/usersync/main.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#428) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#610) Commas (,) must be followed by white space.
(#956) Inline comments must end in full-stops, exclamation marks, or question marks
(#958) Expected "if (...) {\n"; found "if(...) {\n"
(#1023) Line exceeds 132 characters; contains 134 characters
(#1077) Line exceeds 132 characters; contains 142 characters
(#1117) Line exceeds 132 characters; contains 133 characters
(#1245) Inline comments must end in full-stops, exclamation marks, or question marks
local/o365/classes/form/groupedit.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#56) Line exceeds 132 characters; contains 134 characters
(#67) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
local/o365/classes/healthcheck/ratelimit.php
(#77) Empty IF statement detected
(#79) Empty ELSE statement detected
local/o365/classes/httpclient.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#172) Whitespace found at end of line
(#181) Commas (,) must be followed by white space.
local/o365/classes/httpclientinterface.php
(#75) Public method name "httpclientinterface::setHeader" must be in lower-case letters only
(#80) Public method name "httpclientinterface::resetHeader" must be in lower-case letters only
local/o365/classes/oauth2/token.php
(#164) Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$userid" was used, and possibly changed (by reference), on line 151.
(#170) Line exceeds 132 characters; contains 137 characters
(#191) Line exceeds 132 characters; contains 177 characters
local/o365/classes/observers.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#286) Whitespace found at end of line
(#559) Whitespace found at end of line
(#609) Inline comments must start with a capital letter, digit or 3-dots sequence
(#609) Inline comments must end in full-stops, exclamation marks, or question marks
(#806) Inline comments must start with a capital letter, digit or 3-dots sequence
(#806) Inline comments must end in full-stops, exclamation marks, or question marks
(#893) Inline comments must start with a capital letter, digit or 3-dots sequence
(#893) Inline comments must end in full-stops, exclamation marks, or question marks
(#899) Inline comments must start with a capital letter, digit or 3-dots sequence
(#909) Inline comments must start with a capital letter, digit or 3-dots sequence
(#916) Inline comments must start with a capital letter, digit or 3-dots sequence
(#922) Inline comments must start with a capital letter, digit or 3-dots sequence
(#927) Inline comments must start with a capital letter, digit or 3-dots sequence
(#927) Inline comments must end in full-stops, exclamation marks, or question marks
(#930) Inline comments must start with a capital letter, digit or 3-dots sequence
(#935) Inline comments must start with a capital letter, digit or 3-dots sequence
(#935) Inline comments must end in full-stops, exclamation marks, or question marks
(#937) Inline comments must start with a capital letter, digit or 3-dots sequence
(#943) Inline comments must start with a capital letter, digit or 3-dots sequence
(#949) Inline comments must start with a capital letter, digit or 3-dots sequence
(#954) Inline comments must start with a capital letter, digit or 3-dots sequence
(#954) Inline comments must end in full-stops, exclamation marks, or question marks
(#958) Inline comments must start with a capital letter, digit or 3-dots sequence
(#961) Expected "} else {\n"; found "}else{\n"
(#965) Inline comments must start with a capital letter, digit or 3-dots sequence
(#965) Inline comments must end in full-stops, exclamation marks, or question marks
(#968) Inline comments must start with a capital letter, digit or 3-dots sequence
(#973) Inline comments must end in full-stops, exclamation marks, or question marks
(#973) No space found before comment text; expected "// Check if we need to add activity details" but found "//Check if we need to add activity details"
(#974) Variable "listItems" must be all lower-case
(#975) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#977) Variable "listItems" must be all lower-case
(#986) Inline comments must start with a capital letter, digit or 3-dots sequence
(#986) Inline comments must end in full-stops, exclamation marks, or question marks
(#988) Variable "listItems" must be all lower-case
local/o365/classes/page/acp.php
(#331) Expected 1 space after ">"; 2 found
(#331) Expected 1 space before "?"; 2 found
(#552) Line exceeds 132 characters; contains 136 characters
(#725) Inline comments must end in full-stops, exclamation marks, or question marks
(#756) Expected 1 space before "=>"; 0 found
(#756) Expected 1 space after "=>"; 0 found
(#805) Line exceeds 132 characters; contains 135 characters
(#809) Line exceeds 132 characters; contains 133 characters
(#838) Line exceeds 132 characters; contains 134 characters
(#1079) "require_once" must be immediately followed by an open parenthesis
(#1083) Line exceeds 132 characters; contains 150 characters
(#1151) Commas (,) must be followed by white space.
(#1151) Expected 1 space before "=>"; 0 found
(#1151) Expected 1 space after "=>"; 0 found
(#1209) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1209) This comment is 67% valid code; is this commented out code?
(#1222) Line exceeds 132 characters; contains 161 characters
(#1232) Line exceeds 132 characters; contains 150 characters
(#1245) Line indented incorrectly; expected at least 8 spaces, found 7
(#1249) Line exceeds maximum limit of 180 characters; contains 192 characters
(#1250) Expected 1 space before "=>"; 0 found
(#1250) Expected 1 space after "=>"; 0 found
(#1254) Expected 1 space before "=>"; 0 found
(#1254) Expected 1 space after "=>"; 0 found
(#1254) Line exceeds 132 characters; contains 145 characters
(#1326) Line exceeds 132 characters; contains 138 characters
(#1328) Line exceeds 132 characters; contains 145 characters
(#1349) Line exceeds maximum limit of 180 characters; contains 200 characters
local/o365/classes/page/ajax.php
(#486) Inline comments must end in full-stops, exclamation marks, or question marks
(#487) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) Variable "available_webservices" must not contain underscores.
(#498) Variable "active_webservices" must not contain underscores.
(#499) Expected 1 space before "=>"; 0 found
(#499) Expected 1 space after "=>"; 0 found
(#499) Variable "active_webservices" must not contain underscores.
(#499) Expected 1 space before "=>"; 0 found
(#499) Expected 1 space after "=>"; 0 found
(#500) Variable "available_webservices" must not contain underscores.
(#501) Variable "active_webservices" must not contain underscores.
(#504) Variable "active_webservices" must not contain underscores.
(#505) Variable "active_webservices" must not contain underscores.
(#506) Variable "active_webservices" must not contain underscores.
(#506) Variable "active_webservices" must not contain underscores.
(#507) Variable "active_webservices" must not contain underscores.
(#544) Functions must not contain multiple empty lines in a row; found 2 empty lines
local/o365/classes/page/groupcp.php
(#73) Line exceeds 132 characters; contains 140 characters
(#120) Line exceeds 132 characters; contains 139 characters
(#317) Line exceeds 132 characters; contains 137 characters
(#337) Line exceeds 132 characters; contains 136 characters
(#438) Line exceeds 132 characters; contains 134 characters
local/o365/classes/page/ucp.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#316) Line exceeds 132 characters; contains 144 characters
(#358) Line exceeds 132 characters; contains 136 characters
(#375) Line exceeds 132 characters; contains 137 characters
(#382) Line exceeds 132 characters; contains 137 characters
(#389) Line exceeds 132 characters; contains 135 characters
(#483) Line exceeds 132 characters; contains 140 characters
(#485) Inline comments must start with a capital letter, digit or 3-dots sequence
(#485) Inline comments must end in full-stops, exclamation marks, or question marks
(#485) This comment is 67% valid code; is this commented out code?
(#485) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#489) Line exceeds 132 characters; contains 134 characters
(#490) Inline comments must start with a capital letter, digit or 3-dots sequence
(#490) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#500) Line exceeds 132 characters; contains 140 characters
local/o365/classes/privacy/provider.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#32) Closing brace must be on a line by itself
(#34) Duplicate interface name "local_o365\privacy\local_o365_userlist" found; first defined in /var/lib/jenkins/git_repositories/prechecker/local/o365/classes/privacy/provider.php on line 32
(#34) Closing brace must be on a line by itself
local/o365/classes/rest/azuread.php
(#449) Line exceeds 132 characters; contains 136 characters
local/o365/classes/rest/calendar.php
(#127) Line exceeds 132 characters; contains 135 characters
(#128) Line exceeds 132 characters; contains 134 characters
local/o365/classes/rest/sharepoint.php
(#837) Empty CATCH statement detected
(#872) Line exceeds 132 characters; contains 147 characters
(#937) Line exceeds maximum limit of 180 characters; contains 183 characters
(#953) Line exceeds 132 characters; contains 139 characters
(#971) Line exceeds 132 characters; contains 146 characters
(#975) Line exceeds 132 characters; contains 179 characters
(#983) Line exceeds 132 characters; contains 173 characters
(#1036) Expected 1 space before "*"; 0 found
(#1036) Expected 1 space after "*"; 0 found
local/o365/classes/rest/unified.php
(#841) Variable "securityEnabledOnly" must be all lower-case
(#844) Variable "securityEnabledOnly" must be all lower-case
(#1038) Line exceeds 132 characters; contains 135 characters
(#1066) Expected 1 space after "="; 2 found
(#2007) Line exceeds 132 characters; contains 136 characters
(#2018) Must use "self::" for local static member reference
(#2197) Commas (,) must be followed by white space.
(#2197) Commas (,) must be followed by white space.
(#2197) Inline comments must end in full-stops, exclamation marks, or question marks
local/o365/classes/task/bot.php
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) No space found before comment text; expected "// $this->assignment_past_due_date(); - will be used for custom proactive notifications" but found "//$this->assignment_past_due_date(); - will be used for custom proactive notifications"
local/o365/classes/task/processmatchqueue.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#226) Line exceeds 132 characters; contains 152 characters
local/o365/classes/task/sharepointinit.php
(#51) This comment is 43% valid code; is this commented out code?
(#119) Line exceeds 132 characters; contains 143 characters
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
local/o365/classes/tests/mocksharepoint.php
(#36) Possible useless method overriding detected
local/o365/classes/utils.php
(#235) The use of function print_r() is forbidden
(#237) The use of function print_r() is forbidden
(#280) Must use "self::" for local static member reference
(#374) Empty CATCH statement detected
(#374) Empty CATCH statement must have a comment to explain why the exception is not handled
(#403) Empty CATCH statement detected
(#403) Empty CATCH statement must have a comment to explain why the exception is not handled
local/o365/classes/webservices/create_onenoteassignment.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/webservices/delete_onenoteassignment.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#58) Line exceeds 132 characters; contains 135 characters
local/o365/classes/webservices/exception/assignnotfound.php
(#35) Line exceeds 132 characters; contains 151 characters
local/o365/classes/webservices/exception/couldnotsavegrade.php
(#35) Line exceeds 132 characters; contains 151 characters
local/o365/classes/webservices/exception/invalidassignment.php
(#35) Line exceeds 132 characters; contains 151 characters
local/o365/classes/webservices/exception/modulenotfound.php
(#35) Line exceeds 132 characters; contains 151 characters
local/o365/classes/webservices/exception/sectionnotfound.php
(#35) Line exceeds 132 characters; contains 151 characters
local/o365/classes/webservices/read_assignments.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#51) Line exceeds 132 characters; contains 137 characters
(#64) Line exceeds 132 characters; contains 148 characters
(#84) Line exceeds 132 characters; contains 139 characters
(#154) Expected 1 space before "="; 0 found
(#154) Expected 1 space after "="; 0 found
local/o365/classes/webservices/read_courseusers.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#94) Empty IF statement detected
(#172) Line exceeds 132 characters; contains 137 characters
(#177) Line exceeds 132 characters; contains 141 characters
(#178) Line exceeds 132 characters; contains 137 characters
(#179) Line exceeds 132 characters; contains 135 characters
local/o365/classes/webservices/read_onenoteassignment.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#55) Line exceeds 132 characters; contains 135 characters
local/o365/classes/webservices/read_teachercourses.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#129) Line exceeds 132 characters; contains 139 characters
local/o365/classes/webservices/update_grade.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/classes/webservices/update_onenoteassignment.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#64) Line exceeds 132 characters; contains 135 characters
local/o365/db/access.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/db/caches.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/db/events.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
local/o365/db/install.php
(#26) "require_once" must be immediately followed by an open parenthesis
local/o365/db/services.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/db/tasks.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/o365/db/upgrade.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) "require_once" must be immediately followed by an open parenthesis
(#394) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#577) Line exceeds maximum limit of 180 characters; contains 222 characters
(#620) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
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
(#240) Whitespace found at end of line within string
(#278) Whitespace found at end of line within string
(#703) Inline comments must start with a capital letter, digit or 3-dots sequence
(#764) Inline comments must start with a capital letter, digit or 3-dots sequence
local/o365/lib.php
(#54) Line exceeds 132 characters; contains 137 characters
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#107) Expected "if (...) {\n"; found "if (...){\n"
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Line exceeds maximum limit of 180 characters; contains 321 characters
(#294) function name "local_o365_base64UrlDecode" must be lower-case letters only
(#295) Variable "urlUnsafeData" must be all lower-case
(#296) Variable "paddedData" must be all lower-case
(#296) Variable "urlUnsafeData" must be all lower-case
(#297) Variable "paddedData" must be all lower-case
(#305) Expected "if (...) {\n"; found "if(...){\n"
(#318) Expected 1 space after "="; 2 found
(#318) The use of backticks in strings is not recommended
(#321) Expected "for (...) {\n"; found "for (...){\n"
(#321) Expected 1 space before "="; 0 found
(#321) Expected 1 space after "="; 0 found
local/o365/settings.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#352) Inline comments must end in full-stops, exclamation marks, or question marks
(#473) Inline comments must end in full-stops, exclamation marks, or question marks
(#473) No space found before comment text; expected "// Setup Moodle Settings for Teams" but found "//Setup Moodle Settings for Teams"
(#478) No space found before comment text; expected "// Instructions." but found "//Instructions."
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.
(#36) Variable "headerEncoded" must be all lower-case
(#36) Variable "payloadEncoded" must be all lower-case
(#36) Variable "signatureEncoded" must be all lower-case
(#38) Variable "payloadEncoded" must be all lower-case
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.
(#96) Whitespace found at end of line within string
(#136) Whitespace found at end of line within string
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.
(#100) Whitespace found at end of line within string
(#185) Whitespace found at end of line within string
local/o365/teams_tab_redirect.php
(#27) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/o365/tests/azuread_test.php
(#38) Possible useless method overriding detected
local/o365/tests/observers_test.php
(#73) Visibility must be declared on method "create_member_entities"
(#110) Visibility must be declared on method "has_member_entities"
local/o365/tests/sdssync_test.php
(#310) Line exceeds 132 characters; contains 159 characters
(#342) Line exceeds 132 characters; contains 160 characters
local/o365/tests/usergroupsutils_test.php
(#158) Line exceeds 132 characters; contains 148 characters
local/o365/tests/usersync_test.php
(#347) Expected 1 space after "="; 0 found
(#347) Expected 1 space after "<="; 0 found
local/o365/tests/webservices_onenoteassignment_test.php
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#524) Inline comments must end in full-stops, exclamation marks, or question marks
local/o365/tests/webservices_utils_test.php
(#273) Line exceeds 132 characters; contains 142 characters
(#331) Line exceeds 132 characters; contains 164 characters
(#332) Line exceeds 132 characters; contains 155 characters
(#341) Line exceeds 132 characters; contains 166 characters
(#364) Line exceeds maximum limit of 180 characters; contains 181 characters
(#463) Line exceeds 132 characters; contains 149 characters
local/o365/token.php
(#44) Variable "headerEncoded" must be all lower-case
(#44) Variable "payloadEncoded" must be all lower-case
(#44) Variable "signatureEncoded" must be all lower-case
(#45) Variable "dataEncoded" must be all lower-case
(#45) Variable "headerEncoded" must be all lower-case
(#46) Variable "signatureEncoded" must be all lower-case
(#48) Variable "rawSignature" must be all lower-case
(#48) Variable "dataEncoded" must be all lower-case
(#49) Expected "if (...) {\n"; found "if(...){\n"
(#49) Variable "rawSignature" must be all lower-case
(#54) Variable "payloadEncoded" must be all lower-case

Javascript coding style problems

(87 errors, 128 warnings)

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

local/o365/classes/adminsetting/azuresetup.js
(#23) '$' is not defined. (no-undef)
(#25) '$' is not defined. (no-undef)
(#57) This line has a length of 156. Maximum allowed is 132. (max-len)
(#69) '$' is not defined. (no-undef)
(#76) '$' is not defined. (no-undef)
(#82) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#93) 'data' is defined but never used. (no-unused-vars)
(#97) Missing semicolon. (semi)
(#99) Missing JSDoc return type. (valid-jsdoc)
(#102) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#102) Expected JSDoc for 'content' but found 'string'. (valid-jsdoc)
(#106) '$' is not defined. (no-undef)
(#110) Missing semicolon. (semi)
(#112) Missing JSDoc return type. (valid-jsdoc)
(#115) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#115) Expected JSDoc for 'content' but found 'string'. (valid-jsdoc)
(#119) '$' is not defined. (no-undef)
(#123) Missing semicolon. (semi)
(#125) Missing JSDoc return type. (valid-jsdoc)
(#128) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#128) Expected JSDoc for 'content' but found 'string'. (valid-jsdoc)
(#132) '$' is not defined. (no-undef)
(#136) Missing semicolon. (semi)
(#141) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#141) Expected JSDoc for 'content' but found 'string'. (valid-jsdoc)
(#145) Missing semicolon. (semi)
(#147) Missing JSDoc return type. (valid-jsdoc)
(#150) Missing JSDoc parameter type for 'object'. (valid-jsdoc)
(#150) Expected JSDoc for 'data' but found 'object'. (valid-jsdoc)
(#153) Identifier 'rendersection_unifiedapi' is not in camel case. (camelcase)
(#154) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#158) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#160) '$' is not defined. (no-undef)
(#164) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#166) 'missingpermsbox' used outside of binding context. (block-scoped-var)
(#167) 'perm' used outside of binding context. (block-scoped-var)
(#168) 'missingpermsbox' used outside of binding context. (block-scoped-var)
(#168) 'perm' used outside of binding context. (block-scoped-var)
(#170) 'missingpermsbox' used outside of binding context. (block-scoped-var)
(#171) 'missingpermsbox' used outside of binding context. (block-scoped-var)
(#179) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#181) 'missingpermsbox' is already defined. (no-redeclare)
(#181) 'missingpermsbox' used outside of binding context. (block-scoped-var)
(#182) 'perm' is already defined. (no-redeclare)
(#182) 'perm' used outside of binding context. (block-scoped-var)
(#183) 'missingpermsbox' used outside of binding context. (block-scoped-var)
(#183) 'perm' used outside of binding context. (block-scoped-var)
(#185) 'missingpermsbox' used outside of binding context. (block-scoped-var)
(#186) 'missingpermsbox' used outside of binding context. (block-scoped-var)
(#197) Missing semicolon. (semi)
(#199) Missing JSDoc return type. (valid-jsdoc)
(#202) Missing JSDoc parameter type for 'object'. (valid-jsdoc)
(#202) Expected JSDoc for 'data' but found 'object'. (valid-jsdoc)
(#205) Identifier 'rendersection_legacyapi' is not in camel case. (camelcase)
(#206) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#210) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#221) 'content' is already defined. (no-redeclare)
(#224) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#225) '$' is not defined. (no-undef)
(#236) Missing semicolon. (semi)
(#238) Missing JSDoc @returns for function. (valid-jsdoc)
(#241) Missing JSDoc parameter type for 'object'. (valid-jsdoc)
(#241) Expected JSDoc for 'results' but found 'object'. (valid-jsdoc)
(#244) '$' is not defined. (no-undef)
(#250) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#251) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#253) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#254) '$' is not defined. (no-undef)
(#255) Operator '+' must be spaced. (space-infix-ops)
(#255) Operator '+' must be spaced. (space-infix-ops)
(#256) Operator '+' must be spaced. (space-infix-ops)
(#256) Operator '+' must be spaced. (space-infix-ops)
(#258) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#259) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#259) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#260) Blocks are nested too deeply (6). Maximum allowed is 4. (max-depth)
(#263) 'errstr' used outside of binding context. (block-scoped-var)
(#263) Operator '+' must be spaced. (space-infix-ops)
(#264) 'errstr' used outside of binding context. (block-scoped-var)
(#264) Operator '+' must be spaced. (space-infix-ops)
(#264) Operator '+' must be spaced. (space-infix-ops)
(#264) Operator '+' must be spaced. (space-infix-ops)
(#265) 'errstr' used outside of binding context. (block-scoped-var)
(#265) Operator '+' must be spaced. (space-infix-ops)
(#265) Operator '+' must be spaced. (space-infix-ops)
(#265) Operator '+' must be spaced. (space-infix-ops)
(#266) 'errstr' used outside of binding context. (block-scoped-var)
(#272) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#272) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#273) Blocks are nested too deeply (6). Maximum allowed is 4. (max-depth)
(#276) 'errstr' is already defined. (no-redeclare)
(#276) 'errstr' used outside of binding context. (block-scoped-var)
(#276) Operator '+' must be spaced. (space-infix-ops)
(#277) 'errstr' used outside of binding context. (block-scoped-var)
(#277) Operator '+' must be spaced. (space-infix-ops)
(#277) Operator '+' must be spaced. (space-infix-ops)
(#277) Operator '+' must be spaced. (space-infix-ops)
(#278) 'errstr' used outside of binding context. (block-scoped-var)
(#278) Operator '+' must be spaced. (space-infix-ops)
(#278) Operator '+' must be spaced. (space-infix-ops)
(#278) Operator '+' must be spaced. (space-infix-ops)
(#279) 'errstr' used outside of binding context. (block-scoped-var)
(#290) '$' is not defined. (no-undef)
(#293) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#301) '$' is not defined. (no-undef)
(#304) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#316) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#326) Missing semicolon. (semi)
(#330) '$' is not defined. (no-undef)
(#337) '$' is not defined. (no-undef)
(#342) '$' is not defined. (no-undef)
(#343) '$' is not defined. (no-undef)
(#356) Missing semicolon. (semi)
(#359) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#367) Missing semicolon. (semi)
(#369) Missing semicolon. (semi)
local/o365/classes/adminsetting/fieldmap.js
(#23) '$' is not defined. (no-undef)
(#25) '$' is not defined. (no-undef)
(#27) 'opts' is assigned a value but never used. (no-unused-vars)
(#27) '$' is not defined. (no-undef)
(#29) Unexpected console statement. (no-console)
(#34) Missing semicolon. (semi)
(#42) 'e' is defined but never used. (no-unused-vars)
(#43) '$' is not defined. (no-undef)
(#45) Missing semicolon. (semi)
(#48) Missing semicolon. (semi)
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)
(#43) Missing JSDoc return type. (valid-jsdoc)
(#46) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#46) Expected JSDoc for 'content' but found 'string'. (valid-jsdoc)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#50) '$' is not defined. (no-undef)
(#54) Missing semicolon. (semi)
(#56) Missing JSDoc return type. (valid-jsdoc)
(#59) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#59) Expected JSDoc for 'content' but found 'string'. (valid-jsdoc)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#63) '$' is not defined. (no-undef)
(#67) Missing semicolon. (semi)
(#69) Missing JSDoc return type. (valid-jsdoc)
(#72) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#72) Expected JSDoc for 'content' but found 'string'. (valid-jsdoc)
(#75) Unexpected space before function parentheses. (space-before-function-paren)
(#76) '$' is not defined. (no-undef)
(#80) Missing semicolon. (semi)
(#85) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#85) Expected JSDoc for 'content' but found 'string'. (valid-jsdoc)
(#87) Unexpected space before function parentheses. (space-before-function-paren)
(#89) Missing semicolon. (semi)
(#91) Missing JSDoc @returns for function. (valid-jsdoc)
(#94) Missing JSDoc parameter type for 'object'. (valid-jsdoc)
(#94) Expected JSDoc for 'results' but found 'object'. (valid-jsdoc)
(#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/sharepointlink.js
(#23) '$' is not defined. (no-undef)
(#25) '$' is not defined. (no-undef)
(#29) '$' is not defined. (no-undef)
(#54) Missing semicolon. (semi)
(#58) Use '===' to compare with null. (no-eq-null)
(#61) Statement inside of curly braces should be on next line. (brace-style)
(#61) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#65) Missing semicolon. (semi)
(#69) '$' is not defined. (no-undef)
(#75) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#76) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#76) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#90) 'data' is defined but never used. (no-unused-vars)
(#94) Missing semicolon. (semi)
(#96) A space is required after ','. (comma-spacing)
(#97) '$' is not defined. (no-undef)
(#105) Missing semicolon. (semi)

CSS problems

(229 errors, 23 warnings)

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

local/o365/styles.css
(#2) Expected newline before "}" (block-closing-brace-newline-before)
(#4) Expected newline before "}" (block-closing-brace-newline-before)
(#6) Expected newline before "}" (block-closing-brace-newline-before)
(#10) Expected newline before "}" (block-closing-brace-newline-before)
(#12) Expected newline before "}" (block-closing-brace-newline-before)
(#14) Expected newline before "}" (block-closing-brace-newline-before)
(#17) Expected newline before "}" (block-closing-brace-newline-before)
(#20) Expected newline before "}" (block-closing-brace-newline-before)
(#25) Expected newline before "}" (block-closing-brace-newline-before)
(#29) Expected newline before "}" (block-closing-brace-newline-before)
(#32) Expected newline before "}" (block-closing-brace-newline-before)
(#35) Expected newline before "}" (block-closing-brace-newline-before)
(#37) Expected newline before "}" (block-closing-brace-newline-before)
(#42) Expected newline before "}" (block-closing-brace-newline-before)
(#45) Expected newline before "}" (block-closing-brace-newline-before)
(#48) Expected newline before "}" (block-closing-brace-newline-before)
(#51) Expected newline before "}" (block-closing-brace-newline-before)
(#53) Expected newline before "}" (block-closing-brace-newline-before)
(#55) Expected newline before "}" (block-closing-brace-newline-before)
(#62) Expected newline before "}" (block-closing-brace-newline-before)
(#64) Expected newline before "}" (block-closing-brace-newline-before)
(#66) Expected newline before "}" (block-closing-brace-newline-before)
(#68) Expected newline before "}" (block-closing-brace-newline-before)
(#75) Expected newline before "}" (block-closing-brace-newline-before)
(#77) Expected newline before "}" (block-closing-brace-newline-before)
(#79) Expected newline before "}" (block-closing-brace-newline-before)
(#81) Expected newline before "}" (block-closing-brace-newline-before)
(#83) Expected newline before "}" (block-closing-brace-newline-before)
(#86) Expected newline before "}" (block-closing-brace-newline-before)
(#88) Expected newline before "}" (block-closing-brace-newline-before)
(#91) Expected newline before "}" (block-closing-brace-newline-before)
(#94) Expected newline before "}" (block-closing-brace-newline-before)
(#97) Expected newline before "}" (block-closing-brace-newline-before)
(#100) Expected newline before "}" (block-closing-brace-newline-before)
(#103) Expected newline before "}" (block-closing-brace-newline-before)
(#109) Expected newline before "}" (block-closing-brace-newline-before)
(#111) Expected newline before "}" (block-closing-brace-newline-before)
(#114) Expected newline before "}" (block-closing-brace-newline-before)
(#120) Expected newline before "}" (block-closing-brace-newline-before)
(#123) Expected newline before "}" (block-closing-brace-newline-before)
(#126) Expected newline before "}" (block-closing-brace-newline-before)
(#128) Expected newline before "}" (block-closing-brace-newline-before)
(#135) Expected newline before "}" (block-closing-brace-newline-before)
(#140) Expected newline before "}" (block-closing-brace-newline-before)
(#144) Expected newline before "}" (block-closing-brace-newline-before)
(#247) Unexpected empty block (block-no-empty)
(#220) Expected "#6264A7" to be "#6264a7" (color-hex-case)
(#225) Expected "#201F1F" to be "#201f1f" (color-hex-case)
(#234) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#238) Expected "#A6A7DC" to be "#a6a7dc" (color-hex-case)
(#240) Expected "#201F1F" to be "#201f1f" (color-hex-case)
(#245) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#234) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#245) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#234) Unexpected duplicate "color" (declaration-block-no-duplicate-properties)
(#227) Unexpected shorthand "font" after "font-family" (declaration-block-no-shorthand-property-overrides)
(#178) Unexpected !important (declaration-no-important)
(#179) Unexpected !important (declaration-no-important)
(#217) Unexpected !important (declaration-no-important)
(#232) Unexpected !important (declaration-no-important)
(#233) Unexpected !important (declaration-no-important)
(#155) Expected single space after "," in a single-line function (function-comma-space-after)
(#155) Expected single space after "," in a single-line function (function-comma-space-after)
(#155) Expected single space after "," in a single-line function (function-comma-space-after)
(#159) Expected single space after "," in a single-line function (function-comma-space-after)
(#159) Expected single space after "," in a single-line function (function-comma-space-after)
(#159) Expected single space after "," in a single-line function (function-comma-space-after)
(#57) Unexpected unit (length-zero-no-unit)
(#151) Unexpected unit (length-zero-no-unit)
(#152) Unexpected unit (length-zero-no-unit)
(#178) Unexpected unit (length-zero-no-unit)
(#197) Unexpected unit (length-zero-no-unit)
(#256) Unexpected unit (length-zero-no-unit)
(#256) Unexpected unit (length-zero-no-unit)
(#260) Unexpected unit (length-zero-no-unit)
(#265) Unexpected unit (length-zero-no-unit)
(#288) Unexpected unit (length-zero-no-unit)
(#288) Unexpected unit (length-zero-no-unit)
(#63) Expected line length to be no more than 132 characters (max-line-length)
(#65) 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)
(#5) Expected newline after "," (selector-list-comma-newline-after)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#11) Expected newline after "," (selector-list-comma-newline-after)
(#13) Expected newline after "," (selector-list-comma-newline-after)
(#56) Expected newline after "," (selector-list-comma-newline-after)
(#63) Expected newline after "," (selector-list-comma-newline-after)
(#65) Expected newline after "," (selector-list-comma-newline-after)
(#67) Expected newline after "," (selector-list-comma-newline-after)
(#98) Expected newline after "," (selector-list-comma-newline-after)
(#101) Expected newline after "," (selector-list-comma-newline-after)
(#242) Expected newline after "," (selector-list-comma-newline-after)
(#247) Expected newline after "," (selector-list-comma-newline-after)
(#2) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 0 spaces (indentation)
(#13) Expected indentation of 0 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#18) Expected indentation of 0 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 4 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 0 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 0 spaces (indentation)
(#46) Expected indentation of 0 spaces (indentation)
(#49) Expected indentation of 0 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 0 spaces (indentation)
(#56) Expected indentation of 0 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 4 spaces (indentation)
(#61) Expected indentation of 4 spaces (indentation)
(#62) Expected indentation of 4 spaces (indentation)
(#63) Expected indentation of 0 spaces (indentation)
(#65) Expected indentation of 0 spaces (indentation)
(#67) Expected indentation of 0 spaces (indentation)
(#71) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#73) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#76) Expected indentation of 0 spaces (indentation)
(#78) Expected indentation of 0 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 4 spaces (indentation)
(#85) Expected indentation of 4 spaces (indentation)
(#86) Expected indentation of 4 spaces (indentation)
(#87) Expected indentation of 0 spaces (indentation)
(#91) Expected indentation of 4 spaces (indentation)
(#94) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 0 spaces (indentation)
(#101) Expected indentation of 0 spaces (indentation)
(#102) Expected indentation of 4 spaces (indentation)
(#103) Expected indentation of 4 spaces (indentation)
(#106) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#108) Expected indentation of 4 spaces (indentation)
(#109) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#113) Expected indentation of 4 spaces (indentation)
(#114) Expected indentation of 4 spaces (indentation)
(#115) Expected indentation of 0 spaces (indentation)
(#121) Expected indentation of 0 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#127) Expected indentation of 0 spaces (indentation)
(#129) Expected indentation of 0 spaces (indentation)
(#130) Expected indentation of 4 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#132) Expected indentation of 4 spaces (indentation)
(#133) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 4 spaces (indentation)
(#135) Expected indentation of 4 spaces (indentation)
(#139) Expected indentation of 4 spaces (indentation)
(#140) Expected indentation of 4 spaces (indentation)
(#144) Expected indentation of 4 spaces (indentation)
(#162) Expected indentation of 4 spaces (indentation)
(#163) Expected indentation of 4 spaces (indentation)
(#166) Expected indentation of 4 spaces (indentation)
(#167) Expected indentation of 4 spaces (indentation)
(#170) Expected indentation of 4 spaces (indentation)
(#171) Expected indentation of 4 spaces (indentation)
(#172) Expected indentation of 4 spaces (indentation)
(#173) Expected indentation of 4 spaces (indentation)
(#174) Expected indentation of 4 spaces (indentation)
(#175) Expected indentation of 4 spaces (indentation)
(#178) Expected indentation of 4 spaces (indentation)
(#179) Expected indentation of 4 spaces (indentation)
(#182) Expected indentation of 4 spaces (indentation)
(#183) Expected indentation of 4 spaces (indentation)
(#184) Expected indentation of 4 spaces (indentation)
(#185) Expected indentation of 4 spaces (indentation)
(#188) Expected indentation of 4 spaces (indentation)
(#191) Expected indentation of 4 spaces (indentation)
(#196) Expected indentation of 4 spaces (indentation)
(#197) Expected indentation of 4 spaces (indentation)
(#198) Expected indentation of 4 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#200) Expected indentation of 4 spaces (indentation)
(#201) Expected indentation of 4 spaces (indentation)
(#202) Expected indentation of 4 spaces (indentation)
(#207) Expected indentation of 4 spaces (indentation)
(#208) Expected indentation of 4 spaces (indentation)
(#209) Expected indentation of 4 spaces (indentation)
(#210) Expected indentation of 4 spaces (indentation)
(#211) Expected indentation of 4 spaces (indentation)
(#212) Expected indentation of 4 spaces (indentation)
(#213) Expected indentation of 4 spaces (indentation)
(#214) Expected indentation of 4 spaces (indentation)
(#217) Expected indentation of 4 spaces (indentation)
(#218) Expected indentation of 4 spaces (indentation)
(#219) Expected indentation of 4 spaces (indentation)
(#220) Expected indentation of 4 spaces (indentation)
(#221) Expected indentation of 4 spaces (indentation)
(#222) Expected indentation of 4 spaces (indentation)
(#223) Expected indentation of 4 spaces (indentation)
(#224) Expected indentation of 4 spaces (indentation)
(#225) Expected indentation of 4 spaces (indentation)
(#226) Expected indentation of 4 spaces (indentation)
(#227) Expected indentation of 4 spaces (indentation)
(#228) Expected indentation of 4 spaces (indentation)
(#229) Expected indentation of 4 spaces (indentation)
(#230) Expected indentation of 4 spaces (indentation)
(#231) Expected indentation of 4 spaces (indentation)
(#232) Expected indentation of 4 spaces (indentation)
(#233) Expected indentation of 4 spaces (indentation)
(#234) Expected indentation of 4 spaces (indentation)
(#235) Expected indentation of 4 spaces (indentation)
(#238) Expected indentation of 4 spaces (indentation)
(#239) Expected indentation of 4 spaces (indentation)
(#240) Expected indentation of 4 spaces (indentation)
(#243) Expected indentation of 4 spaces (indentation)
(#244) Expected indentation of 4 spaces (indentation)
(#245) Expected indentation of 4 spaces (indentation)
(#251) Expected indentation of 4 spaces (indentation)
(#252) Expected indentation of 4 spaces (indentation)
(#256) Expected indentation of 4 spaces (indentation)
(#260) Expected indentation of 4 spaces (indentation)
(#261) Expected indentation of 4 spaces (indentation)
(#265) Expected indentation of 4 spaces (indentation)
(#269) Expected indentation of 4 spaces (indentation)
(#270) Expected indentation of 4 spaces (indentation)
(#274) Expected indentation of 4 spaces (indentation)
(#275) Expected indentation of 4 spaces (indentation)
(#276) Expected indentation of 4 spaces (indentation)
(#280) Expected indentation of 4 spaces (indentation)
(#284) Expected indentation of 4 spaces (indentation)
(#288) Expected indentation of 4 spaces (indentation)
(#289) Expected indentation of 4 spaces (indentation)
(#290) Expected indentation of 4 spaces (indentation)
(#298) Expected indentation of 4 spaces (indentation)
local/o365/sass/styles.scss
(#81) Unexpected unit (length-zero-no-unit)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#13) Expected newline after "," (selector-list-comma-newline-after)
(#80) Expected newline after "," (selector-list-comma-newline-after)
(#90) Expected newline after "," (selector-list-comma-newline-after)
(#94) Expected newline after "," (selector-list-comma-newline-after)
(#97) Expected newline after "," (selector-list-comma-newline-after)
(#144) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(386 errors, 0 warnings)

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

local/o365/acp.php
(#17) No one-line description found in phpdocs for file
local/o365/ajax.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/adminsetting/adminconsent.php
(#17) No one-line description found in phpdocs for file
(#80) Phpdocs for function adminconsent::output_html has incomplete parameters list
local/o365/classes/adminsetting/azuresetup.php
(#17) No one-line description found in phpdocs for file
(#37) Phpdocs for function azuresetup::__construct has incomplete parameters list
(#69) Phpdocs for function azuresetup::output_html has incomplete parameters list
local/o365/classes/adminsetting/configmulticheckboxchoiceshelp.php
(#25) Class configmulticheckboxchoiceshelp is not documented
(#16) No one-line description found in phpdocs for file
local/o365/classes/adminsetting/detectoidc.php
(#17) No one-line description found in phpdocs for file
(#37) Phpdocs for function detectoidc::__construct has incomplete parameters list
(#66) Phpdocs for function detectoidc::write_setting has incomplete parameters list
(#87) Phpdocs for function detectoidc::output_html has incomplete parameters list
local/o365/classes/adminsetting/fieldmap.php
(#17) No one-line description found in phpdocs for file
(#41) Phpdocs for function fieldmap::__construct has incomplete parameters list
(#120) Phpdocs for function fieldmap::output_html has incomplete parameters list
local/o365/classes/adminsetting/healthcheck.php
(#17) No one-line description found in phpdocs for file
(#80) Phpdocs for function healthcheck::output_html has incomplete parameters list
local/o365/classes/adminsetting/moodlesetup.php
(#17) No one-line description found in phpdocs for file
(#37) Phpdocs for function moodlesetup::__construct has incomplete parameters list
(#69) Phpdocs for function moodlesetup::output_html has incomplete parameters list
local/o365/classes/adminsetting/sdsfieldmap.php
(#17) No one-line description found in phpdocs for file
(#33) Phpdocs for variable sdsfieldmap::$remotefieldstrid does not contain @var or incorrect
local/o365/classes/adminsetting/serviceresource.php
(#17) No one-line description found in phpdocs for file
(#33) Phpdocs for function serviceresource::output_html has incomplete parameters list
local/o365/classes/adminsetting/sharepointcourseselect.php
(#17) No one-line description found in phpdocs for file
(#59) Phpdocs for function sharepointcourseselect::output_html has incomplete parameters list
local/o365/classes/adminsetting/sharepointlink.php
(#17) No one-line description found in phpdocs for file
(#87) Phpdocs for function sharepointlink::output_html has incomplete parameters list
local/o365/classes/adminsetting/systemapiuser.php
(#17) No one-line description found in phpdocs for file
(#80) Phpdocs for function systemapiuser::output_html has incomplete parameters list
local/o365/classes/adminsetting/tabs.php
(#28) Class tabs is not documented
(#30) Variable tabs::$tabs is not documented
(#31) Variable tabs::$selected is not documented
(#32) Variable tabs::$section is not documented
(#33) Variable tabs::$reload is not documented
(#20) Package theme-altitude is not valid
local/o365/classes/adminsetting/toollink.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function toollink::__construct has incomplete parameters list
(#65) Phpdocs for function toollink::write_setting has incomplete parameters list
(#74) Phpdocs for function toollink::output_html has incomplete parameters list
local/o365/classes/adminsetting/usergroups.php
(#17) No one-line description found in phpdocs for file
(#53) Phpdocs for function usergroups::output_html has incomplete parameters list
local/o365/classes/adminsetting/usersynccreationrestriction.php
(#17) No one-line description found in phpdocs for file
(#105) Phpdocs for function usersynccreationrestriction::output_html has incomplete parameters list
local/o365/classes/adminsetting/usersyncfieldmap.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/bot/botintent.php
(#39) Variable botintent::$intentclass is not documented
(#40) Variable botintent::$userlanguage is not documented
(#41) Variable botintent::$entities is not documented
(#42) Variable botintent::$availableintents is not documented
(#17) No one-line description found in phpdocs for file
(#30) Package local_o365\bot is not valid
local/o365/classes/bot/intents/absentstudents.php
(#17) No one-line description found in phpdocs for file
(#35) Phpdocs for function absentstudents::get_message has incomplete parameters list
(#30) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/assignmentcomparison.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function assignmentcomparison::get_message has incomplete parameters list
(#30) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/assignmentsforgrading.php
(#17) No one-line description found in phpdocs for file
(#38) Phpdocs for function assignmentsforgrading::get_message has incomplete parameters list
(#32) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/dueassignments.php
(#17) No one-line description found in phpdocs for file
(#38) Phpdocs for function dueassignments::get_message has incomplete parameters list
(#32) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/help.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function help::get_message has incomplete parameters list
(#30) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/incompleteassignments.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function incompleteassignments::get_message has incomplete parameters list
(#30) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/intentinterface.php
(#17) No one-line description found in phpdocs for file
(#39) Phpdocs for function get_message has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#29) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/intentshelper.php
(#17) No one-line description found in phpdocs for file
(#76) Phpdocs for function intentshelper::getteachercourses has incomplete parameters list
(#94) Phpdocs for function intentshelper::formatdate has incomplete parameters list
(#35) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/laststudentlogin.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function laststudentlogin::get_message has incomplete parameters list
(#30) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/latestgrades.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function latestgrades::get_message has incomplete parameters list
(#30) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/lateststudents.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function lateststudents::get_message has incomplete parameters list
(#30) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/latesubmissions.php
(#17) No one-line description found in phpdocs for file
(#38) Phpdocs for function latesubmissions::get_message has incomplete parameters list
(#32) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/recentstudents.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function recentstudents::get_message has incomplete parameters list
(#30) Package local_o365\bot\intents is not valid
local/o365/classes/bot/intents/worststudentslastassignments.php
(#17) No one-line description found in phpdocs for file
(#38) Phpdocs for function worststudentslastassignments::get_message has incomplete parameters list
(#32) Package local_o365\bot\intents is not valid
local/o365/classes/event/api_call_failed.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/event/calendar_subscribed.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/event/calendar_unsubscribed.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/feature/calsync/form/element/calendar.php
(#17) No one-line description found in phpdocs for file
(#116) Phpdocs for function calendar::exportValue has incomplete parameters list
local/o365/classes/feature/calsync/form/subscriptions.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/feature/calsync/main.php
(#26) Class main is not documented
(#30) Function main::__construct is not documented
(#27) Variable main::$clientdata is not documented
(#28) Variable main::$httpclient is not documented
(#17) No one-line description found in phpdocs for file
(#38) Phpdocs for function main::construct_calendar_api has incomplete parameters list
(#102) Phpdocs for function main::create_event_raw has incomplete parameters list
(#142) Phpdocs for function main::delete_event_raw has incomplete parameters list
(#438) Phpdocs for function main::construct_outlook_group_email has incomplete parameters list
(#500) Phpdocs for function main::update_outlook_calendar has incomplete parameters list
local/o365/classes/feature/calsync/observers.php
(#29) Class observers is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/feature/calsync/task/importfromoutlook.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/feature/calsync/task/syncoldevents.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/feature/sds/task/sync.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/feature/sharepointcustom/utils.php
(#26) Class utils is not documented
(#17) No one-line description found in phpdocs for file
(#131) Phpdocs for function utils::course_is_sharepoint_enabled has incomplete parameters list
(#183) Phpdocs for function utils::update_enabled_subsites_json has incomplete parameters list
local/o365/classes/feature/userconnections/filtering.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/feature/userconnections/table.php
(#31) Variable table::$having is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/feature/usergroups/coursegroups.php
(#30) Class coursegroups is not documented
(#36) Variable coursegroups::$graphclient is not documented
(#37) Variable coursegroups::$DB is not documented
(#38) Variable coursegroups::$debug is not documented
(#31) Constant coursegroups::NAME_OPTION_FULL_NAME is not documented
(#32) Constant coursegroups::NAME_OPTION_SHORT_NAME is not documented
(#33) Constant coursegroups::NAME_OPTION_ID is not documented
(#34) Constant coursegroups::NAME_OPTION_ID_NUMBER is not documented
(#17) No one-line description found in phpdocs for file
(#56) Phpdocs for function coursegroups::mtrace has incomplete parameters list
(#852) Phpdocs for function coursegroups::get_team_member_ids_by_course_id has incomplete parameters list
(#870) Phpdocs for function coursegroups::get_user_object_ids_by_user_ids has incomplete parameters list
(#1153) Phpdocs for function coursegroups::create_team has incomplete parameters list
local/o365/classes/feature/usergroups/observers.php
(#26) Class observers is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/feature/usergroups/utils.php
(#26) Class utils is not documented
(#17) No one-line description found in phpdocs for file
(#347) Phpdocs for function utils::study_groups_list has incomplete parameters list
local/o365/classes/feature/usersync/main.php
(#31) Class main is not documented
(#353) Function main::get_users_delta is not documented
(#972) Function main::sync_new_user is not documented
(#1045) Function main::sync_existing_user is not documented
(#1105) Function main::sync_users_matchuser is not documented
(#32) Variable main::$clientdata is not documented
(#33) Variable main::$httpclient is not documented
(#17) No one-line description found in phpdocs for file
(#187) Phpdocs for function main::assign_photo has incomplete parameters list
(#261) Phpdocs for function main::sync_timezone has incomplete parameters list
(#309) Phpdocs for function main::get_user has incomplete parameters list
(#366) Phpdocs for function main::get_user_manager has incomplete parameters list
(#383) Phpdocs for function main::get_user_groups has incomplete parameters list
(#400) Phpdocs for function main::get_user_teams has incomplete parameters list
(#417) Phpdocs for function main::get_user_roles has incomplete parameters list
(#440) Phpdocs for function main::get_preferred_name has incomplete parameters list
(#532) Phpdocs for function main::fieldmap_require_graph_api_call has incomplete parameters list
(#740) Phpdocs for function main::update_user_from_aaddata has incomplete parameters list
(#877) Invalid inline phpdocs tag @example found
local/o365/classes/form/groupedit.php
(#17) File-level phpdocs block is not found
(#36) Package core_group is not valid
local/o365/classes/form/manualusermatch.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/form/teamstabconfiguration.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/form/usermatch.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/healthcheck/healthcheckinterface.php
(#30) Constant SEVERITY_OK is not documented
(#31) Constant SEVERITY_TRIVIAL is not documented
(#32) Constant SEVERITY_WARNING is not documented
(#33) Constant SEVERITY_FATAL is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/healthcheck/ratelimit.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/healthcheck/systemapiuser.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/httpclient.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/httpclientinterface.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/oauth2/apptoken.php
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function apptoken::get_for_new_resource has incomplete parameters list
(#196) Phpdocs for function apptoken::store_new_token has incomplete parameters list
local/o365/classes/oauth2/clientdata.php
(#76) Function clientdata::get_apptokenendpoint_from_tenant is not documented
(#17) No one-line description found in phpdocs for file
(#80) Phpdocs for function clientdata::instance_from_oidc has incomplete parameters list
local/o365/classes/oauth2/systemapiusertoken.php
(#17) No one-line description found in phpdocs for file
(#87) Phpdocs for function systemapiusertoken::store_new_token has incomplete parameters list
local/o365/classes/oauth2/systemtoken.php
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function systemtoken::instance has incomplete parameters list
(#99) Phpdocs for function systemtoken::store_new_token has incomplete parameters list
local/o365/classes/oauth2/token.php
(#17) No one-line description found in phpdocs for file
(#57) Phpdocs for function token::__construct has incomplete parameters list
(#143) Phpdocs for function token::instance has incomplete parameters list
(#236) Phpdocs for function token::get_for_new_resource has incomplete parameters list
(#359) Phpdocs for function token::store_new_token has incomplete parameters list
local/o365/classes/obj/o365user.php
(#36) Function o365user::__construct is not documented
(#44) Function o365user::get_idtoken is not documented
(#48) Function o365user::instance_from_muserid is not documented
(#30) Variable o365user::$muserid is not documented
(#31) Variable o365user::$oidctoken is not documented
(#32) Variable o365user::$objectid is not documented
(#33) Variable o365user::$username is not documented
(#34) Variable o365user::$upn is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/observers.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/page/acp.php
(#906) Function acp::mode_maintenance_debugdata is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/page/ajax.php
(#17) No one-line description found in phpdocs for file
(#61) Phpdocs for function ajax::error_response has incomplete parameters list
local/o365/classes/page/base.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/page/groupcp.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/page/ucp.php
(#433) Function ucp::get_connection_type is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/privacy/provider.php
(#37) Class provider is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/rest/azuread.php
(#17) No one-line description found in phpdocs for file
(#282) Phpdocs for function azuread::assign_user has incomplete parameters list
(#30) Phpdocs for variable azuread::$apiarea does not contain @var or incorrect
local/o365/classes/rest/botframework.php
(#28) Class botframework is not documented
(#29) Variable botframework::$token is not documented
(#30) Variable botframework::$httpclient is not documented
(#17) No one-line description found in phpdocs for file
(#88) Phpdocs for function botframework::send_notification has incomplete parameters list
local/o365/classes/rest/calendar.php
(#17) No one-line description found in phpdocs for file
(#77) Phpdocs for function calendar::update_calendar has incomplete parameters list
(#30) Phpdocs for variable calendar::$apiarea does not contain @var or incorrect
local/o365/classes/rest/discovery.php
(#17) No one-line description found in phpdocs for file
(#30) Phpdocs for variable discovery::$apiarea does not contain @var or incorrect
local/o365/classes/rest/o365api.php
(#318) Function o365api::geturl is not documented
(#17) No one-line description found in phpdocs for file
(#30) Phpdocs for variable o365api::$apiarea does not contain @var or incorrect
local/o365/classes/rest/onedrive.php
(#36) Variable onedrive::$usespapi is not documented
(#17) No one-line description found in phpdocs for file
(#30) Phpdocs for variable onedrive::$apiarea does not contain @var or incorrect
local/o365/classes/rest/onenote.php
(#17) No one-line description found in phpdocs for file
(#30) Phpdocs for variable onenote::$apiarea does not contain @var or incorrect
local/o365/classes/rest/outlook.php
(#17) No one-line description found in phpdocs for file
(#53) Phpdocs for function outlook::get_photo has incomplete parameters list
(#67) Phpdocs for function outlook::get_photo_metadata has incomplete parameters list
(#30) Phpdocs for variable outlook::$apiarea does not contain @var or incorrect
local/o365/classes/rest/sds.php
(#17) No one-line description found in phpdocs for file
(#33) Phpdocs for variable sds::$apiarea does not contain @var or incorrect
local/o365/classes/rest/sharepoint.php
(#17) No one-line description found in phpdocs for file
(#424) Phpdocs for function sharepoint::get_groups has incomplete parameters list
(#776) Phpdocs for function sharepoint::update_course_site has incomplete parameters list
(#961) Phpdocs for function sharepoint::upload_video_large has incomplete parameters list
(#30) Phpdocs for variable sharepoint::$apiarea does not contain @var or incorrect
local/o365/classes/rest/unified.php
(#212) Function unified::assign_user is not documented
(#739) Function unified::get_users_delta is not documented
(#1483) Function unified::check_graph_apponly_permissions is not documented
(#17) No one-line description found in phpdocs for file
(#197) Phpdocs for function unified::validate_resource has incomplete parameters list
(#394) Phpdocs for function unified::get_teams_url has incomplete parameters list
(#413) Phpdocs for function unified::get_group_photo has incomplete parameters list
(#494) Phpdocs for function unified::get_users_groups has incomplete parameters list
(#522) Phpdocs for function unified::get_group_owners has incomplete parameters list
(#536) Phpdocs for function unified::get_group_files has incomplete parameters list
(#553) Phpdocs for function unified::get_group_file_metadata has incomplete parameters list
(#565) Phpdocs for function unified::get_group_file_sharing_link has incomplete parameters list
(#578) Phpdocs for function unified::get_group_file_by_id has incomplete parameters list
(#646) Phpdocs for function unified::create_group_file has incomplete parameters list
(#796) Phpdocs for function unified::get_user_manager has incomplete parameters list
(#813) Phpdocs for function unified::get_user_groups has incomplete parameters list
(#825) Phpdocs for function unified::get_user_teams has incomplete parameters list
(#837) Phpdocs for function unified::get_user_objects has incomplete parameters list
(#853) Phpdocs for function unified::get_directory_objects has incomplete parameters list
(#957) Phpdocs for function unified::update_calendar has incomplete parameters list
(#1194) Phpdocs for function unified::create_file has incomplete parameters list
(#1407) Phpdocs for function unified::get_permission_grants has incomplete parameters list
(#1595) Phpdocs for function unified::get_photo has incomplete parameters list
(#1611) Phpdocs for function unified::get_photo_metadata has incomplete parameters list
(#1870) Phpdocs for function unified::get_user has incomplete parameters list
(#2038) Phpdocs for function unified::create_team has incomplete parameters list
(#2067) Phpdocs for function unified::provision_app has incomplete parameters list
(#2090) Phpdocs for function unified::get_catalog_app_id has incomplete parameters list
(#2113) Phpdocs for function unified::get_general_channel_id has incomplete parameters list
(#2136) Phpdocs for function unified::add_moodle_tab_to_channel has incomplete parameters list
(#2160) Phpdocs for function unified::add_tab_to_channel has incomplete parameters list
(#2221) Phpdocs for function unified::get_user_timezone_by_upn has incomplete parameters list
(#30) Phpdocs for variable unified::$apiarea does not contain @var or incorrect
local/o365/classes/task/bot.php
(#41) Function bot::execute is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/task/groupcreate.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/task/processmatchqueue.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/task/refreshsystemrefreshtoken.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/task/sharepointaccesssync.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/task/sharepointinit.php
(#62) Function sharepointinit::execute_graph is not documented
(#171) Function sharepointinit::execute_legacy is not documented
(#17) No one-line description found in phpdocs for file
local/o365/classes/task/usersync.php
(#63) Function usersync::mtrace is not documented
(#17) No one-line description found in phpdocs for file
(#187) Phpdocs for function usersync::sync_users has incomplete parameters list
local/o365/classes/tests/mockhttpclient.php
(#17) No one-line description found in phpdocs for file
(#29) Invalid phpdocs tag @codeCoverageIgnore used
local/o365/classes/tests/mocksharepoint.php
(#17) No one-line description found in phpdocs for file
(#26) No one-line description found in phpdocs for class mocksharepoint
(#27) Invalid phpdocs tag @codeCoverageIgnore used
local/o365/classes/utils.php
(#17) No one-line description found in phpdocs for file
(#70) Phpdocs for function utils::get_app_or_system_token has incomplete parameters list
(#244) Phpdocs for function utils::debug has incomplete parameters list
(#257) Phpdocs for function utils::get_api has incomplete parameters list
(#294) Phpdocs for function utils::enableadditionaltenant has incomplete parameters list
(#327) Phpdocs for function utils::disableadditionaltenant has incomplete parameters list
local/o365/classes/webservices/create_onenoteassignment.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/delete_onenoteassignment.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/exception/assignnotfound.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/exception/couldnotsavegrade.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/exception/invalidassignment.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/exception/modulenotfound.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/exception/sectionnotfound.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/read_assignments.php
(#17) No one-line description found in phpdocs for file
(#31) No one-line description found in phpdocs for class read_assignments
local/o365/classes/webservices/read_bot_message.php
(#17) No one-line description found in phpdocs for file
(#57) Phpdocs for function read_bot_message::bot_message_read has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
local/o365/classes/webservices/read_courseusers.php
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class read_courseusers
(#54) Phpdocs for function read_courseusers::courseusers_read has incomplete parameters list
local/o365/classes/webservices/read_onenoteassignment.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/read_teachercourses.php
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class read_teachercourses
(#49) Phpdocs for function read_teachercourses::teachercourses_read has incomplete parameters list
local/o365/classes/webservices/update_grade.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/update_onenoteassignment.php
(#17) No one-line description found in phpdocs for file
local/o365/classes/webservices/utils.php
(#17) No one-line description found in phpdocs for file
(#37) Phpdocs for function utils::verify_assignment has incomplete parameters list
local/o365/db/access.php
(#17) No one-line description found in phpdocs for file
local/o365/db/caches.php
(#17) No one-line description found in phpdocs for file
local/o365/db/events.php
(#17) No one-line description found in phpdocs for file
local/o365/db/install.php
(#28) Function xmldb_local_o365_install is not documented
(#17) No one-line description found in phpdocs for file
local/o365/db/services.php
(#17) No one-line description found in phpdocs for file
local/o365/db/tasks.php
(#17) No one-line description found in phpdocs for file
local/o365/db/upgrade.php
(#17) No one-line description found in phpdocs for file
local/o365/groupcp.php
(#17) No one-line description found in phpdocs for file
local/o365/lang/cs/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lang/de/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lang/en/local_o365.php
(#17) No one-line description found in phpdocs for file
local/o365/lang/es/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lang/fi/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lang/fr/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lang/it/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lang/ja/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lang/nl/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lang/pl/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lang/pt_br/local_o365.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/o365/lib.php
(#17) No one-line description found in phpdocs for file
(#100) Phpdocs for function local_o365_rmdir has incomplete parameters list
local/o365/settings.php
(#17) No one-line description found in phpdocs for file
local/o365/teams_tab_redirect.php
(#17) No one-line description found in phpdocs for file
local/o365/tests/azuread_test.php
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class azuread_mock
(#29) Invalid phpdocs tag @codeCoverageIgnore used
(#48) Invalid phpdocs tag @codeCoverageIgnore used
local/o365/tests/coursegroups_test.php
(#17) No one-line description found in phpdocs for file
local/o365/tests/observers_test.php
(#17) No one-line description found in phpdocs for file
(#70) Phpdocs for function local_o365_observers_testcase::create_member_entities has incomplete parameters list
(#33) Invalid phpdocs tag @codeCoverageIgnore used
local/o365/tests/privacy_provider_test.php
(#264) Function local_o365_privacy_testcase::create_userdata is not documented
local/o365/tests/sdssync_test.php
(#17) No one-line description found in phpdocs for file
(#33) Invalid phpdocs tag @codeCoverageIgnore used
local/o365/tests/sharepoint_test.php
(#17) No one-line description found in phpdocs for file
(#89) Phpdocs for function local_o365_sharepoint_testcase::get_response_create_site has incomplete parameters list
(#127) Phpdocs for function local_o365_sharepoint_testcase::get_response_add_user_to_group has incomplete parameters list
(#151) Phpdocs for function local_o365_sharepoint_testcase::get_response_create_group has incomplete parameters list
(#33) Invalid phpdocs tag @codeCoverageIgnore used
local/o365/tests/token_test.php
(#17) No one-line description found in phpdocs for file
(#33) Invalid phpdocs tag @codeCoverageIgnore used
local/o365/tests/usergroupsutils_test.php
(#17) No one-line description found in phpdocs for file
local/o365/tests/usersync_test.php
(#17) No one-line description found in phpdocs for file
(#33) Invalid phpdocs tag @codeCoverageIgnore used
local/o365/tests/webservices_onenoteassignment_test.php
(#39) Constant local_o365_webservices_onenoteassignment_testcase::DBSTATE is not documented
(#40) Constant local_o365_webservices_onenoteassignment_testcase::PARAMS is not documented
(#41) Constant local_o365_webservices_onenoteassignment_testcase::EXPECTEDRETURN is not documented
(#42) Constant local_o365_webservices_onenoteassignment_testcase::EXPECTEDEXCEPTION is not documented
(#17) No one-line description found in phpdocs for file
local/o365/tests/webservices_utils_test.php
(#17) No one-line description found in phpdocs for file
local/o365/token.php
(#19) Package moodlecore is not valid
local/o365/ucp.php
(#17) No one-line description found in phpdocs for file
local/o365/version.php
(#17) No one-line description found in phpdocs for file

Update savepoints problems

(3 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 (3) than 'savepoint' calls (1)
version 2015111916.01 is missing corresponding savepoint call
version 2016062000.02 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:scss" 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]