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

(17 errors, 14 warnings)

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

theme/trema/classes/output/core/course_renderer.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/trema/classes/privacy/provider.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/trema/layout/frontpage.php
(#67) Line exceeds 132 characters; contains 135 characters
(#68) Line exceeds 132 characters; contains 141 characters
(#69) Line exceeds 132 characters; contains 139 characters
(#98) Line exceeds 132 characters; contains 147 characters
(#99) Line exceeds 132 characters; contains 135 characters
(#102) Line exceeds 132 characters; contains 138 characters
(#103) Line exceeds 132 characters; contains 144 characters
(#107) Line exceeds 132 characters; contains 135 characters
(#108) Line exceeds 132 characters; contains 144 characters
theme/trema/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#372) File must end with a newline character
theme/trema/settings/content_settings.php
(#62) Variable "frontpagetitle_default" must not contain underscores.
(#63) Variable "frontpagesubtitle_default" must not contain underscores.
(#64) Variable "frontpagebuttontext_default" must not contain underscores.
(#65) Variable "cardtitle_default" must not contain underscores.
(#66) Variable "cardsubtitle_default" must not contain underscores.
(#72) Variable "frontpagetitle_default" must not contain underscores.
(#73) Variable "frontpagesubtitle_default" must not contain underscores.
(#74) Variable "frontpagebuttontext_default" must not contain underscores.
(#75) Variable "cardtitle_default" must not contain underscores.
(#90) Variable "frontpagetitle_default" must not contain underscores.
(#95) Variable "frontpagesubtitle_default" must not contain underscores.
(#100) Variable "frontpagebuttontext_default" must not contain underscores.
(#224) Variable "cardtitle_default" must not contain underscores.
(#226) Line exceeds 132 characters; contains 138 characters
(#230) Variable "cardsubtitle_default" must not contain underscores.
theme/trema/settings/styleguide_settings.php
(#41) File must end with a newline character
theme/trema/trema_admin_settings_styleguide.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#68) File must end with a newline character

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(9 errors, 7 warnings)

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

theme/trema/scss/trema/blocks.scss
(#22) Unexpected unit (length-zero-no-unit)
(#22) Unexpected unit (length-zero-no-unit)
(#22) Unexpected unit (length-zero-no-unit)
(#25) Unexpected unit (length-zero-no-unit)
(#25) Unexpected unit (length-zero-no-unit)
(#25) Unexpected unit (length-zero-no-unit)
theme/trema/scss/trema/courselist.scss
(#38) Expected empty line before at-rule (at-rule-empty-line-before)
theme/trema/scss/trema/drawer.scss
(#63) Expected single space before "{" (block-opening-brace-space-before)
theme/trema/scss/trema/header.scss
(#134) Expected newline after "," (selector-list-comma-newline-after)
theme/trema/scss/trema/main.scss
(#195) Expected newline after "}" (block-closing-brace-newline-after)
(#210) Expected line length to be no more than 132 characters (max-line-length)
theme/trema/scss/trema/modules.scss
(#78) Unexpected !important (declaration-no-important)
(#158) Unexpected !important (declaration-no-important)
(#178) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/topics.scss
(#8) Invalid value for `float` (csstree/validator)
(#109) Expected no more than 2 empty lines (max-empty-lines)

PHPDocs style problems

(1 errors, 0 warnings)

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

theme/trema/lib.php
(#303) Phpdocs for function theme_trema_setting_file_url has incomplete parameters list

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: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, 31 warnings)

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

theme/trema/templates/columns2.mustache
(#1) HTML Validation info, line 85: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 91: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 95: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext d-none"> )
(#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/trema/templates/course_summary_modal.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 15: Empty heading. (> <h5 class="modal-title" id="modal-title-would-be-a-uniqid"></h5>)
theme/trema/templates/footer.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 10: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 16: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 20: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext d-none"> )
theme/trema/templates/frontpage.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 2: Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”. (<html ><head)
(#1) HTML Validation error, line 4: Element “title” must not be empty. ( <title></title> <)
(#1) HTML Validation error, line 5: Bad value “” for attribute “href” on element “link”: Must be non-empty. (itle> <link rel="shortcut icon" href="" /> )
(#1) HTML Validation info, line 51: Empty heading. (> <h1 class="sr-only container pb-0 mb-0 mt-5"></h1>)
(#1) HTML Validation info, line 78: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section id="region-main" > )
(#1) HTML Validation info, line 107: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 113: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 117: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext d-none"> )
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (<html ><head)
theme/trema/templates/frontpage_settings_menu.mustache
(#1) Example context missing.
(#1) Template produced no content
theme/trema/templates/login.mustache
(#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/trema/templates/mydashboard.mustache
(#1) HTML Validation info, line 87: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 93: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 97: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext d-none"> )
(#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/trema/templates/mydashboard_admin.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 7: Empty heading. ( <h4></h4>)
theme/trema/templates/navbar.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: The “aria-controls” attribute must point to an element in the same document. ( <button aria-expanded="false" aria-controls="nav-drawer" type="button" class="btn nav-link float-sm-left mr-1 btn-secondary" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)
theme/trema/templates/navbar_login.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content

Gherkin .feature problems

(0 errors, 0 warnings)

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