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

(7 errors, 0 warnings)

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

theme/boost_o365teams/classes/output/core_renderer.php
(#66) global $OUTPUT cannot be used in renderers. Use $this->output.
(#72) global $OUTPUT cannot be used in renderers. Use $this->output.
(#130) global $PAGE cannot be used in renderers. Use $this->page.
(#130) global $OUTPUT cannot be used in renderers. Use $this->output.
(#132) global $PAGE cannot be used in renderers. Use $this->page.
(#133) global $PAGE cannot be used in renderers. Use $this->page.
(#143) global $OUTPUT cannot be used in renderers. Use $this->output.

Javascript coding style problems

(7 errors, 5 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)
(#5) Comments should not begin with a lowercase character. (capitalized-comments)
(#14) Comments should not begin with a lowercase character. (capitalized-comments)
(#45) Missing semicolon. (babel/semi)
theme/boost_o365teams/amd/src/teamsThemeChecker.js
(#4) 'microsoftTeams' is not defined. (no-undef)
(#6) 'microsoftTeams' is not defined. (no-undef)
(#6) Unexpected space before function parentheses. (space-before-function-paren)
(#7) 'theme' is not defined. (no-undef)
(#8) 'theme' is not defined. (no-undef)
(#11) 'microsoftTeams' is not defined. (no-undef)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#18) Missing semicolon. (babel/semi)

CSS problems

(114 errors, 67 warnings)

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

theme/boost_o365teams/style/custom.css
(#7) Expected empty line before at-rule (at-rule-empty-line-before)
(#13) Expected empty line before at-rule (at-rule-empty-line-before)
(#19) Expected empty line before at-rule (at-rule-empty-line-before)
(#25) Expected empty line before at-rule (at-rule-empty-line-before)
(#306) Expected empty line before at-rule (at-rule-empty-line-before)
(#311) Expected empty line before at-rule (at-rule-empty-line-before)
(#316) Expected empty line before at-rule (at-rule-empty-line-before)
(#621) Unexpected empty block (block-no-empty)
(#73) Expected single space before "{" (block-opening-brace-space-before)
(#135) Expected single space before "{" (block-opening-brace-space-before)
(#194) Expected single space before "{" (block-opening-brace-space-before)
(#700) Expected single space before "{" (block-opening-brace-space-before)
(#306) Expected single space before "{" (block-opening-brace-space-before)
(#338) Expected "#201F1F" to be "#201f1f" (color-hex-case)
(#353) Expected "#201F1F" to be "#201f1f" (color-hex-case)
(#361) Expected "#201F1F" to be "#201f1f" (color-hex-case)
(#375) Expected "#201F1F" to be "#201f1f" (color-hex-case)
(#385) Expected "#201F1F" to be "#201f1f" (color-hex-case)
(#412) Expected "#6264A7" to be "#6264a7" (color-hex-case)
(#415) Expected "#FFFF00" to be "#ffff00" (color-hex-case)
(#466) Expected "#201F1F" to be "#201f1f" (color-hex-case)
(#487) Expected "#6264A7" to be "#6264a7" (color-hex-case)
(#493) Expected "#6264A7" to be "#6264a7" (color-hex-case)
(#499) Expected "#FFFF00" to be "#ffff00" (color-hex-case)
(#558) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#570) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#571) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#593) Expected "#6264A7" to be "#6264a7" (color-hex-case)
(#606) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#610) Expected "#A6A7DC" to be "#a6a7dc" (color-hex-case)
(#612) Expected "#201F1F" to be "#201f1f" (color-hex-case)
(#618) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#45) Expected "#ffffff" to be "#fff" (color-hex-length)
(#54) Expected "#000000" to be "#000" (color-hex-length)
(#74) Expected "#ffffff" to be "#fff" (color-hex-length)
(#83) Expected "#000000" to be "#000" (color-hex-length)
(#106) Expected "#ffffff" to be "#fff" (color-hex-length)
(#115) Expected "#000000" to be "#000" (color-hex-length)
(#119) Expected "#000000" to be "#000" (color-hex-length)
(#122) Expected "#000000" to be "#000" (color-hex-length)
(#125) Expected "#ffffff" to be "#fff" (color-hex-length)
(#128) Expected "#ffffff" to be "#fff" (color-hex-length)
(#160) Expected "#ffffff" to be "#fff" (color-hex-length)
(#169) Expected "#000000" to be "#000" (color-hex-length)
(#179) Expected "#000000" to be "#000" (color-hex-length)
(#182) Expected "#000000" to be "#000" (color-hex-length)
(#185) Expected "#ffffff" to be "#fff" (color-hex-length)
(#188) Expected "#ffffff" to be "#fff" (color-hex-length)
(#287) Expected "#000000" to be "#000" (color-hex-length)
(#341) Expected "#000000" to be "#000" (color-hex-length)
(#354) Expected "#ffffff" to be "#fff" (color-hex-length)
(#357) Expected "#000000" to be "#000" (color-hex-length)
(#358) Expected "#ffffff" to be "#fff" (color-hex-length)
(#364) Expected "#000000" to be "#000" (color-hex-length)
(#372) Expected "#ffffff" to be "#fff" (color-hex-length)
(#378) Expected "#000000" to be "#000" (color-hex-length)
(#389) Expected "#000000" to be "#000" (color-hex-length)
(#415) Expected "#FFFF00" to be "#FF0" (color-hex-length)
(#469) Expected "#000000" to be "#000" (color-hex-length)
(#499) Expected "#FFFF00" to be "#FF0" (color-hex-length)
(#539) Expected "#ffffff" to be "#fff" (color-hex-length)
(#558) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#570) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#571) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#606) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#618) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#136) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#195) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#229) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#258) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#304) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#424) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#428) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#431) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#456) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#457) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#458) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#462) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#463) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#472) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#652) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#676) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#677) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#681) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#502) Unexpected !important (declaration-no-important)
(#503) Unexpected !important (declaration-no-important)
(#504) Unexpected !important (declaration-no-important)
(#551) Unexpected !important (declaration-no-important)
(#552) Unexpected !important (declaration-no-important)
(#604) Unexpected !important (declaration-no-important)
(#605) Unexpected !important (declaration-no-important)
(#671) Unexpected !important (declaration-no-important)
(#732) Unexpected !important (declaration-no-important)
(#562) Expected single space after "," in a single-line function (function-comma-space-after)
(#562) Expected single space after "," in a single-line function (function-comma-space-after)
(#89) Unexpected unit (length-zero-no-unit)
(#103) Unexpected unit (length-zero-no-unit)
(#157) Unexpected unit (length-zero-no-unit)
(#393) Unexpected unit (length-zero-no-unit)
(#404) Unexpected unit (length-zero-no-unit)
(#405) Unexpected unit (length-zero-no-unit)
(#460) Unexpected unit (length-zero-no-unit)
(#528) Unexpected unit (length-zero-no-unit)
(#532) Unexpected unit (length-zero-no-unit)
(#130) Expected line length to be no more than 132 characters (max-line-length)
(#693) Expected line length to be no more than 132 characters (max-line-length)
(#697) Expected line length to be no more than 132 characters (max-line-length)
(#705) Expected line length to be no more than 132 characters (max-line-length)
(#306) Expected single space after ":" (media-feature-colon-space-after)
(#311) Expected single space after ":" (media-feature-colon-space-after)
(#316) Expected single space after ":" (media-feature-colon-space-after)
(#409) Unexpected extra semicolon (no-extra-semicolons)
(#130) Expected newline after "," (selector-list-comma-newline-after)
(#303) Expected newline after "," (selector-list-comma-newline-after)
(#347) Expected newline after "," (selector-list-comma-newline-after)
(#408) Expected newline after "," (selector-list-comma-newline-after)
(#430) Expected newline after "," (selector-list-comma-newline-after)
(#433) Expected newline after "," (selector-list-comma-newline-after)
(#436) Expected newline after "," (selector-list-comma-newline-after)
(#512) Expected newline after "," (selector-list-comma-newline-after)
(#561) Expected newline after "," (selector-list-comma-newline-after)
(#567) Expected newline after "," (selector-list-comma-newline-after)
(#592) Expected newline after "," (selector-list-comma-newline-after)
(#609) Expected newline after "," (selector-list-comma-newline-after)
(#615) Expected newline after "," (selector-list-comma-newline-after)
(#615) Expected newline after "," (selector-list-comma-newline-after)
(#615) Expected newline after "," (selector-list-comma-newline-after)
(#621) Expected newline after "," (selector-list-comma-newline-after)
(#621) Expected newline after "," (selector-list-comma-newline-after)
(#621) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#693) Expected newline after "," (selector-list-comma-newline-after)
(#697) Expected newline after "," (selector-list-comma-newline-after)
(#697) Expected newline after "," (selector-list-comma-newline-after)
(#698) Expected newline after "," (selector-list-comma-newline-after)
(#699) Expected newline after "," (selector-list-comma-newline-after)
(#699) Expected newline after "," (selector-list-comma-newline-after)
(#700) Expected newline after "," (selector-list-comma-newline-after)
(#705) Expected newline after "," (selector-list-comma-newline-after)
(#705) Expected newline after "," (selector-list-comma-newline-after)
(#705) Expected newline after "," (selector-list-comma-newline-after)
(#705) Expected newline after "," (selector-list-comma-newline-after)
(#705) Expected newline after "," (selector-list-comma-newline-after)
(#705) Expected newline after "," (selector-list-comma-newline-after)
(#705) Expected newline after "," (selector-list-comma-newline-after)
(#712) Expected newline after "," (selector-list-comma-newline-after)
(#723) Expected newline after "," (selector-list-comma-newline-after)
(#727) Expected newline after "," (selector-list-comma-newline-after)
(#408) Unexpected unknown type selector "theme_default" (selector-type-no-unknown)
(#32) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#32) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#32) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#32) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#32) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#32) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#35) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#35) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#35) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#35) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#35) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#35) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#38) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#38) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#38) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#38) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#38) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#38) Expected single space after "," in a single-line list (value-list-comma-space-after)
(#140) Expected indentation of 0 spaces (indentation)
(#146) Expected indentation of 0 spaces (indentation)
(#149) Expected indentation of 0 spaces (indentation)
(#220) Expected indentation of 0 spaces (indentation)

PHPDocs style problems

(8 errors, 0 warnings)

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

theme/boost_o365teams/classes/output/core_renderer.php
(#40) Package is not specified for class core_renderer. It is also not specified in file-level phpdocs
(#40) Class core_renderer is not documented
theme/boost_o365teams/renderers.php
(#31) Class theme_boost_o365teams_mod_assign_renderer is not documented
(#65) Class theme_boost_o365teams_core_course_renderer is not documented
(#202) Class theme_boost_o365teams_mod_quiz_renderer is not documented
(#67) Function theme_boost_o365teams_core_course_renderer::course_section_cm is not documented
(#157) Function theme_boost_o365teams_core_course_renderer::course_section_cm_name_title is not documented
(#299) Function theme_boost_o365teams_mod_quiz_renderer::no_questions_message is not documented

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 "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 5 warnings)

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

theme/boost_o365teams/templates/columns2.mustache
(#1) HTML Validation error, line 58: 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 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]