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

(140 errors, 9 warnings)

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

mod/book/tool/epubexport/db/log.php
(#27) Expected 1 space before "=>"; 0 found
(#27) Expected 1 space after "=>"; 0 found
(#27) Expected 1 space before "=>"; 0 found
(#27) Expected 1 space after "=>"; 0 found
(#27) Expected 1 space before "=>"; 0 found
(#27) Expected 1 space after "=>"; 0 found
(#27) Expected 1 space before "=>"; 0 found
(#27) Expected 1 space after "=>"; 0 found
mod/book/tool/epubexport/lib.php
(#36) Whitespace found at end of line
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
mod/book/tool/epubexport/locallib.php
(#110) Expected 1 space before "=>"; 0 found
(#110) Expected 1 space after "=>"; 0 found
(#110) Whitespace found at end of line
(#111) Expected 1 space before "=>"; 0 found
(#111) Expected 1 space after "=>"; 0 found
(#111) Whitespace found at end of line
(#112) Expected 1 space before "=>"; 0 found
(#112) Expected 1 space after "=>"; 0 found
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
(#113) Whitespace found at end of line
(#114) Expected 1 space before "=>"; 0 found
(#114) Expected 1 space after "=>"; 0 found
(#114) Whitespace found at end of line
(#115) Expected 1 space before "=>"; 0 found
(#115) Expected 1 space after "=>"; 0 found
(#121) Expected 1 space before "=>"; 0 found
(#121) Expected 1 space after "=>"; 0 found
(#121) Whitespace found at end of line
(#122) Expected 1 space before "=>"; 0 found
(#122) Expected 1 space after "=>"; 0 found
(#122) Whitespace found at end of line
(#123) Expected 1 space before "=>"; 0 found
(#123) Expected 1 space after "=>"; 0 found
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#124) Whitespace found at end of line
(#125) Expected 1 space before "=>"; 0 found
(#125) Expected 1 space after "=>"; 0 found
(#125) Whitespace found at end of line
(#126) Expected 1 space before "=>"; 0 found
(#126) Expected 1 space after "=>"; 0 found
(#137) Expected 1 space before "=>"; 0 found
(#137) Expected 1 space after "=>"; 0 found
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Expected 1 space before "=>"; 0 found
(#146) Expected 1 space after "=>"; 0 found
(#146) Whitespace found at end of line
(#147) Expected 1 space before "=>"; 0 found
(#147) Expected 1 space after "=>"; 0 found
(#147) Whitespace found at end of line
(#148) Expected 1 space before "=>"; 0 found
(#148) Expected 1 space after "=>"; 0 found
(#148) Whitespace found at end of line
(#149) Expected 1 space before "=>"; 0 found
(#149) Expected 1 space after "=>"; 0 found
(#153) Line exceeds 132 characters; contains 136 characters
(#160) Expected 1 space before "=>"; 0 found
(#160) Expected 1 space after "=>"; 0 found
(#160) Whitespace found at end of line
(#161) Expected 1 space before "=>"; 0 found
(#161) Expected 1 space after "=>"; 0 found
(#161) Whitespace found at end of line
(#162) Expected 1 space before "=>"; 0 found
(#162) Expected 1 space after "=>"; 0 found
(#165) Line exceeds 132 characters; contains 138 characters
(#172) Whitespace found at end of line
(#173) Whitespace found at end of line
(#175) Whitespace found at end of line
(#176) Whitespace found at end of line
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Whitespace found at end of line
(#183) Whitespace found at end of line
(#189) Whitespace found at end of line
(#190) Whitespace found at end of line
(#192) Whitespace found at end of line
(#193) Whitespace found at end of line
(#203) Variable "moodle_release" must not contain underscores.
(#204) Variable "moodle_version" must not contain underscores.
(#205) Variable "book_version" must not contain underscores.
(#206) Expected 1 space before "=>"; 0 found
(#206) Expected 1 space after "=>"; 0 found
(#222) Line exceeds maximum limit of 180 characters; contains 194 characters
(#228) Expected "if (...) {\n"; found "if(...) {\n"
(#229) Whitespace found at end of line
(#230) Whitespace found at end of line
(#231) Whitespace found at end of line
(#247) Expected "if (...) {\n"; found "if(...) {\n"
(#248) Line exceeds 132 characters; contains 162 characters
(#249) Line indented incorrectly; expected 4 spaces, found 5
(#249) Closing brace indented incorrectly; expected 4 spaces, found 5
(#252) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#253) Expected "if (...) {\n"; found "if(...) {\n"
(#254) Line exceeds 132 characters; contains 134 characters
(#254) Whitespace found at end of line
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#263) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#264) Expected "if (...) {\n"; found "if(...) {\n"
(#265) Expected "if (...) {\n"; found "if(...) {\n"
(#272) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#273) Whitespace found at end of line
(#274) Expected 1 space before "=>"; 0 found
(#274) Expected 1 space after "=>"; 0 found
(#274) Expected 1 space before "=>"; 0 found
(#274) Expected 1 space after "=>"; 0 found
(#274) Expected 1 space before "=>"; 0 found
(#274) Expected 1 space after "=>"; 0 found
(#275) Expected 1 space before "=>"; 0 found
(#275) Expected 1 space after "=>"; 0 found
(#275) Expected 1 space before "=>"; 0 found
(#275) Expected 1 space after "=>"; 0 found
(#275) Expected 1 space before "=>"; 0 found
(#275) Expected 1 space after "=>"; 0 found
(#278) Inline comments must end in full-stops, exclamation marks, or question marks
(#299) Expected 1 space before "=>"; 0 found
(#299) Expected 1 space after "=>"; 0 found
(#319) Expected 2 space(s) before asterisk; 1 found
(#320) Expected 2 space(s) before asterisk; 1 found
(#321) Expected 2 space(s) before asterisk; 1 found
(#322) Expected 2 space(s) before asterisk; 1 found
(#323) Expected 2 space(s) before asterisk; 1 found
(#339) No space found before comment text; expected "// Check top see if there is an image that can be used as the front cover." but found "//Check top see if there is an image that can be used as the front cover."
(#345) Expected "if (...) {\n"; found "if(...) {\n"
(#347) Whitespace found at end of line
(#348) Whitespace found at end of line
(#350) Whitespace found at end of line
(#351) Whitespace found at end of line
(#358) Expected "if (...) {\n"; found "if(...) {\n"
(#361) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#362) Commas (,) must be followed by white space.
(#363) Expected "if (...) {\n"; found "if(...) {\n"
(#365) Commas (,) must be followed by white space.
(#365) Commas (,) must be followed by white space.
(#367) Expected "} else if (...) {\n"; found "}\n else if(...) {\n"
(#367) Expected "if (...) {\n"; found "if(...) {\n"
(#370) Expected "} else if (...) {\n"; found "}\n else if(...) {\n"
(#370) Expected "if (...) {\n"; found "if(...) {\n"
(#373) Expected "} else if (...) {\n"; found "}\n else if(...) {\n"
(#373) Expected "if (...) {\n"; found "if(...) {\n"
(#377) Whitespace found at end of line
(#378) Expected "if (...) {\n"; found "if(...) {\n"
(#384) Line indented incorrectly; expected 0 spaces, found 1
(#384) Closing brace indented incorrectly; expected 0 spaces, found 1
(#414) Line exceeds 132 characters; contains 141 characters
(#426) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#427) Expected "if (...) {\n"; found "if(...) {\n"

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 0 warnings)

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

mod/book/tool/epubexport/classes/event/book_exported.php
(#43) Phpdocs for function book_exported::create_from_book has incomplete parameters list
mod/book/tool/epubexport/locallib.php
(#408) Phpdocs for function booktool_epubexport_toc has incomplete parameters list

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]