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, 3 warnings)

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

theme/boost_o365teams/classes/output/core_renderer.php
(#38) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#71) global $OUTPUT cannot be used in renderers. Use $this->output.
(#76) global $OUTPUT cannot be used in renderers. Use $this->output.
(#128) global $OUTPUT cannot be used in renderers. Use $this->output.
(#128) global $PAGE cannot be used in renderers. Use $this->page.
(#130) global $PAGE cannot be used in renderers. Use $this->page.
(#131) global $PAGE cannot be used in renderers. Use $this->page.
(#141) 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.
theme/boost_o365teams/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.

Javascript coding style problems

(5 errors, 3 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)
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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 0 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [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]