Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(31 errors, 20 warnings)

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

admin/tool/ribbons/classes/output/renderer.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/ribbons/classes/ribbon.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#115) There must not be a space before the colon in a return type declaration
(#123) There must not be a space before the colon in a return type declaration
(#131) There must not be a space before the colon in a return type declaration
(#139) There must not be a space before the colon in a return type declaration
(#147) There must not be a space before the colon in a return type declaration
(#155) There must not be a space before the colon in a return type declaration
(#163) There must not be a space before the colon in a return type declaration
(#171) There must not be a space before the colon in a return type declaration
(#179) There must not be a space before the colon in a return type declaration
(#188) There must not be a space before the colon in a return type declaration
(#198) There must not be a space before the colon in a return type declaration
(#208) There must not be a space before the colon in a return type declaration
(#218) There must not be a space before the colon in a return type declaration
(#228) There must not be a space before the colon in a return type declaration
(#238) There must not be a space before the colon in a return type declaration
(#248) There must not be a space before the colon in a return type declaration
(#257) There must not be a space before the colon in a return type declaration
(#281) There must not be a space before the colon in a return type declaration
(#295) There should be a comma after the last array item in a multi-line array.
(#310) There must not be a space before the colon in a return type declaration
(#397) There must not be a space before the colon in a return type declaration
(#416) There must not be a space before the colon in a return type declaration
(#432) There must not be a space before the colon in a return type declaration
(#449) There must not be a space before the colon in a return type declaration
(#468) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $enabled.
(#468) There must not be a space before the colon in a return type declaration
admin/tool/ribbons/db/access.php
(#26) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#33) There should be a comma after the last array item in a multi-line array.
admin/tool/ribbons/delete.php
(#54) There should be a comma after the last array item in a multi-line array.
admin/tool/ribbons/index.php
(#79) There should be a comma after the last array item in a multi-line array.
(#114) There should be a comma after the last array item in a multi-line array.
admin/tool/ribbons/lang/en/tool_ribbons.php
(#27) Unexpected comment found. Auto-fixing will not work after this comment
(#28) The string key "error:colour" is not in the correct order, it should be before "ribbons:config_ribbons"
(#36) Unexpected comment found. Auto-fixing will not work after this comment
(#37) The string key "data" is not in the correct order, it should be before "error:ribbon:type"
(#45) The string key "ribbon:colour:bg" is not in the correct order, it should be before "ribbons"
(#55) The string key "ribbon:type:script" is not in the correct order, it should be before "ribbon:type:script_help"
(#59) Unexpected comment found. Auto-fixing will not work after this comment
(#60) The string key "left-top" is not in the correct order, it should be before "type"
(#62) The string key "left-bottom" is not in the correct order, it should be before "right-top"
(#65) Unexpected comment found. Auto-fixing will not work after this comment
(#67) The string key "script" is not in the correct order, it should be before "static"
(#69) Unexpected comment found. Auto-fixing will not work after this comment
(#70) The string key "privacy:metadata" is not in the correct order, it should be before "script"
admin/tool/ribbons/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) There must not be a space before the colon in a return type declaration
(#52) There must not be a space before the colon in a return type declaration

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(2 errors, 0 warnings)

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

admin/tool/ribbons/styles.css
(#47) Unexpected duplicate "background-image" (declaration-block-no-duplicate-properties)
(#72) Unexpected duplicate "border-color" (declaration-block-no-duplicate-properties)

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

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

admin/tool/ribbons/templates/ribbons-list.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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