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

(30 errors, 1 warnings)

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

theme/morecandy/classes/core_renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/config.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/morecandy/lang/en/theme_morecandy.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#30) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
theme/morecandy/layout/columns1.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/columns2.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/columns3.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/columns4.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/embedded.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/frontpage.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/includes/banner.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/maintenance.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/secure.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#40) Expected MOODLE_INTERNAL check or config.php inclusion
theme/morecandy/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/morecandy/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(27 errors, 1 warnings)

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

theme/morecandy/javascript/morecandy.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Missing space before opening brace. (space-before-blocks)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

CSS problems

(2 errors, 0 warnings)

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

theme/morecandy/style/settings.css
(#4) Expected IDENT at line 4, col 2.
(#4) Expected IDENT at line 4, col 2.

PHPDocs style problems

(7 errors, 0 warnings)

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

theme/morecandy/classes/core_renderer.php
(#27) Class theme_morecandy_core_renderer is not documented
(#29) Phpdocs for function theme_morecandy_core_renderer::render_custom_menu has incomplete parameters list
(#114) Phpdocs for function theme_morecandy_core_renderer::render_action_menu_filler has incomplete parameters list
theme/morecandy/lang/en/theme_morecandy.php
(#20) Package theme_more is not valid
theme/morecandy/lib.php
(#48) Function theme_morecandy_process_css is not documented
(#36) Phpdocs for function theme_morecandy_less_variables has incomplete parameters list
(#192) Phpdocs for function theme_morecandy_page_init 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]