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

(6 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/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.
(#109) Expected 1 space after "?"; newline found
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

Javascript coding style problems

(5 errors, 10 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)
(#67) There should be no spaces inside this paren. (space-in-parens)
(#76) A space is required after ','. (comma-spacing)
(#77) A space is required after ','. (comma-spacing)
(#78) A space is required after ','. (comma-spacing)
(#92) 'lastid' is not defined. (no-undef)
(#94) 'lastid' is not defined. (no-undef)
(#96) 'lastid' is not defined. (no-undef)
(#116) Extra space after key 'sesskey'. (key-spacing)
(#119) Extra space after key 'lastid'. (key-spacing)
(#126) 'build_querystring' is not defined. (no-undef)
(#165) Extra space after key 'sesskey'. (key-spacing)
(#166) Extra space after key 'lastid'. (key-spacing)
(#172) 'build_querystring' is not defined. (no-undef)
(#201) Expected space or tab after '//' in comment. (spaced-comment)

CSS problems

(0 errors, 1 warnings)

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

blocks/culactivity_stream/styles.css
(#60) Use of !important

PHPDocs style problems

(26 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
(#31) Class block_culactivity_stream_renderer does not have @copyright tag
(#31) Class block_culactivity_stream_renderer does not have @license tag
(#39) 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
(#128) Package local is not valid
(#129) Category culoutput is not valid
blocks/culactivity_stream/scroll_ajax.php
(#20) Package block is not valid
blocks/culactivity_stream/settings.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, 0 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt shifter

shifter problems

(1 errors, 0 warnings)

This section shows problems detected by shifter [More info]

blocks/culactivity_stream/yui/src/scroll/js/scroll.js
contains 5 lint errors

Mustache template problems

(0 errors, 0 warnings)

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