Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(13 errors, 80 warnings)

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

theme/boost_o365teams/classes/output/core_renderer.php
(#22) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#55) global $OUTPUT cannot be used in renderers. Use $this->output.
(#60) global $OUTPUT cannot be used in renderers. Use $this->output.
(#112) global $OUTPUT cannot be used in renderers. Use $this->output.
(#112) global $PAGE cannot be used in renderers. Use $this->page.
(#114) global $PAGE cannot be used in renderers. Use $this->page.
(#115) global $PAGE cannot be used in renderers. Use $this->page.
(#125) global $OUTPUT cannot be used in renderers. Use $this->output.
theme/boost_o365teams/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) There must not be a space before the colon in a return type declaration
theme/boost_o365teams/config.php
(#34) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#117) There should be a comma after the last array item in a multi-line array.
(#122) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#147) There should be a comma after the last array item in a multi-line array.
(#148) There should be a comma after the last array item in a multi-line array.
theme/boost_o365teams/lang/en/theme_boost_o365teams.php
(#32) The string key "placementfrontpage" is not in the correct order, it should be before "region-side-pre"
(#33) The string key "editcourse" is not in the correct order, it should be before "placementfrontpage"
(#36) The string key "feedback" is not in the correct order, it should be before "share_feedback"
(#37) The string key "edit_course" is not in the correct order, it should be before "feedback"
(#40) The string key "navigatereturn" is not in the correct order, it should be before "open_course"
(#42) The string key "configtitle" is not in the correct order, it should be before "navigatereturn"
(#46) The string key "advancedsettings" is not in the correct order, it should be before "showteamfeedbacklink_desc"
(#48) The string key "footer_stamp_desc" is not in the correct order, it should be before "footer_stamp_title"
theme/boost_o365teams/layout/login.php
(#32) There should be a comma after the last array item in a multi-line array.
theme/boost_o365teams/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Short array syntax must be used to define arrays
theme/boost_o365teams/renderers.php
(#51) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#92) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#221) Short array syntax must be used to define arrays
(#223) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#254) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#271) Short array syntax must be used to define arrays
(#273) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
(#281) Short array syntax must be used to define arrays
(#287) Short array syntax must be used to define arrays
(#314) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#329) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays

Javascript coding style problems

(7 errors, 2 warnings)

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

theme/boost_o365teams/amd/src/iframeChecker.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#47) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#47) Identifier 'in_teams' is not in camel case. (camelcase)
(#49) Unnecessary semicolon. (no-extra-semi)
theme/boost_o365teams/amd/src/teamsThemeChecker.js
(#4) 'microsoftTeams' is not defined. (no-undef)
(#6) 'microsoftTeams' is not defined. (no-undef)
(#7) 'theme' is not defined. (no-undef)
(#8) 'theme' is not defined. (no-undef)
(#11) 'microsoftTeams' is not defined. (no-undef)

CSS problems

(43 errors, 11 warnings)

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

theme/boost_o365teams/style/custom.css
(#642) Unexpected empty block (block-no-empty)
(#426) Expected "#ffff00" to be "#ff0" (color-hex-length)
(#513) Expected "#ffff00" to be "#ff0" (color-hex-length)
(#516) Unexpected !important (declaration-no-important)
(#517) Unexpected !important (declaration-no-important)
(#518) Unexpected !important (declaration-no-important)
(#566) Unexpected !important (declaration-no-important)
(#567) Unexpected !important (declaration-no-important)
(#622) Unexpected !important (declaration-no-important)
(#623) Unexpected !important (declaration-no-important)
(#692) Unexpected !important (declaration-no-important)
(#778) Unexpected !important (declaration-no-important)
(#578) Expected single space after "," in a single-line function (function-comma-space-after)
(#578) Expected single space after "," in a single-line function (function-comma-space-after)
(#93) Unexpected unit (length-zero-no-unit)
(#107) Unexpected unit (length-zero-no-unit)
(#162) Unexpected unit (length-zero-no-unit)
(#403) Unexpected unit (length-zero-no-unit)
(#414) Unexpected unit (length-zero-no-unit)
(#415) Unexpected unit (length-zero-no-unit)
(#474) Unexpected unit (length-zero-no-unit)
(#543) Unexpected unit (length-zero-no-unit)
(#547) Unexpected unit (length-zero-no-unit)
(#313) Expected single space after ":" (media-feature-colon-space-after)
(#319) Expected single space after ":" (media-feature-colon-space-after)
(#325) Expected single space after ":" (media-feature-colon-space-after)
(#634) Expected newline after "," (selector-list-comma-newline-after)
(#635) Expected newline after "," (selector-list-comma-newline-after)
(#641) Expected newline after "," (selector-list-comma-newline-after)
(#642) Expected newline after "," (selector-list-comma-newline-after)
(#769) Expected newline after "," (selector-list-comma-newline-after)
(#773) Expected newline after "," (selector-list-comma-newline-after)
(#36) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#36) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#36) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#36) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#36) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#36) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#39) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#39) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#39) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#39) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#39) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#39) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#42) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#42) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#42) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#42) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#42) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#42) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#145) Expected indentation of 0 spaces (indentation)
(#151) Expected indentation of 0 spaces (indentation)
(#154) Expected indentation of 0 spaces (indentation)
(#225) Expected indentation of 0 spaces (indentation)

PHPDocs style problems

(0 errors, 0 warnings)

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


Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:amd" 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, 3 warnings)

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

theme/boost_o365teams/templates/columns2.mustache
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#1) HTML Validation error, line 77: Element “div” not allowed as child of element “span” in this context. (Suppressing further errors from this subtree.) ( <div id="course_page_title"> )
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
theme/boost_o365teams/templates/login.mustache
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#1) HTML Validation error, line 9: “script” element between “head” and “body”. (></head><script src="https://statics.teams.microsoft.com/sdk/v1.0/js/MicrosoftTeams.min.js" crossorigin="anonymous"></scri)
(#1) HTML Validation error, line 9: Cannot recover after last error. Any further errors will be ignored. (></head><script src="https://statics.teams.microsoft.com/sdk/v1.0/js/MicrosoftTeams.min.js" crossorigin="anonymous"></scri)
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)

Gherkin .feature problems

(0 errors, 0 warnings)

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