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

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


Javascript coding style problems

(3 errors, 8 warnings)

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

blocks/course_overview/amd/src/edit.js
(#26) 'UI' is defined but never used. (no-unused-vars)
(#36) 'ui' is defined but never used. (no-unused-vars)
(#45) 'activetab' used outside of binding context. (block-scoped-var)
(#46) 'activetab' used outside of binding context. (block-scoped-var)
(#47) 'activetab' is already defined. (no-redeclare)
(#50) Extra space after key 'sesskey'. (key-spacing)
(#51) Extra space after key 'tab'. (key-spacing)
(#51) 'activetab' used outside of binding context. (block-scoped-var)
(#52) Extra space after key 'sortorder'. (key-spacing)
blocks/course_overview/amd/src/popup.js
(#26) 'mdlconfig' is defined but never used. (no-unused-vars)
(#43) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(8 errors, 0 warnings)

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

blocks/course_overview/styles.css
(#59) Expected single space before "{" (block-opening-brace-space-before)
(#67) Expected single space before "{" (block-opening-brace-space-before)
(#34) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#35) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#61) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#22) Unexpected !important (declaration-no-important)
(#56) Unexpected !important (declaration-no-important)
(#84) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(14 errors, 0 warnings)

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

blocks/course_overview/classes/output/main.php
(#41) Variable main::$config is not documented
(#43) Variable main::$tabs is not documented
(#45) Variable main::$isediting is not documented
(#47) Variable main::$selectedtab is not documented
(#49) Variable main::$sortorder is not documented
(#51) Variable main::$favourites is not documented
(#53) Variable main::$usersetmaxcourses is not documented
(#57) Phpdocs for function main::__construct has incomplete parameters list
(#153) Phpdocs for function main::reorder_select has incomplete parameters list
(#180) Phpdocs for function main::user_select_maxcourses has incomplete parameters list
blocks/course_overview/classes/output/renderer.php
(#17) File-level phpdocs block does not have @copyright tag
(#30) Class renderer does not have @copyright tag
blocks/course_overview/db/upgrade.php
(#27) Function xmldb_block_course_overview_upgrade is not documented
blocks/course_overview/locallib.php
(#192) Phpdocs for function block_course_overview_get_sorted_courses 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, 1 warnings)

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

blocks/course_overview/templates/main.mustache
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( ), Line: 5 Column: 1