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

(0 errors, 0 warnings)

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


CSS problems

(58 errors, 15 warnings)

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

lib/editor/tiny/plugins/ai/scss/base.scss
(#13) Invalid value for "speak" (csstree/validator)
(#12) Unexpected !important (declaration-no-important)
(#21) Expected indentation of 4 spaces (indentation)
lib/editor/tiny/plugins/ai/scss/mixins.scss
(#8) Expected newline after "}" (block-closing-brace-newline-after)
(#5) Expected indentation of 8 spaces (indentation)
(#7) Expected indentation of 8 spaces (indentation)
(#6) Expected indentation of 12 spaces (indentation)
(#9) Expected indentation of 8 spaces (indentation)
lib/editor/tiny/plugins/ai/scss/variables.scss
(#9) Expected "#E8E8EA" to be "#e8e8ea" (color-hex-case)
(#10) Expected "#A4A5AC" to be "#a4a5ac" (color-hex-case)
(#11) Expected "#60616D" to be "#60616d" (color-hex-case)
(#12) Expected "#00091E" to be "#00091e" (color-hex-case)
(#13) Expected "#FFF" to be "#fff" (color-hex-case)
(#15) Expected "#E99F80" to be "#e99f80" (color-hex-case)
(#16) Expected "#D33F01" to be "#d33f01" (color-hex-case)
(#17) Expected "#A93201" to be "#a93201" (color-hex-case)
(#19) Expected "#F00" to be "#f00" (color-hex-case)
(#20) Expected "#FFF8E0" to be "#fff8e0" (color-hex-case)
lib/editor/tiny/plugins/ai/scss/partials/ai-dropdown.scss
(#77) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#60) Unexpected whitespace at end of line (no-eol-whitespace)
(#77) Unexpected whitespace at end of line (no-eol-whitespace)
(#33) Expected indentation of 12 spaces (indentation)
(#37) Expected indentation of 12 spaces (indentation)
(#68) Expected indentation of 12 spaces (indentation)
(#69) Expected indentation of 12 spaces (indentation)
(#70) Expected indentation of 12 spaces (indentation)
(#71) Expected indentation of 12 spaces (indentation)
(#72) Expected indentation of 12 spaces (indentation)
(#73) Expected indentation of 12 spaces (indentation)
(#74) Expected indentation of 12 spaces (indentation)
(#75) Expected indentation of 12 spaces (indentation)
(#76) Expected indentation of 12 spaces (indentation)
(#77) Expected indentation of 12 spaces (indentation)
(#79) Expected indentation of 12 spaces (indentation)
(#81) Expected indentation of 12 spaces (indentation)
(#80) Expected indentation of 16 spaces (indentation)
(#137) Expected indentation of 16 spaces (indentation)
(#139) Expected indentation of 16 spaces (indentation)
(#142) Expected indentation of 16 spaces (indentation)
(#140) Expected indentation of 20 spaces (indentation)
(#141) Expected indentation of 20 spaces (indentation)
lib/editor/tiny/plugins/ai/scss/partials/ai-dropzone.scss
(#9) Expected "#eeeeee" to be "#eee" (color-hex-length)
(#25) Expected "#ffffff" to be "#fff" (color-hex-length)
(#26) Expected "#000000" to be "#000" (color-hex-length)
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 8 spaces (indentation)
(#35) Expected indentation of 8 spaces (indentation)
lib/editor/tiny/plugins/ai/scss/partials/ai-modal.scss
(#15) Expected single space before "!" (declaration-bang-space-before)
(#15) Unexpected !important (declaration-no-important)
(#9) Unexpected unit (length-zero-no-unit)
(#51) Unexpected unit (length-zero-no-unit)

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

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 47 warnings)

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

lib/editor/tiny/plugins/ai/templates/components/moodle-modal-body-dismiss.mustache
(#1) HTML Validation error, line 2: “=” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (ad><body><div id="tiny_ai_dismiss_would-be-a-uniqid" data-tiny_instance_uniqid= class="d-fle)
(#1) HTML Validation error, line 2: “"” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (id= class="d-flex)
(#1) HTML Validation error, line 2: Quote “"” in attribute name. Probable cause: Matching quote missing somewhere earlier. (d= class="d-flex flex-column h-100 justify-content-center align-items-center"> )
(#1) HTML Validation info, line 2: Attribute “align-items-center"” is not serializable as XML 1.0. (ms-center"> <)
(#1) HTML Validation error, line 2: Attribute “flex-column” not allowed on element “div” at this point. (ms-center"> <)
(#1) HTML Validation error, line 2: Attribute “h-100” not allowed on element “div” at this point. (ms-center"> <)
(#1) HTML Validation error, line 2: Attribute “justify-content-center” not allowed on element “div” at this point. (ms-center"> <)
(#1) HTML Validation error, line 2: Attribute “align-items-center"” not allowed on element “div” at this point. (ms-center"> <)
(#1) HTML Validation info, line 5: Empty heading. (> <h5 class="tiny_ai-headline"></h5>)
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(controller.init());
lib/editor/tiny/plugins/ai/templates/components/moodle-modal-body-itt.mustache
(#1) HTML Validation error, line 2: “=” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (ad><body><div id="tiny_ai__would-be-a-uniqid" data-tiny_instance_uniqid= class="h-100)
(#1) HTML Validation error, line 2: “"” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (id= class="h-100")
(#1) HTML Validation error, line 2: “"” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (d= class="h-100"> )
(#1) HTML Validation error, line 4: Attribute “disabled” not allowed on element “div” at this point. (> <div class="tiny_ai_dropzone justify-content-center w-100" data-type="dropzone" disabled> )
(#1) HTML Validation info, line 7: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="hidden" data-preference="fileupload" /> <)
(#1) ESLint error [max-len]: This line has a length of 171. Maximum allowed is 132. ( require(['tiny_ai/controllers/preferences', 'tiny_ai/controllers/promptedit', 'tiny_ai/controllers/file'], function(Controller, PromptEditController, FileController) {
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(promptEditController.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(promptEditController.init());
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(fileController.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(fileController.init());
lib/editor/tiny/plugins/ai/templates/components/moodle-modal-body-mediageneration.mustache
(#1) HTML Validation error, line 2: “=” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (ad><body><div id="tiny_ai__would-be-a-uniqid" data-tiny_instance_uniqid= class="h-100)
(#1) HTML Validation error, line 2: “"” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (id= class="h-100")
(#1) HTML Validation error, line 2: “"” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (d= class="h-100"> )
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(promptEditController.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(promptEditController.init());
lib/editor/tiny/plugins/ai/templates/components/moodle-modal-body-optimize.mustache
(#1) HTML Validation error, line 2: Attribute value missing. (ad><body><div id="tiny_ai_optimize_would-be-a-uniqid" data-tiny_instance_uniqid=> <)
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(promptEditController.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(promptEditController.init());
lib/editor/tiny/plugins/ai/templates/components/moodle-modal-body-preferences.mustache
(#1) HTML Validation error, line 2: “=” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (ad><body><div id="tiny_ai__would-be-a-uniqid" data-tiny_instance_uniqid= class="h-100)
(#1) HTML Validation error, line 2: “"” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (id= class="h-100")
(#1) HTML Validation error, line 2: “"” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (d= class="h-100"> )
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(promptEditController.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(promptEditController.init());
lib/editor/tiny/plugins/ai/templates/components/moodle-modal-body-start.mustache
(#1) HTML Validation error, line 2: “=” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (ad><body><div id="tiny_ai_start_would-be-a-uniqid" data-tiny_instance_uniqid= class="tiny_)
(#1) HTML Validation error, line 2: “"” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (id= class="tiny_a)
(#1) HTML Validation error, line 2: “"” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. (d= class="tiny_ai_wrapper-l"> )
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(controller.init());
lib/editor/tiny/plugins/ai/templates/components/moodle-modal-body-suggestion.mustache
(#1) HTML Validation error, line 2: Attribute value missing. (ad><body><div id="tiny_ai_suggestion_would-be-a-uniqid" data-tiny_instance_uniqid=> <)
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail,always() or return ( Promise.resolve(controller.init());
(#1) ESLint warning [promise/no-native]: "Promise" is not defined. ( Promise.resolve(controller.init());
lib/editor/tiny/plugins/ai/templates/components/moodle-modal-header.mustache
(#1) HTML Validation info, line 3: Empty heading. (per"> <h5 class="modal-title tiny_ai-headline" data-region="title"> )
lib/editor/tiny/plugins/ai/templates/components/moodle-modal.mustache
(#1) HTML Validation info, line 8: Empty heading. ( <h5 id="would-be-a-uniqid-modal-title" class="modal-title" data-region="title"></h5>)

Gherkin .feature problems

(0 errors, 0 warnings)

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