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

(0 errors, 1 warnings)

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

course/format/tiles/classes/output/course_output.php
(#416) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 7 warnings)

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

course/format/tiles/amd/src/completion.js
(#294) Each then() should return a value or throw (promise/always-return)
course/format/tiles/format.js
(#24) Identifier 'get_config' is not in camel case. (camelcase)
(#26) Identifier 'container_node' is not in camel case. (camelcase)
(#27) Identifier 'container_class' is not in camel case. (camelcase)
(#28) Identifier 'section_node' is not in camel case. (camelcase)
(#29) Identifier 'section_class' is not in camel case. (camelcase)
(#45) Identifier 'process_sections' is not in camel case. (camelcase)

CSS problems

(1 errors, 0 warnings)

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

course/format/tiles/styles.css
(#983) Expected empty line before at-rule (at-rule-empty-line-before)

PHPDocs style problems

(8 errors, 0 warnings)

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

course/format/tiles/admintools.php
(#98) Function reset_colours is not documented
(#158) Function schedule_delete_empty_sections is not documented
(#171) Function cancel_delete_empty_sections is not documented
(#182) Function list_problem_courses is not documented
(#246) Function resolve_section_misnumbering is not documented
course/format/tiles/classes/course_section_manager.php
(#88) Phpdocs for function course_section_manager::get_problem_courses has incomplete parameters list
(#122) Phpdocs for function course_section_manager::schedule_empty_sec_deletion has incomplete parameters list
(#141) Phpdocs for function course_section_manager::cancel_empty_sec_deletion 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]


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

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

course/format/tiles/templates/above_tiles.mustache
(#1) Template produced no content
course/format/tiles/templates/course_module.mustache
(#1) HTML Validation error, line 11: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (><body><li class="activity fullwidth label modtype_label launch-tiles- " id="module-123456" data-modtype="label" tabindex="3" data-cmid="123456" data-modinstance="" data-title=""> <)
course/format/tiles/templates/course_modules.mustache
(#1) HTML Validation error, line 11: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) ( <li class="activity fullwidth label modtype_label launch-tiles- " id="module-123456" data-modtype="label" tabindex="3" data-cmid="123456" data-modinstance="" data-title=""> )
course/format/tiles/templates/icon_picker_photo.mustache
(#1) HTML Validation error, line 6: Bad value “” for attribute “src” on element “img”: Must be non-empty. (d><body><img class="photo" id="tilephoto-223-987" title="grapes.png" alt="grapes.png" data-filename="grapes.png" data-contextid="223" data-itemid="123" data-fileid="987" data-toggle="tooltip" data-placement="right" data-original-title="grapes.png" data-filesize="" src="" data-imagetype="tilephoto" data-url="https://moodle.org/pluginfile.php/223//tilephoto/123/tilephoto/grapes.png"></bod)
course/format/tiles/templates/icon_picker_photos.mustache
(#1) HTML Validation error, line 7: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img class="photo" id="tilephoto-223-987" title="grapes.png" alt="grapes.png" data-filename="grapes.png" data-contextid="223" data-itemid="123" data-fileid="987" data-toggle="tooltip" data-placement="right" data-original-title="grapes.png" data-filesize="" src="" data-imagetype="tilephoto" data-url="https://moodle.org/pluginfile.php/223//tilephoto/123/tilephoto/grapes.png"> )
(#1) HTML Validation error, line 11: Bad value “” for attribute “src” on element “img”: Must be non-empty. (> <img class="photo" id="tilephoto-223-982" title="apples.png" alt="apples.png" data-filename="apples.png" data-contextid="223" data-itemid="120" data-fileid="982" data-toggle="tooltip" data-placement="right" data-original-title="apples.png" data-filesize="" src="" data-imagetype="tilephoto" data-url="https://moodle.org/pluginfile.php/223//tilephoto/120/tilephoto/apples.png"></bod)
course/format/tiles/templates/inline-css.mustache
(#1) HTML Validation error, line 4: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (><body><style type="text/css"> .)
(#1) HTML Validation info, line 4: The “type” attribute for the “style” element is not needed and should be omitted. (><body><style type="text/css"> .)
course/format/tiles/templates/inplace_editable.mustache
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( ), Line: 3 Column: 1
course/format/tiles/templates/multi_section_tile.mustache
(#1) HTML Validation error, line 4: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><li class="tile current " id="tile-3" data-section="3" data-true-sectionid="" tabindex="2" aria-role="button"> <)
course/format/tiles/templates/multi_section_tilebar.mustache
(#1) HTML Validation error, line 6: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (><body><li id="section-1" class="section main current clearfix collapsed" role="region" data-section="1" data-true-sectionid="" data-sectionid="1" aria-label="This is the tile title"> <)
course/format/tiles/templates/single_section.mustache
(#1) HTML Validation error, line 3: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li id="section-1" data-section="1" class="section main clearfix" role="region" aria-label="Section 1"> <)
course/format/tiles/templates/single_section_page.mustache
(#1) HTML Validation error, line 6: Bad value “region” for attribute “role” on element “li”. (> <li id="section-" data-section="" class="section main clearfix" role="region" aria-label=""> )
(#1) HTML Validation info, line 36: Empty heading. ( <h2></h2>)

Gherkin .feature problems

(0 errors, 0 warnings)

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