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

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

course/format/collapsibletopics/tests/format_collapsibletopics_test.php
(#39) PHPUnit class "format_collapsibletopics_test" does not have any namespace. It is recommended to add it to the "format_collapsibletopics" namespace, using more levels if needed, in order to match the code being tested

Javascript coding style problems

(3 errors, 22 warnings)

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

course/format/collapsibletopics/amd/src/collapsibletopics.js
(#43) Missing JSDoc return type. (valid-jsdoc)
(#169) Expected catch,fail() or return (promise/catch-or-return)
course/format/collapsibletopics/format.js
(#19) Identifier 'get_config' is not in camel case. (camelcase)
(#21) Identifier 'container_node' is not in camel case. (camelcase)
(#21) Extra space after key 'container_node'. (key-spacing)
(#22) Identifier 'container_class' is not in camel case. (camelcase)
(#22) Extra space after key 'container_class'. (key-spacing)
(#23) Identifier 'section_node' is not in camel case. (camelcase)
(#23) Extra space after key 'section_node'. (key-spacing)
(#24) Identifier 'section_class' is not in camel case. (camelcase)
(#24) Extra space after key 'section_class'. (key-spacing)
(#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)
(#43) Operator '+' must be spaced. (space-infix-ops)
(#46) Missing semicolon. (semi)
(#56) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#58) Identifier 'process_sections' is not in camel case. (camelcase)
(#60) Extra space after key 'SECTIONNAME'. (key-spacing)
(#63) Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)
(#90) Comments should not begin with a lowercase character. (capitalized-comments)
(#90) Expected space or tab after '//' in comment. (spaced-comment)
(#92) Missing semicolon. (semi)

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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 0 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [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]