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

(3 errors, 17 warnings)

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

lib/editor/atto/plugins/c4l/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class provider
(#39) There must not be a space before the colon in a return type declaration
lib/editor/atto/plugins/c4l/lang/en/atto_c4l.php
(#28) The string key "generalheading" is not in the correct order, it should be before "pluginname"
(#29) The string key "dialogtitle" is not in the correct order, it should be before "generalheading"
(#30) The string key "contextual" is not in the correct order, it should be before "dialogtitle"
(#32) The string key "evaluative" is not in the correct order, it should be before "procedural"
(#36) The string key "reminder" is not in the correct order, it should be before "tip"
(#37) The string key "attention" is not in the correct order, it should be before "reminder"
(#39) The string key "dodontcards" is not in the correct order, it should be before "quote"
(#41) The string key "example" is not in the correct order, it should be before "readingcontext"
(#44) The string key "estimatedtime" is not in the correct order, it should be before "tag"
(#45) The string key "duedate" is not in the correct order, it should be before "estimatedtime"
(#47) The string key "gradingvalue" is not in the correct order, it should be before "proceduralcontext"
(#48) The string key "expectedfeedback" is not in the correct order, it should be before "gradingvalue"
(#49) The string key "allpurposecard" is not in the correct order, it should be before "expectedfeedback"
(#52) The string key "enableattoc4l" is not in the correct order, it should be before "learningoutcomes"
lib/editor/atto/plugins/c4l/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Whitespace found at end of line
(#38) Short array syntax must be used to define arrays

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

(0 errors, 2 warnings)

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

lib/editor/atto/plugins/c4l/styles.css
(#310) Expected line length to be no more than 132 characters (max-line-length)
(#464) Expected line length to be no more than 132 characters (max-line-length)

PHPDocs style problems

(1 errors, 0 warnings)

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

lib/editor/atto/plugins/c4l/lib.php
(#33) Phpdocs for function atto_c4l_strings_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]

Problems running grunt
ENOENT: no such file or directory, stat 'lib/editor/atto/plugins/c4l/yui/build/moodle-atto_c4l-button' 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]