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

(69 errors, 0 warnings)

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

theme/academi/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/config.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/db/install.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#54) Functions must not contain multiple empty lines in a row; found 2 empty lines
theme/academi/lang/ar/theme_academi.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#30) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
theme/academi/lang/en/theme_academi.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#96) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#99) Whitespace found at end of line within string
(#100) Whitespace found at end of line within string
(#101) Whitespace found at end of line within string
(#102) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#106) Whitespace found at end of line within string
(#194) Whitespace found at end of line within string
(#195) Whitespace found at end of line within string
(#196) Whitespace found at end of line within string
(#197) Whitespace found at end of line within string
(#198) Whitespace found at end of line within string
(#199) Whitespace found at end of line within string
(#200) Whitespace found at end of line within string
theme/academi/layout/columns1.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/layout/columns2.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/layout/embedded.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/layout/frontpage.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/layout/includes/footer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/layout/includes/header.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/layout/includes/slideshow.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#81) Line indented incorrectly; expected at least 16 spaces, found 8
(#85) Line indented incorrectly; expected at least 8 spaces, found 4
(#86) Line indented incorrectly; expected 8 spaces, found 4
(#96) Line indented incorrectly; expected at least 12 spaces, found 4
(#97) Line indented incorrectly; expected 8 spaces, found 4
(#168) Line indented incorrectly; expected at least 8 spaces, found 4
theme/academi/layout/login.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/layout/maintenance.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/layout/secure.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/renderers.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/renderers/core_renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/renderers/course_renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/academi/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(61 errors, 1 warnings)

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

theme/academi/javascript/theme.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) 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) Comments should not begin with a lowercase character. (capitalized-comments)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) '$this' is not defined. (no-undef)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) '$this' is not defined. (no-undef)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) 'addhtml' is not defined. (no-undef)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) 'addhtml' is not defined. (no-undef)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) 'jQuery' is not defined. (no-undef)

CSS problems

(11 errors, 7 warnings)

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

theme/academi/style/custom.css
(#3) Unknown word (CssSyntaxError)
theme/academi/style/theme.css
(#1458) Unexpected !important (declaration-no-important)
(#2057) Unexpected !important (declaration-no-important)
(#2061) Unexpected !important (declaration-no-important)
(#3682) Unexpected !important (declaration-no-important)
(#3959) Unexpected !important (declaration-no-important)
(#3962) Unexpected !important (declaration-no-important)
(#3965) Unexpected !important (declaration-no-important)
(#3998) Unexpected !important (declaration-no-important)
(#4001) Unexpected !important (declaration-no-important)
(#4008) Unexpected !important (declaration-no-important)
(#3741) Expected line length to be no more than 132 characters (max-line-length)
(#3762) Expected line length to be no more than 132 characters (max-line-length)
(#3765) Expected line length to be no more than 132 characters (max-line-length)
(#3768) Expected line length to be no more than 132 characters (max-line-length)
(#3771) Expected line length to be no more than 132 characters (max-line-length)
(#3974) Expected line length to be no more than 132 characters (max-line-length)
(#3981) Expected line length to be no more than 132 characters (max-line-length)

PHPDocs style problems

(15 errors, 0 warnings)

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

theme/academi/classes/privacy/provider.php
(#26) Class provider is not documented
theme/academi/db/install.php
(#32) Function xmldb_theme_academi_install is not documented
(#17) No one-line description found in phpdocs for file
(#20) Invalid phpdocs tag @authors used
(#18) Package theme_enlight is not valid
theme/academi/lib.php
(#29) Phpdocs for function theme_academi_page_init has incomplete parameters list
(#142) Phpdocs for function theme_academi_send_unmodified has incomplete parameters list
(#161) Phpdocs for function theme_academi_send_cached_css has incomplete parameters list
(#191) Phpdocs for function theme_academi_set_customcss has incomplete parameters list
(#244) Phpdocs for function theme_academi_pre_css_set_fontwww has incomplete parameters list
(#263) Phpdocs for function theme_academi_set_fontwww has incomplete parameters list
(#299) Phpdocs for function theme_academi_render_slideimg has incomplete parameters list
(#321) Phpdocs for function theme_academi_get_setting has incomplete parameters list
theme/academi/renderers/core_renderer.php
(#35) Phpdocs for function theme_academi_core_renderer::custom_menu_render has incomplete parameters list
theme/academi/renderers/course_renderer.php
(#39) Phpdocs for function theme_academi_core_course_renderer::coursecat_coursebox 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

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 27 warnings)

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

theme/academi/templates/columns1.mustache
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 1 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 2 Column: 33
theme/academi/templates/columns2.mustache
(#1) HTML Validation error, line 37: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 1 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 2 Column: 33
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 3 Column: 48
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 4 Column: 16
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 5 Column: 4
theme/academi/templates/custom_menu_item.mustache
(#1) Example context missing (@template section not found.)
theme/academi/templates/footer.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 1 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 2 Column: 33
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 3 Column: 48
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 4 Column: 16
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 5 Column: 4
theme/academi/templates/header.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 24: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 9: The “aria-controls” attribute must point to an element in the same document. ( <button aria-expanded="false" aria-controls="nav-drawer" type="button" class="btn nav-link float-sm-left mr-1 btn-secondary" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)
theme/academi/templates/login.mustache
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
theme/academi/templates/maintenance.mustache
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 1 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 2 Column: 33
theme/academi/templates/navbar.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 23: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 8: The “aria-controls” attribute must point to an element in the same document. ( <button aria-expanded="false" aria-controls="nav-drawer" type="button" class="btn nav-link float-sm-left mr-1 btn-secondary" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]