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
(#71) Line exceeds 132 characters; contains 134 characters
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Commas (,) must be followed by white space.
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) 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

(6 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)
(#10) 'YUI' is not defined. (no-undef)
(#10) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#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)
(#36) Expected space or tab after '//' in comment. (spaced-comment)
(#38) Expected space or tab after '//' in comment. (spaced-comment)
(#51) Expected space or tab after '//' in comment. (spaced-comment)
(#60) Expected space or tab after '//' in comment. (spaced-comment)
(#62) Expected space or tab after '//' in comment. (spaced-comment)
(#64) Expected space or tab after '//' in comment. (spaced-comment)
(#67) Expected space or tab after '//' in comment. (spaced-comment)
(#70) Expected space or tab after '//' in comment. (spaced-comment)
(#75) Expected space or tab after '//' in comment. (spaced-comment)
(#79) Expected space or tab after '//' in comment. (spaced-comment)
(#81) Expected space or tab after '//' in comment. (spaced-comment)
(#85) Expected space or tab after '//' in comment. (spaced-comment)
(#87) Expected space or tab after '//' in comment. (spaced-comment)
(#96) Expected space or tab after '//' in comment. (spaced-comment)
(#104) Missing semicolon. (semi)
(#113) Extra space after key 'sesskey'. (key-spacing)
(#114) Extra space after key 'sortorder'. (key-spacing)
(#116) Infix operators must be spaced. (space-infix-ops)
(#118) 'build_querystring' is not defined. (no-undef)
(#121) Missing semicolon. (semi)
(#154) Infix operators must be spaced. (space-infix-ops)
(#157) Infix operators must be spaced. (space-infix-ops)
(#163) Missing space before opening brace. (space-before-blocks)
(#175) Infix operators must be spaced. (space-infix-ops)
(#183) Missing space before value for key 'height'. (key-spacing)
(#184) 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]