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

(10 errors, 21 warnings)

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

blocks/course_overview/block_course_overview.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#54) Expected "if (...) {\n"; found "if(...) {\n"
(#54) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#90) Commas (,) must be followed by white space.
blocks/course_overview/locallib.php
(#35) Expected MOODLE_INTERNAL check or config.php inclusion
(#78) Line exceeds 132 characters; contains 134 characters
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Commas (,) must be followed by white space.
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/course_overview/renderer.php
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#94) Line exceeds 132 characters; contains 137 characters
(#112) Line exceeds 132 characters; contains 150 characters
(#113) Line exceeds 132 characters; contains 135 characters
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#179) Line exceeds 132 characters; contains 141 characters
(#236) Line exceeds 132 characters; contains 142 characters
(#263) Line indented incorrectly; expected 4 spaces, found 8
(#263) Closing brace indented incorrectly; expected 4 spaces, found 8
(#298) Line exceeds 132 characters; contains 137 characters
blocks/course_overview/settings.php
(#27) Line exceeds 132 characters; contains 153 characters
(#29) Line exceeds 132 characters; contains 167 characters
(#31) Line exceeds 132 characters; contains 147 characters
(#33) Line exceeds 132 characters; contains 153 characters
(#40) Line exceeds 132 characters; contains 149 characters
(#41) Line exceeds 132 characters; contains 134 characters

Javascript coding style problems

(7 errors, 28 warnings)

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

blocks/course_overview/module.js
(#1) Identifier 'block_course_overview' is not in camel case. (camelcase)
(#1) Missing semicolon. (semi)
(#3) Identifier 'add_handles' is not in camel case. (camelcase)
(#5) 'MOVEICON' is defined but never used. (no-unused-vars)
(#10) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#10) 'YUI' is not defined. (no-undef)
(#11) Expected space or tab after '//' in comment. (spaced-comment)
(#12) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#15) 'k' is defined but never used. (no-unused-vars)
(#37) Expected space or tab after '//' in comment. (spaced-comment)
(#39) Expected space or tab after '//' in comment. (spaced-comment)
(#52) Expected space or tab after '//' in comment. (spaced-comment)
(#61) Expected space or tab after '//' in comment. (spaced-comment)
(#63) Expected space or tab after '//' in comment. (spaced-comment)
(#65) Expected space or tab after '//' in comment. (spaced-comment)
(#68) Expected space or tab after '//' in comment. (spaced-comment)
(#71) Expected space or tab after '//' in comment. (spaced-comment)
(#76) Expected space or tab after '//' in comment. (spaced-comment)
(#80) Expected space or tab after '//' in comment. (spaced-comment)
(#82) Expected space or tab after '//' in comment. (spaced-comment)
(#86) Expected space or tab after '//' in comment. (spaced-comment)
(#88) Expected space or tab after '//' in comment. (spaced-comment)
(#97) Expected space or tab after '//' in comment. (spaced-comment)
(#105) Missing semicolon. (semi)
(#114) Extra space after key 'sesskey'. (key-spacing)
(#115) Extra space after key 'sortorder'. (key-spacing)
(#117) Infix operators must be spaced. (space-infix-ops)
(#119) 'build_querystring' is not defined. (no-undef)
(#122) Missing semicolon. (semi)
(#155) Infix operators must be spaced. (space-infix-ops)
(#158) Infix operators must be spaced. (space-infix-ops)
(#164) Missing space before opening brace. (space-before-blocks)
(#176) Infix operators must be spaced. (space-infix-ops)
(#184) Missing space before value for key 'height'. (key-spacing)
(#185) Missing space before value for key 'height'. (key-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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

(0 errors, 0 warnings)

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


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]