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

(9 errors, 0 warnings)

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

blocks/culactivity_stream/block_culactivity_stream.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/culactivity_stream/classes/privacy/provider.php
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Whitespace found at end of line
blocks/culactivity_stream/db/access.php
(#24) Whitespace found at end of line
blocks/culactivity_stream/locallib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/culactivity_stream/remove_ajax.php
(#24) Whitespace found at end of line
blocks/culactivity_stream/remove_post.php
(#24) Whitespace found at end of line
blocks/culactivity_stream/renderer.php
(#191) Whitespace found at end of line

Javascript coding style problems

(0 errors, 17 warnings)

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

blocks/culactivity_stream/yui/src/scroll/js/scroll.js
(#25) Identifier 'block_culactivity_stream' is not in camel case. (camelcase)
(#72) Expected space(s) after "try". (keyword-spacing)
(#76) There should be no spaces inside this paren. (space-in-parens)
(#88) A space is required after ','. (comma-spacing)
(#89) A space is required after ','. (comma-spacing)
(#90) A space is required after ','. (comma-spacing)
(#123) Comments should not begin with a lowercase character (capitalized-comments)
(#129) Extra space after key 'sesskey'. (key-spacing)
(#132) Extra space after key 'lastid'. (key-spacing)
(#149) Comments should not begin with a lowercase character (capitalized-comments)
(#157) Comments should not begin with a lowercase character (capitalized-comments)
(#178) Extra space after key 'sesskey'. (key-spacing)
(#179) Extra space after key 'lastid'. (key-spacing)
(#200) Comments should not begin with a lowercase character (capitalized-comments)
(#214) Comments should not begin with a lowercase character (capitalized-comments)
(#214) Expected space or tab after '//' in comment. (spaced-comment)
(#216) Comments should not begin with a lowercase character (capitalized-comments)

CSS problems

(4 errors, 0 warnings)

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

blocks/culactivity_stream/styles.css
(#51) Expected newline before "}" (block-closing-brace-newline-before)
(#90) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#60) Unexpected !important (declaration-no-important)
(#90) Expected "Width" to be "width" (property-case)

PHPDocs style problems

(27 errors, 13 warnings)

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

blocks/culactivity_stream/block_culactivity_stream.php
(#124) Function block_culactivity_stream::hide_header is not documented
(#128) Function block_culactivity_stream::has_config is not documented
(#30) Class block_culactivity_stream does not have @copyright tag
(#30) Class block_culactivity_stream does not have @license tag
(#37) Invalid phpdocs tag @public used
(#117) Not recommended phpdocs tag @version used
(#20) Package block is not valid
blocks/culactivity_stream/db/access.php
(#20) Package block is not valid
blocks/culactivity_stream/lang/en/block_culactivity_stream.php
(#20) Package block is not valid
blocks/culactivity_stream/locallib.php
(#36) Phpdocs for function block_culactivity_stream_get_notifications has incomplete parameters list
(#159) Phpdocs for function block_culactivity_stream_get_course_displayname has incomplete parameters list
(#180) Phpdocs for function block_culactivity_stream_get_course_img has incomplete parameters list
(#214) Phpdocs for function block_culactivity_stream_get_user_img has incomplete parameters list
(#33) Not recommended phpdocs tag @global used
(#33) Not recommended phpdocs tag @global used
(#33) Not recommended phpdocs tag @global used
(#158) Not recommended phpdocs tag @global used
(#176) Not recommended phpdocs tag @global used
(#176) Not recommended phpdocs tag @global used
(#176) Not recommended phpdocs tag @global used
(#176) Not recommended phpdocs tag @global used
(#212) Not recommended phpdocs tag @global used
(#212) Not recommended phpdocs tag @global used
(#246) Not recommended phpdocs tag @global used
(#20) Package block is not valid
blocks/culactivity_stream/reload_ajax.php
(#20) Package block is not valid
blocks/culactivity_stream/remove_ajax.php
(#20) Package block is not valid
blocks/culactivity_stream/remove_post.php
(#20) Package block is not valid
blocks/culactivity_stream/renderer.php
(#36) Variable block_culactivity_stream_renderer::$instanceid is not documented
(#42) Phpdocs for function block_culactivity_stream_renderer::culactivity_stream has incomplete parameters list
(#31) Class block_culactivity_stream_renderer does not have @copyright tag
(#31) Class block_culactivity_stream_renderer does not have @license tag
(#41) Not recommended phpdocs tag @global used
(#20) Package block is not valid
blocks/culactivity_stream/renderers/course_picture.php
(#31) Class block_culactivity_stream_renderers_course_picture_renderer is not documented
(#23) Package block is not valid
(#120) Package local is not valid
(#121) Category culoutput is not valid
blocks/culactivity_stream/scroll_ajax.php
(#20) Package block is not valid
blocks/culactivity_stream/version.php
(#20) Package block 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, 0 warnings)

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