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

(0 errors, 0 warnings)

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


Javascript coding style problems

(9 errors, 42 warnings)

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

lib/editor/tiny/plugins/qrcode/amd/src/commands.js
(#25) There should be no space after '{'. (@babel/object-curly-spacing)
(#25) There should be no space before '}'. (@babel/object-curly-spacing)
(#33) Unexpected space before function parentheses. (space-before-function-paren)
(#52) Unexpected space before function parentheses. (space-before-function-paren)
(#59) There should be no space after '{'. (@babel/object-curly-spacing)
(#59) There should be no space before '}'. (@babel/object-curly-spacing)
lib/editor/tiny/plugins/qrcode/amd/src/configuration.js
(#26) There should be no space after '{'. (@babel/object-curly-spacing)
lib/editor/tiny/plugins/qrcode/amd/src/plugin.js
(#45) Expected space or tab after '//' in comment. (spaced-comment)
(#46) This line has a length of 1803. Maximum allowed is 132. (max-len)
(#59) Expected space or tab after '//' in comment. (spaced-comment)
lib/editor/tiny/plugins/qrcode/amd/src/qrcodemodal.js
(#42) Operator '=' must be spaced. (space-infix-ops)
(#43) Operator '=' must be spaced. (space-infix-ops)
(#44) Missing space before opening brace. (space-before-blocks)
(#45) There should be no space after this paren. (space-in-parens)
(#45) 'event' is defined but never used. (no-unused-vars)
(#47) Requires a space before '}'. (block-spacing)
(#47) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#48) Missing space before opening brace. (space-before-blocks)
(#49) There should be no space after this paren. (space-in-parens)
(#49) 'event' is defined but never used. (no-unused-vars)
(#51) Requires a space before '}'. (block-spacing)
(#51) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#55) There should be no space after this paren. (space-in-parens)
(#57) Operator '=' must be spaced. (space-infix-ops)
(#60) Expected space(s) after "if". (keyword-spacing)
(#60) Missing space before opening brace. (space-before-blocks)
(#62) Operator '=' must be spaced. (space-infix-ops)
(#63) Expected space(s) after "else". (keyword-spacing)
(#68) Expected space(s) after "if". (keyword-spacing)
(#68) Operator '>' must be spaced. (space-infix-ops)
(#68) Missing space before opening brace. (space-before-blocks)
(#70) Operator '=' must be spaced. (space-infix-ops)
(#76) Expected space(s) after "if". (keyword-spacing)
(#76) Missing space before opening brace. (space-before-blocks)
(#78) Operator '=' must be spaced. (space-infix-ops)
(#79) Expected space(s) before "else". (keyword-spacing)
(#79) Expected space(s) after "else". (keyword-spacing)
(#83) Expected space(s) after "if". (keyword-spacing)
(#83) Missing space before opening brace. (space-before-blocks)
(#86) Operator '=' must be spaced. (space-infix-ops)
(#88) Expected space(s) after "if". (keyword-spacing)
(#88) Missing space before opening brace. (space-before-blocks)
(#92) Unexpected use of '&'. (no-bitwise)
(#92) Unexpected use of '>>'. (no-bitwise)
(#93) Unexpected use of '&'. (no-bitwise)
(#93) Unexpected use of '>>'. (no-bitwise)
(#94) Unexpected use of '&'. (no-bitwise)
(#130) This line has a length of 152. Maximum allowed is 132. (max-len)
(#142) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#143) Expected space(s) after "else". (keyword-spacing)
(#145) Comments should not begin with a lowercase character. (capitalized-comments)

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

(1 errors, 1 warnings)

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

Problems running grunt
Task "gherkinlint" 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, 9 warnings)

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

lib/editor/tiny/plugins/qrcode/templates/insert_qrcode_modal.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 9: Empty heading. ( <h5 id="would-be-a-uniqid-modal-title" class="modal-title" data-region="title"></h5>)
(#1) HTML Validation error, line 20: Bad value “true” for attribute “required” on element “input”. ( <input class="form-control fullwidth" type="text" id="qrcodecontent" required="true" placeholder="e.g. https://www.google.com/ " /> )
(#1) HTML Validation info, line 20: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input class="form-control fullwidth" type="text" id="qrcodecontent" required="true" placeholder="e.g. https://www.google.com/ " /> )
(#1) HTML Validation error, line 27: Bad value “true” for attribute “required” on element “input”. ( <input class="form-control fullwidth" type="number" id="qrcode_size" required="true" size="10" value="200" min="25" max="1000" /> )
(#1) HTML Validation error, line 27: Attribute “size” not allowed on element “input” at this point. ( <input class="form-control fullwidth" type="number" id="qrcode_size" required="true" size="10" value="200" min="25" max="1000" /> )
(#1) HTML Validation info, line 27: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input class="form-control fullwidth" type="number" id="qrcode_size" required="true" size="10" value="200" min="25" max="1000" /> )
(#1) HTML Validation error, line 34: Attribute “size” not allowed on element “input” at this point. ( <input class="form-control fullwidth" type="number" id="qrcode_margin" size="10" min="5" max="100" required="true" value="10" /> )
(#1) HTML Validation error, line 34: Bad value “true” for attribute “required” on element “input”. ( <input class="form-control fullwidth" type="number" id="qrcode_margin" size="10" min="5" max="100" required="true" value="10" /> )
(#1) HTML Validation info, line 34: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input class="form-control fullwidth" type="number" id="qrcode_margin" size="10" min="5" max="100" required="true" value="10" /> )
(#1) HTML Validation error, line 65: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (></div><style> .)
(#1) HTML Validation error, line 37: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label for="qrcode_backgroundcolor" style="padding-bottom: 5px; margin-bottom: 0; padding-top: 20px;"> )
(#1) HTML Validation error, line 43: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label for="qrcode_foregroundcolor" style="padding-bottom: 0px; margin-bottom: 0; padding-top: 20px;"> )

Gherkin .feature problems

(1 errors, 0 warnings)

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

lib/editor/tiny/plugins/qrcode/tests/behat/qrcode.feature
Missing Feature name