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

(15 errors, 11 warnings)

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

course/format/buttons/renderer.php
(#49) Opening brace should be on the same line as the declaration
(#68) Opening brace should be on the same line as the declaration
(#101) Opening brace should be on the same line as the declaration
(#126) Opening brace should be on the same line as the declaration
(#228) Line exceeds 132 characters; contains 142 characters
(#239) Opening brace should be on the same line as the declaration
(#253) Opening brace should be on the same line as the declaration
(#270) Expected 1 space before ".="; 0 found
(#271) Expected 1 space before "=>"; 0 found
(#271) Expected 1 space after "=>"; 0 found
(#272) Expected 1 space before "=>"; 0 found
(#278) Expected 1 space before ".="; 0 found
(#281) Expected 1 space before ".="; 0 found
(#282) Expected 1 space before ".="; 0 found
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#296) Inline comments must start with a capital letter, digit or 3-dots sequence
(#296) Inline comments must end in full-stops, exclamation marks, or question marks
(#298) Expected 1 space before ".="; 0 found
(#300) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#326) Opening brace should be on the same line as the declaration
(#336) Inline comments must start with a capital letter, digit or 3-dots sequence
(#336) Inline comments must end in full-stops, exclamation marks, or question marks
(#430) Inline comments must start with a capital letter, digit or 3-dots sequence
(#430) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 13 warnings)

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

course/format/buttons/format.js
(#41) Identifier 'get_config' is not in camel case. (camelcase)
(#43) Identifier 'container_node' is not in camel case. (camelcase)
(#44) Identifier 'container_class' is not in camel case. (camelcase)
(#45) Identifier 'section_node' is not in camel case. (camelcase)
(#46) Identifier 'section_class' is not in camel case. (camelcase)
(#50) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#58) Identifier 'swap_sections' is not in camel case. (camelcase)
(#69) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#69) Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
(#69) Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
(#69) Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
(#78) Identifier 'process_sections' is not in camel case. (camelcase)
course/format/buttons/module.js
(#25) Identifier 'format_buttons' is not in camel case. (camelcase)

CSS problems

(2 errors, 0 warnings)

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

course/format/buttons/styles.css
(#64) Unexpected !important (declaration-no-important)
(#68) Unexpected !important (declaration-no-important)

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

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

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