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

(110 errors, 1 warnings)

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

lib/editor/atto/plugins/qrcode/ajax.php
(#34) Expected 1 space before "="; 0 found
(#35) Variable "bgcolor_r" must not contain underscores.
(#35) Commas (,) must be followed by white space.
(#36) Variable "bgcolor_g" must not contain underscores.
(#36) Commas (,) must be followed by white space.
(#37) Variable "bgcolor_b" must not contain underscores.
(#37) Commas (,) must be followed by white space.
(#38) Variable "bgcolor_a" must not contain underscores.
(#38) Commas (,) must be followed by white space.
(#40) Variable "color_r" must not contain underscores.
(#40) Commas (,) must be followed by white space.
(#41) Variable "color_g" must not contain underscores.
(#41) Commas (,) must be followed by white space.
(#42) Variable "color_b" must not contain underscores.
(#42) Commas (,) must be followed by white space.
(#43) Variable "color_a" must not contain underscores.
(#43) Commas (,) must be followed by white space.
(#53) Variable "output_image" must not contain underscores.
(#55) Expected "try {\n...} catch (...) {\n"; found "try {\n...}catch (...){\n"
(#56) Variable "output_image" must not contain underscores.
(#57) Variable "bgcolor_r" must not contain underscores.
(#57) Commas (,) must be followed by white space.
(#57) Variable "bgcolor_g" must not contain underscores.
(#57) Variable "bgcolor_b" must not contain underscores.
(#57) Variable "bgcolor_a" must not contain underscores.
(#58) Variable "color_r" must not contain underscores.
(#58) Commas (,) must be followed by white space.
(#58) Variable "color_g" must not contain underscores.
(#58) Variable "color_b" must not contain underscores.
(#58) Variable "color_a" must not contain underscores.
(#68) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
lib/editor/atto/plugins/qrcode/classes/output_image.php
(#93) Opening brace should be on the same line as the declaration
(#108) Variable "bgcolor_rgba" must not contain underscores.
(#108) Variable "color_rgba" must not contain underscores.
(#109) Opening brace should be on the same line as the declaration
(#110) Variable "bgcolor_r" must not contain underscores.
(#110) Variable "bgcolor_g" must not contain underscores.
(#110) Variable "bgcolor_b" must not contain underscores.
(#110) Variable "bgcolor_a" must not contain underscores.
(#110) Variable "bgcolor_rgba" must not contain underscores.
(#111) Variable "color_r" must not contain underscores.
(#111) Variable "color_g" must not contain underscores.
(#111) Variable "color_b" must not contain underscores.
(#111) Variable "color_a" must not contain underscores.
(#111) Variable "color_rgba" must not contain underscores.
(#113) Variable "bgcolor_r" must not contain underscores.
(#113) Variable "bgcolor_r" must not contain underscores.
(#114) Variable "bgcolor_g" must not contain underscores.
(#114) Variable "bgcolor_g" must not contain underscores.
(#115) Variable "bgcolor_b" must not contain underscores.
(#115) Variable "bgcolor_b" must not contain underscores.
(#116) Variable "bgcolor_a" must not contain underscores.
(#116) Variable "bgcolor_a" must not contain underscores.
(#118) Variable "color_r" must not contain underscores.
(#118) Variable "color_r" must not contain underscores.
(#119) Variable "color_g" must not contain underscores.
(#119) Variable "color_g" must not contain underscores.
(#120) Variable "color_b" must not contain underscores.
(#120) Variable "color_b" must not contain underscores.
(#121) Variable "color_a" must not contain underscores.
(#121) Variable "color_a" must not contain underscores.
(#126) Variable "qrCode" must be all lower-case
(#132) Variable "color_r" must not contain underscores.
(#132) Variable "color_g" must not contain underscores.
(#132) Variable "color_b" must not contain underscores.
(#132) Variable "color_a" must not contain underscores.
(#133) Variable "bgcolor_r" must not contain underscores.
(#133) Variable "bgcolor_g" must not contain underscores.
(#133) Variable "bgcolor_b" must not contain underscores.
(#133) Variable "bgcolor_a" must not contain underscores.
(#134) Variable "qrCode" must be all lower-case
lib/editor/atto/plugins/qrcode/classes/privacy/provider.php
(#37) Opening brace should be on the same line as the declaration
(#40) File must end with a newline character
lib/editor/atto/plugins/qrcode/lib.php
(#40) Variable "qrcode_size" must not contain underscores.
(#42) Variable "bgcolor_r" must not contain underscores.
(#43) Variable "bgcolor_g" must not contain underscores.
(#44) Variable "bgcolor_b" must not contain underscores.
(#45) Variable "bgcolor_a" must not contain underscores.
(#46) Variable "color_r" must not contain underscores.
(#47) Variable "color_g" must not contain underscores.
(#48) Variable "color_b" must not contain underscores.
(#49) Variable "color_a" must not contain underscores.
(#53) Space found before semicolon; expected ");" but found ") ;"
(#63) Variable "qrcode_size" must not contain underscores.
(#65) Variable "bgcolor_r" must not contain underscores.
(#66) Variable "bgcolor_g" must not contain underscores.
(#67) Variable "bgcolor_b" must not contain underscores.
(#68) Variable "bgcolor_a" must not contain underscores.
(#69) Variable "color_r" must not contain underscores.
(#70) Variable "color_g" must not contain underscores.
(#71) Variable "color_b" must not contain underscores.
(#72) Variable "color_a" must not contain underscores.
(#100) File must end with a newline character
lib/editor/atto/plugins/qrcode/settings.php
(#31) Variable "qrcode_size_desc" must not contain underscores.
(#35) Variable "qrcode_size_desc" must not contain underscores.
(#37) Variable "desc_qrcode_margin" must not contain underscores.
(#39) Variable "desc_qrcode_margin" must not contain underscores.
(#41) Commas (,) must be followed by white space.
(#41) Commas (,) must be followed by white space.
(#44) Commas (,) must be followed by white space.
(#46) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#55) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#59) Commas (,) must be followed by white space.
(#61) Commas (,) must be followed by white space.
lib/editor/atto/plugins/qrcode/version.php
(#32) File must end with a newline character

Javascript coding style problems

(0 errors, 119 warnings)

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

lib/editor/atto/plugins/qrcode/yui/src/button/js/button.js
(#33) Operator '+' must be spaced. (space-infix-ops)
(#33) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#33) Operator '+' must be spaced. (space-infix-ops)
(#36) Operator '+' must be spaced. (space-infix-ops)
(#36) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#36) Operator '+' must be spaced. (space-infix-ops)
(#39) Operator '+' must be spaced. (space-infix-ops)
(#39) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#39) Operator '+' must be spaced. (space-infix-ops)
(#43) Operator '+' must be spaced. (space-infix-ops)
(#43) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#43) Operator '+' must be spaced. (space-infix-ops)
(#45) Operator '+' must be spaced. (space-infix-ops)
(#45) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#45) Operator '+' must be spaced. (space-infix-ops)
(#47) Operator '+' must be spaced. (space-infix-ops)
(#47) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#47) Operator '+' must be spaced. (space-infix-ops)
(#49) Operator '+' must be spaced. (space-infix-ops)
(#49) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#49) Operator '+' must be spaced. (space-infix-ops)
(#51) Operator '+' must be spaced. (space-infix-ops)
(#51) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#51) Operator '+' must be spaced. (space-infix-ops)
(#55) Operator '+' must be spaced. (space-infix-ops)
(#55) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#55) Operator '+' must be spaced. (space-infix-ops)
(#57) Operator '+' must be spaced. (space-infix-ops)
(#57) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#57) Operator '+' must be spaced. (space-infix-ops)
(#59) Operator '+' must be spaced. (space-infix-ops)
(#59) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#59) Operator '+' must be spaced. (space-infix-ops)
(#61) Operator '+' must be spaced. (space-infix-ops)
(#61) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#61) Operator '+' must be spaced. (space-infix-ops)
(#63) Operator '+' must be spaced. (space-infix-ops)
(#63) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#63) Operator '+' must be spaced. (space-infix-ops)
(#69) Operator '+' must be spaced. (space-infix-ops)
(#69) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#69) Operator '+' must be spaced. (space-infix-ops)
(#135) Identifier 'qrcode_size_default' is not in camel case. (camelcase)
(#136) Identifier 'qrcode_margin_default' is not in camel case. (camelcase)
(#137) Identifier 'color_r' is not in camel case. (camelcase)
(#138) Identifier 'color_g' is not in camel case. (camelcase)
(#139) Identifier 'color_b' is not in camel case. (camelcase)
(#140) Identifier 'color_a' is not in camel case. (camelcase)
(#141) Identifier 'bgcolor_r' is not in camel case. (camelcase)
(#142) Identifier 'bgcolor_g' is not in camel case. (camelcase)
(#143) Identifier 'bgcolor_b' is not in camel case. (camelcase)
(#144) Identifier 'bgcolor_a' is not in camel case. (camelcase)
(#162) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#163) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#164) Identifier 'qrcode_size' is not in camel case. (camelcase)
(#164) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#165) Identifier 'qrcode_margin' is not in camel case. (camelcase)
(#165) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#166) Identifier 'bgcolor_r' is not in camel case. (camelcase)
(#166) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#167) Identifier 'bgcolor_g' is not in camel case. (camelcase)
(#167) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#168) Identifier 'bgcolor_b' is not in camel case. (camelcase)
(#168) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#169) Identifier 'bgcolor_a' is not in camel case. (camelcase)
(#169) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#170) Identifier 'color_r' is not in camel case. (camelcase)
(#170) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#171) Identifier 'color_g' is not in camel case. (camelcase)
(#171) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#172) Identifier 'color_b' is not in camel case. (camelcase)
(#172) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#173) Identifier 'color_a' is not in camel case. (camelcase)
(#173) Identifier 'atto_form_content' is not in camel case. (camelcase)
(#176) Identifier 'bgcolor_r' is not in camel case. (camelcase)
(#176) Identifier 'bgcolor_r' is not in camel case. (camelcase)
(#177) Identifier 'bgcolor_g' is not in camel case. (camelcase)
(#177) Identifier 'bgcolor_g' is not in camel case. (camelcase)
(#178) Identifier 'bgcolor_b' is not in camel case. (camelcase)
(#178) Identifier 'bgcolor_b' is not in camel case. (camelcase)
(#179) Identifier 'bgcolor_a' is not in camel case. (camelcase)
(#179) Identifier 'bgcolor_a' is not in camel case. (camelcase)
(#180) Identifier 'color_r' is not in camel case. (camelcase)
(#180) Identifier 'color_r' is not in camel case. (camelcase)
(#181) Identifier 'color_g' is not in camel case. (camelcase)
(#181) Identifier 'color_g' is not in camel case. (camelcase)
(#182) Identifier 'color_b' is not in camel case. (camelcase)
(#182) Identifier 'color_b' is not in camel case. (camelcase)
(#183) Identifier 'color_a' is not in camel case. (camelcase)
(#183) Identifier 'color_a' is not in camel case. (camelcase)
(#186) Identifier 'qrcode_size' is not in camel case. (camelcase)
(#186) Identifier 'qrcode_margin' is not in camel case. (camelcase)
(#195) Missing JSDoc for parameter 'qrcode_content'. (valid-jsdoc)
(#195) Missing JSDoc for parameter 'qrcode_size'. (valid-jsdoc)
(#195) Missing JSDoc for parameter 'qrcode_margin'. (valid-jsdoc)
(#195) Missing JSDoc for parameter 'color'. (valid-jsdoc)
(#199) Expected JSDoc for 'selection' but found 'tab'. (valid-jsdoc)
(#200) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#203) Identifier 'qrcode_content' is not in camel case. (camelcase)
(#203) Identifier 'qrcode_size' is not in camel case. (camelcase)
(#203) Identifier 'qrcode_margin' is not in camel case. (camelcase)
(#207) Unexpected space before function parentheses. (space-before-function-paren)
(#230) Identifier 'qrcode_content' is not in camel case. (camelcase)
(#230) Identifier 'qrcode_size' is not in camel case. (camelcase)
(#230) Identifier 'qrcode_margin' is not in camel case. (camelcase)
(#238) Identifier 'qrcode_content' is not in camel case. (camelcase)
(#239) Identifier 'qrcode_size' is not in camel case. (camelcase)
(#240) Identifier 'qrcode_margin' is not in camel case. (camelcase)
(#244) Unexpected space before function parentheses. (space-before-function-paren)
(#248) Comments should not begin with a lowercase character. (capitalized-comments)
(#252) Unexpected space before function parentheses. (space-before-function-paren)
(#273) Identifier 'bgcolor_r' is not in camel case. (camelcase)
(#276) Identifier 'bgcolor_g' is not in camel case. (camelcase)
(#279) Identifier 'bgcolor_b' is not in camel case. (camelcase)
(#282) Identifier 'bgcolor_a' is not in camel case. (camelcase)
(#285) Identifier 'color_r' is not in camel case. (camelcase)
(#288) Identifier 'color_g' is not in camel case. (camelcase)
(#291) Identifier 'color_b' is not in camel case. (camelcase)
(#294) Identifier 'color_a' is not in camel case. (camelcase)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(5 errors, 0 warnings)

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

lib/editor/atto/plugins/qrcode/classes/output_image.php
(#100) There is no description in phpdocs for function create_image
(#87) Phpdocs for function output_image::__construct has incomplete parameters list
lib/editor/atto/plugins/qrcode/classes/privacy/provider.php
(#30) Class provider is not documented
(#33) There is no description in phpdocs for function get_reason
(#34) Invalid phpdocs tag @inheritDoc used

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

This section shows files built by grunt and not commited [More info]

Problems running grunt shifter

shifter problems

(1 errors, 0 warnings)

This section shows problems detected by shifter [More info]

lib/editor/atto/plugins/qrcode/yui/src/button/js/button.js
contains 4 lint errors

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]