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

(8 errors, 2 warnings)

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

course/format/periods/lib.php
(#547) This comment is 43% valid code; is this commented out code?
course/format/periods/periodduration.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#58) Expected 1 space after asterisk; 2 found
(#144) Public method name "format_periods_periodduration::_createElements" must be in lower-case letters only
(#178) Public method name "format_periods_periodduration::onQuickFormEvent" must be in lower-case letters only
(#227) Public method name "format_periods_periodduration::toHtml" must be in lower-case letters only
(#254) Public method name "format_periods_periodduration::exportValue" must be in lower-case letters only
(#279) Public method name "format_periods_periodduration::createFormElement" must be in lower-case letters only
(#281) Line exceeds 132 characters; contains 134 characters
(#292) Public method name "format_periods_periodduration::setMoodleForm" must be in lower-case letters only

Javascript coding style problems

(3 errors, 21 warnings)

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

course/format/periods/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) 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)
(#28) 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)
(#45) Missing semicolon. (semi)
(#47) Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
(#47) Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
(#47) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#47) Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
(#56) Identifier 'process_sections' is not in camel case. (camelcase)
(#58) Extra space after key 'SECTIONNAME'. (key-spacing)
(#61) Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)
(#78) Infix operators must be spaced. (space-infix-ops)
(#97) 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]


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

(0 errors, 0 warnings)

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