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

(1 errors, 1 warnings)

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

lib/editor/atto/plugins/morefontcolors/lib.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Expected "foreach (...) {\n"; found "foreach(...) {\n"

Javascript coding style problems

(0 errors, 7 warnings)

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

lib/editor/atto/plugins/morefontcolors/yui/src/button/js/button.js
(#93) Identifier 'color_array' is not in camel case. (camelcase)
(#95) Identifier 'color_array' is not in camel case. (camelcase)
(#96) Identifier 'color_array' is not in camel case. (camelcase)
(#179) Infix operators must be spaced. (space-infix-ops)
(#198) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#198) Unexpected space before function parentheses. (space-before-function-paren)
(#230) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(6 errors, 7 warnings)

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

lib/editor/atto/plugins/morefontcolors/styles.css
(#76) Expected single space before "{" (block-opening-brace-space-before)
(#24) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#78) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#24) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#51) Unexpected unit (length-zero-no-unit)
(#52) Unexpected unit (length-zero-no-unit)
(#53) Unexpected unit (length-zero-no-unit)
(#62) Unexpected unit (length-zero-no-unit)
(#63) Unexpected unit (length-zero-no-unit)
(#64) Unexpected unit (length-zero-no-unit)
(#22) Expected line length to be no more than 132 characters (max-line-length)
(#22) Expected newline after "," (selector-list-comma-newline-after)
(#22) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(2 errors, 0 warnings)

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

lib/editor/atto/plugins/morefontcolors/classes/privacy/provider.php
(#29) Class provider is not documented
lib/editor/atto/plugins/morefontcolors/lib.php
(#29) Phpdocs for function atto_morefontcolors_params_for_js has incomplete parameters list

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]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

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]