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, 6 warnings)

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

theme/boost_campus/classes/output/core_renderer.php
(#214) This comment is 41% valid code; is this commented out code?
(#286) Line exceeds 132 characters; contains 135 characters
(#511) This comment is 46% valid code; is this commented out code?
theme/boost_campus/lang/en/theme_boost_campus.php
(#152) The use of backticks in strings is not recommended
(#154) The use of backticks in strings is not recommended
theme/boost_campus/settings.php
(#840) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 8 warnings)

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

theme/boost_campus/amd/src/backtotop.js
(#23) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#34) Expected catch,fail() or return (promise/catch-or-return)
(#34) Each then() should return a value or throw (promise/always-return)
(#34) Unexpected space before function parentheses. (space-before-function-paren)
theme/boost_campus/amd/src/infobanner.js
(#28) Missing JSDoc for parameter 'showconfirmationdialogue'. (valid-jsdoc)
(#40) There should be no space before ','. (comma-spacing)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#61) Unexpected space before function parentheses. (space-before-function-paren)

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

(5 errors, 13 warnings)

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

theme/boost_campus/templates/activity_settings_incourse.mustache
(#1) HTML Validation info, line 4: Empty heading. (rd" > <h2></h2>)
(#1) HTML Validation info, line 21: Empty heading. ( <h4></h4>)
theme/boost_campus/templates/columns2.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
theme/boost_campus/templates/columns2.mustache.original
(#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/boost_campus/templates/footer.mustache
(#1) HTML Validation info, line 11: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section data-region="footer-left" class="d-print-none col-12 col-lg-4"> )
(#1) HTML Validation info, line 15: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section data-region="footer-middle" class="d-print-none col-12 col-lg-4"> )
(#1) HTML Validation info, line 19: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section data-region="footer-right" class="d-print-none col-12 col-lg-4"> )
theme/boost_campus/templates/footer.mustache.original
(#1) Example context missing (@template section not found.)
theme/boost_campus/templates/full_header.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
theme/boost_campus/templates/full_header.mustache.original
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
theme/boost_campus/templates/imagearea.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
theme/boost_campus/templates/login.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
theme/boost_campus/templates/login.mustache.original
(#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/boost_campus/templates/navbar.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 6: 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-light bg-gray" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)
theme/boost_campus/templates/navbar.mustache.original
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: 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-light bg-gray" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)
theme/boost_campus/templates/settings_link_page.mustache
(#1) HTML Validation info, line 20: Empty heading. ( <h4></h4>)

Gherkin .feature problems

(0 errors, 0 warnings)

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