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

(0 errors, 0 warnings)

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


Javascript coding style problems

(5 errors, 1 warnings)

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

theme/academi/javascript/theme.js
(#26) Comments should not begin with a lowercase character. (capitalized-comments)
(#38) '$this' is not defined. (no-undef)
(#40) '$this' is not defined. (no-undef)
(#52) 'addhtml' is not defined. (no-undef)
(#53) 'addhtml' is not defined. (no-undef)
(#57) 'jQuery' is not defined. (no-undef)

CSS problems

(9 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
(#1447) Unexpected !important (declaration-no-important)
(#2046) Unexpected !important (declaration-no-important)
(#2050) Unexpected !important (declaration-no-important)
(#3914) Unexpected !important (declaration-no-important)
(#3917) Unexpected !important (declaration-no-important)
(#3920) Unexpected !important (declaration-no-important)
(#3953) Unexpected !important (declaration-no-important)
(#3956) Unexpected !important (declaration-no-important)
(#3720) Expected line length to be no more than 132 characters (max-line-length)
(#3741) Expected line length to be no more than 132 characters (max-line-length)
(#3744) Expected line length to be no more than 132 characters (max-line-length)
(#3747) Expected line length to be no more than 132 characters (max-line-length)
(#3750) Expected line length to be no more than 132 characters (max-line-length)
(#3929) Expected line length to be no more than 132 characters (max-line-length)
(#3936) 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, 13 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)
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)
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.)
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)
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]