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

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

blocks/filtered_course_list/block_filtered_course_list.php
(#178) Method name "_calculate_usertype" should not be prefixed with an underscore to indicate visibility
(#194) Method name "_set_liststyle" should not be prefixed with an underscore to indicate visibility
(#219) Method name "_process_filtered_list" should not be prefixed with an underscore to indicate visibility
blocks/filtered_course_list/classes/category_filter.php
(#156) Method name "_get_cat_and_descendants" should not be prefixed with an underscore to indicate visibility
blocks/filtered_course_list/classes/regex_filter.php
(#82) The use of backticks in strings is not recommended
blocks/filtered_course_list/tests/block_test.php
(#500) Method name "_shared_test" should not be prefixed with an underscore to indicate visibility
(#532) This comment is 42% valid code; is this commented out code?
(#1069) Method name "_setupusers" should not be prefixed with an underscore to indicate visibility
(#1105) Method name "_create_misc_courses" should not be prefixed with an underscore to indicate visibility
(#1154) Method name "_create_rich_site" should not be prefixed with an underscore to indicate visibility
(#1298) Method name "_noblock" should not be prefixed with an underscore to indicate visibility
(#1325) Method name "_allcourseslink" should not be prefixed with an underscore to indicate visibility
(#1346) Method name "_courselistincludes" should not be prefixed with an underscore to indicate visibility
(#1364) Method name "_courselistexcludes" should not be prefixed with an underscore to indicate visibility
(#1382) Method name "_switchuser" should not be prefixed with an underscore to indicate visibility
(#1400) Method name "_courseunderrubric" should not be prefixed with an underscore to indicate visibility
(#1447) Method name "_sectionexpanded" should not be prefixed with an underscore to indicate visibility

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

(3 errors, 0 warnings)

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

blocks/filtered_course_list/block_filtered_course_list.php
(#110) Phpdocs for function block_filtered_course_list::get_content has incomplete parameters list
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 '}'. ( ), Line: 3 Column: 63
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)

Gherkin .feature problems

(0 errors, 0 warnings)

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