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

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

blocks/course_modulenavigation/block_course_modulenavigation.php
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(3 errors, 2 warnings)

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

blocks/course_modulenavigation/Gruntfile.js
(#27) 'module' is not defined. (no-undef)
(#33) '__dirname' is not defined. (no-undef)
(#36) 'process' is not defined. (no-undef)
(#82) Unquoted reserved word 'import' used as key. (quote-props)
(#88) Unquoted reserved word 'import' used as key. (quote-props)

CSS problems

(109 errors, 13 warnings)

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

blocks/course_modulenavigation/less/course_modulenavigation.less
(#38) Expected "#FFF" to be "#fff" (color-hex-case)
(#18) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#108) Unexpected whitespace at end of line (no-eol-whitespace)
(#65) Expected single space after ">" (selector-combinator-space-after)
(#65) Expected single space before ">" (selector-combinator-space-before)
blocks/course_modulenavigation/styles.css
(#4) Expected "#FFF" to be "#fff" (color-hex-case)
(#99) Expected "#ffffff" to be "#fff" (color-hex-length)
(#119) Expected "#dddddd" to be "#ddd" (color-hex-length)
(#143) Expected "#dddddd" to be "#ddd" (color-hex-length)
(#193) Expected "#dddddd" to be "#ddd" (color-hex-length)
(#199) Expected "#dddddd" to be "#ddd" (color-hex-length)
(#202) Expected "#dddddd" to be "#ddd" (color-hex-length)
(#205) Expected "#333333" to be "#333" (color-hex-length)
(#207) Expected "#dddddd" to be "#ddd" (color-hex-length)
(#210) Expected "#dddddd" to be "#ddd" (color-hex-length)
(#214) Expected "#333333" to be "#333" (color-hex-length)
(#217) Expected "#dddddd" to be "#ddd" (color-hex-length)
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
(#44) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#48) Expected indentation of 4 spaces (indentation)
(#49) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#63) Expected indentation of 4 spaces (indentation)
(#64) Expected indentation of 4 spaces (indentation)
(#67) Expected indentation of 4 spaces (indentation)
(#68) Expected indentation of 4 spaces (indentation)
(#69) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#76) Expected indentation of 4 spaces (indentation)
(#77) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 4 spaces (indentation)
(#80) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#82) Expected indentation of 4 spaces (indentation)
(#85) Expected indentation of 4 spaces (indentation)
(#88) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#92) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#94) Expected indentation of 4 spaces (indentation)
(#95) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 4 spaces (indentation)
(#99) Expected indentation of 4 spaces (indentation)
(#100) Expected indentation of 4 spaces (indentation)
(#101) Expected indentation of 4 spaces (indentation)
(#104) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#108) Expected indentation of 4 spaces (indentation)
(#109) Expected indentation of 4 spaces (indentation)
(#110) Expected indentation of 4 spaces (indentation)
(#113) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 4 spaces (indentation)
(#117) Expected indentation of 4 spaces (indentation)
(#118) Expected indentation of 4 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#120) Expected indentation of 4 spaces (indentation)
(#123) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#129) Expected indentation of 4 spaces (indentation)
(#130) Expected indentation of 4 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#138) Expected indentation of 4 spaces (indentation)
(#141) Expected indentation of 4 spaces (indentation)
(#142) Expected indentation of 4 spaces (indentation)
(#143) Expected indentation of 4 spaces (indentation)
(#144) Expected indentation of 4 spaces (indentation)
(#145) Expected indentation of 4 spaces (indentation)
(#149) Expected indentation of 4 spaces (indentation)
(#153) Expected indentation of 4 spaces (indentation)
(#154) Expected indentation of 4 spaces (indentation)
(#158) Expected indentation of 4 spaces (indentation)
(#159) Expected indentation of 4 spaces (indentation)
(#160) Expected indentation of 4 spaces (indentation)
(#164) Expected indentation of 4 spaces (indentation)
(#165) Expected indentation of 4 spaces (indentation)
(#166) Expected indentation of 4 spaces (indentation)
(#169) Expected indentation of 4 spaces (indentation)
(#170) Expected indentation of 4 spaces (indentation)
(#173) Expected indentation of 4 spaces (indentation)
(#176) Expected indentation of 4 spaces (indentation)
(#179) Expected indentation of 4 spaces (indentation)
(#182) Expected indentation of 4 spaces (indentation)
(#183) Expected indentation of 4 spaces (indentation)
(#186) Expected indentation of 4 spaces (indentation)
(#189) Expected indentation of 4 spaces (indentation)
(#193) Expected indentation of 4 spaces (indentation)
(#196) Expected indentation of 4 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#202) Expected indentation of 4 spaces (indentation)
(#205) Expected indentation of 4 spaces (indentation)
(#206) Expected indentation of 4 spaces (indentation)
(#207) Expected indentation of 4 spaces (indentation)
(#210) Expected indentation of 4 spaces (indentation)
(#213) Expected indentation of 4 spaces (indentation)
(#214) Expected indentation of 4 spaces (indentation)
(#217) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(16 errors, 0 warnings)

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

blocks/course_modulenavigation/block_course_modulenavigation.php
(#41) Function block_course_modulenavigation::has_config is not documented
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class block_course_modulenavigation
(#288) Phpdocs for function block_course_modulenavigation::get_prev_next has incomplete parameters list
(#28) Class block_course_modulenavigation does not have @copyright tag
(#28) Class block_course_modulenavigation does not have @license tag
blocks/course_modulenavigation/db/access.php
(#17) No one-line description found in phpdocs for file
blocks/course_modulenavigation/edit_form.php
(#17) No one-line description found in phpdocs for file
(#26) Class block_course_modulenavigation_edit_form does not have @copyright tag
(#26) Class block_course_modulenavigation_edit_form does not have @license tag
blocks/course_modulenavigation/lang/en/block_course_modulenavigation.php
(#17) No one-line description found in phpdocs for file
blocks/course_modulenavigation/renderer.php
(#25) Class block_course_modulenavigation_nav_renderer is not documented
(#26) Function block_course_modulenavigation_nav_renderer::render_nav is not documented
(#17) No one-line description found in phpdocs for file
blocks/course_modulenavigation/settings.php
(#17) No one-line description found in phpdocs for file
blocks/course_modulenavigation/version.php
(#17) No one-line description found in phpdocs for file

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]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 2 warnings)

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

blocks/course_modulenavigation/templates/coursenav.mustache
(#1) Example context missing.
blocks/course_modulenavigation/templates/coursenav_onesection.mustache
(#1) Example context missing.