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]

blocks/filtered_course_list/classes/regex_filter.php
(#82) The use of backticks in strings is not recommended

Javascript coding style problems

(1 errors, 0 warnings)

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

blocks/filtered_course_list/Gruntfile.js
(#3) 'module' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 0 warnings)

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

blocks/filtered_course_list/tests/behat/behat_block_filtered_course_list.php
(#45) Invalid phpdocs tag @BeforeSuite used
(#59) Invalid phpdocs tag @AfterSuite used

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

(3 errors, 0 warnings)

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

blocks/filtered_course_list/amd/build/accordion.min.js
Uncommitted change detected.
blocks/filtered_course_list/amd/build/config.min.js
Uncommitted change detected.
blocks/filtered_course_list/amd/build/cookie.min.js
Uncommitted change detected.

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]

blocks/filtered_course_list/templates/content.mustache
(#1) ESLint warning [object-curly-spacing]: There should be no space before '}'. ( accordion.init({"blockid": "fcl_17_content", "persist": "" }); ), Line: 3 Column: 64
blocks/filtered_course_list/templates/list_item.mustache
(#1) HTML Validation error, line 2: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li class='block-fcl__list__item block-fcl__list__item--course'> <)
blocks/filtered_course_list/templates/rubric.mustache
(#1) HTML Validation error, line 2: An element with “role=tab” must be contained in, or owned by, an element with “role=tablist”. (ad><body><div id="fcl_17_tab1" class="block-fcl__rubric block-fcl__rubric--expanded tab1" role="tab" aria-controls="fcl_17_tabpanel1" aria-expanded="true" aria-selected="false" data-hash="bcdefg"> C)