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

(20 errors, 17 warnings)

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

lib/editor/tiny/plugins/corrections/classes/plugininfo.php
(#1) DocBlock missing a @package tag for file plugininfo.php. Expected @package tiny_corrections
(#20) Invalid docblock tag "@module".
(#32) Missing docblock for class plugininfo
(#33) Missing docblock for function get_plugin_configuration_for_context
(#42) There should be a comma after the last array item in a multi-line array.
(#46) Missing docblock for function is_enabled
lib/editor/tiny/plugins/corrections/classes/privacy/provider.php
(#1) DocBlock missing a @package tag for file provider.php. Expected @package tiny_corrections
(#20) Invalid docblock tag "@module".
lib/editor/tiny/plugins/corrections/db/access.php
(#1) DocBlock missing a @package tag for file access.php. Expected @package tiny_corrections
(#20) Invalid docblock tag "@module".
(#35) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
lib/editor/tiny/plugins/corrections/lang/en/tiny_corrections.php
(#1) DocBlock missing a @package tag for file tiny_corrections.php. Expected @package tiny_corrections
(#20) Invalid docblock tag "@module".
(#30) The string key "button_addcorrection" is not in the correct order, it should be before "pluginname"
(#33) The string key "corrtypes" is not in the correct order, it should be before "settings"
(#35) The string key "corrtypes_default" is not in the correct order, it should be before "corrtypes_desc"
(#48) The string key "addcomment" is not in the correct order, it should be before "corrtypes_default"
(#50) The string key "corrtext" is not in the correct order, it should be before "corrtype"
(#53) The string key "addmark" is not in the correct order, it should be before "fulltexttitle"
(#55) The string key "displayfulltext" is not in the correct order, it should be before "removemark"
(#57) The string key "corrections:canmarkup" is not in the correct order, it should be before "privacy:metadata"
lib/editor/tiny/plugins/corrections/lang/fr/tiny_corrections.php
(#1) DocBlock missing a @package tag for file tiny_corrections.php. Expected @package tiny_corrections
(#20) Invalid docblock tag "@module".
(#28) The string key "button_addcorrection" is not in the correct order, it should be before "pluginname"
(#31) The string key "corrtypes" is not in the correct order, it should be before "settings"
(#33) The string key "corrtypes_default" is not in the correct order, it should be before "corrtypes_desc"
(#46) The string key "addcomment" is not in the correct order, it should be before "corrtypes_default"
(#48) The string key "corrtext" is not in the correct order, it should be before "corrtype"
(#51) The string key "addmark" is not in the correct order, it should be before "fulltexttitle"
(#53) The string key "displayfulltext" is not in the correct order, it should be before "removemark"
(#54) The string key "corrections:canmarkup" is not in the correct order, it should be before "displayfulltext"
lib/editor/tiny/plugins/corrections/settings.php
(#1) DocBlock missing a @package tag for file settings.php. Expected @package tiny_corrections
(#20) Invalid docblock tag "@module".
lib/editor/tiny/plugins/corrections/version.php
(#1) DocBlock missing a @package tag for file version.php. Expected @package tiny_corrections
(#20) Invalid docblock tag "@module".
(#32) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 19 warnings)

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

lib/editor/tiny/plugins/corrections/amd/src/commands.js
(#30) Unexpected space before function parentheses. (space-before-function-paren)
(#70) Identifier 'correction_type' is not in camel case. (camelcase)
(#71) Identifier 'correction_comment' is not in camel case. (camelcase)
(#73) Identifier 'current_selection' is not in camel case. (camelcase)
(#74) Identifier 'updated_selection' is not in camel case. (camelcase)
(#76) Identifier 'current_selection' is not in camel case. (camelcase)
(#78) Identifier 'current_selection' is not in camel case. (camelcase)
(#78) Identifier 'correction_type' is not in camel case. (camelcase)
(#79) Identifier 'correction_comment' is not in camel case. (camelcase)
(#101) Identifier 'correction_types_array' is not in camel case. (camelcase)
(#112) Identifier 'correction_types_array' is not in camel case. (camelcase)
(#128) Identifier 'correction_type' is not in camel case. (camelcase)
(#129) Identifier 'correction_comment' is not in camel case. (camelcase)
(#145) Identifier 'correction_types' is not in camel case. (camelcase)
(#146) Identifier 'correction_types' is not in camel case. (camelcase)
(#146) Identifier 'correction_types' is not in camel case. (camelcase)
(#148) Identifier 'correction_types_array' is not in camel case. (camelcase)
(#148) Identifier 'correction_types' is not in camel case. (camelcase)
(#153) Identifier 'correction_types_array' is not in camel case. (camelcase)

CSS problems

(2 errors, 5 warnings)

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

lib/editor/tiny/plugins/corrections/styles.css
(#2) Expected "#ff0000" to be "#f00" (color-hex-length)
(#6) Expected "#ff0000" to be "#f00" (color-hex-length)
(#12) Expected "#cccccc" to be "#ccc" (color-hex-length)
(#13) Expected "#eeee00" to be "#ee0" (color-hex-length)
(#14) Expected "#000000" to be "#000" (color-hex-length)
(#2) Expected single space before "!" (declaration-bang-space-before)
(#2) Unexpected !important (declaration-no-important)

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, 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]