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

(1 errors, 1 warnings)

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

blocks/culupcoming_events/classes/output/course_picture.php
(#194) Whitespace found at end of line
blocks/culupcoming_events/classes/privacy/provider.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion

Javascript coding style problems

(0 errors, 8 warnings)

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

blocks/culupcoming_events/yui/src/scroll/js/scroll.js
(#25) Identifier 'block_culupcoming_events' is not in camel case. (camelcase)
(#67) Missing space before value for key 'broadcast'. (key-spacing)
(#108) Extra space after key 'sesskey'. (key-spacing)
(#111) Extra space after key 'lastid'. (key-spacing)
(#112) Extra space after key 'lastdate'. (key-spacing)
(#166) Extra space after key 'sesskey'. (key-spacing)
(#169) Extra space after key 'limitnum'. (key-spacing)
(#170) Extra space after key 'page'. (key-spacing)

CSS problems

(1 errors, 0 warnings)

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

blocks/culupcoming_events/styles.css
(#109) Unexpected !important (declaration-no-important)

PHPDocs style problems

(30 errors, 0 warnings)

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

blocks/culupcoming_events/block_culupcoming_events.php
(#50) Function block_culupcoming_events::has_config is not documented
(#54) Function block_culupcoming_events::instance_allow_config is not documented
(#58) Function block_culupcoming_events::get_content is not documented
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/classes/output/course_picture.php
(#36) Class course_picture is not documented
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/classes/output/eventlist.php
(#36) Class eventlist is not documented
(#297) Function eventlist::get_all_events is not documented
(#144) Phpdocs for function eventlist::get_view has incomplete parameters list
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/classes/output/footer.php
(#36) Class footer is not documented
(#45) Phpdocs for function footer::__construct has incomplete parameters list
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/classes/output/main.php
(#36) Class main is not documented
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/classes/output/pagination.php
(#36) Class pagination is not documented
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/classes/output/renderer.php
(#35) Class renderer is not documented
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/classes/privacy/provider.php
(#29) Class provider is not documented
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/db/access.php
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/edit_form.php
(#29) Class block_culupcoming_events_edit_form is not documented
(#31) Function block_culupcoming_events_edit_form::specific_definition is not documented
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/lang/en/block_culupcoming_events.php
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/reload_ajax.php
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/scroll_ajax.php
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/settings.php
(#21) Package block/culupcoming_events is not valid
blocks/culupcoming_events/version.php
(#21) Package block/culupcoming_events is not valid

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

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

blocks/culupcoming_events/templates/course_picture.mustache
(#1) HTML Validation error, line 4: Bad value “” for attribute “src” on element “img”: Must be non-empty. (href=""> <img src="" alt="" title="" class="" /> <)
blocks/culupcoming_events/templates/event.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.) (d><body><li id="_"> <)
(#1) HTML Validation error, line 24: Stray end tag “hr”. (iv></li></hr></b)
blocks/culupcoming_events/templates/eventlist.mustache
(#1) Example context missing (@template section not found.)