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

(7 errors, 0 warnings)

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

course/format/collapsibletopics/renderer.php
(#50) global $PAGE cannot be used in renderers. Use $this->page.
(#75) global $PAGE cannot be used in renderers. Use $this->page.
(#115) global $PAGE cannot be used in renderers. Use $this->page.
(#193) global $PAGE cannot be used in renderers. Use $this->page.
(#260) global $PAGE cannot be used in renderers. Use $this->page.
(#481) global $PAGE cannot be used in renderers. Use $this->page.
(#483) global $PAGE cannot be used in renderers. Use $this->page.

Javascript coding style problems

(3 errors, 30 warnings)

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

course/format/collapsibletopics/amd/src/collapsibletopics.js
(#29) Missing JSDoc for parameter 'course'. (valid-jsdoc)
(#29) Missing JSDoc for parameter 'toggles'. (valid-jsdoc)
(#29) Missing JSDoc for parameter 'storage'. (valid-jsdoc)
(#40) Missing JSDoc @returns for function. (valid-jsdoc)
(#40) Missing JSDoc for parameter 'course'. (valid-jsdoc)
(#40) Missing JSDoc for parameter 'storage'. (valid-jsdoc)
(#144) Multiple spaces found before '='. (no-multi-spaces)
(#157) Extra space after key 'param'. (key-spacing)
(#163) Expected catch,fail() or return (promise/catch-or-return)
(#163) Each then() should return a value or throw (promise/always-return)
course/format/collapsibletopics/format.js
(#19) Identifier 'get_config' is not in camel case. (camelcase)
(#21) Extra space after key 'container_node'. (key-spacing)
(#21) Identifier 'container_node' is not in camel case. (camelcase)
(#22) Extra space after key 'container_class'. (key-spacing)
(#22) Identifier 'container_class' is not in camel case. (camelcase)
(#23) Extra space after key 'section_node'. (key-spacing)
(#23) Identifier 'section_node' is not in camel case. (camelcase)
(#24) Extra space after key 'section_class'. (key-spacing)
(#24) Identifier 'section_class' is not in camel case. (camelcase)
(#26) Missing semicolon. (semi)
(#34) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#36) Identifier 'swap_sections' is not in camel case. (camelcase)
(#38) Extra space after key 'COURSECONTENT'. (key-spacing)
(#39) Extra space after key 'SECTIONADDMENUS'. (key-spacing)
(#44) Missing semicolon. (semi)
(#50) Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
(#51) Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
(#52) Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
(#53) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#55) Identifier 'process_sections' is not in camel case. (camelcase)
(#57) Extra space after key 'SECTIONNAME'. (key-spacing)
(#60) Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)
(#88) Missing semicolon. (semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(4 errors, 0 warnings)

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

course/format/collapsibletopics/lib.php
(#264) Inline phpdocs tag {@link course_edit_form::definition_after_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#298) Inline phpdocs tag {@link moodleform::get_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#299) Inline phpdocs tag {@link update_course()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#322) Inline phpdocs tag {@link course_can_delete_section()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}

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

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

course/format/collapsibletopics/amd/build/collapsibletopics.min.js.map
Uncommitted change detected.

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]


Gherkin .feature problems

(0 errors, 0 warnings)

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