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

(11 errors, 9 warnings)

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

public/local/ltiusage/classes/external/get_pagination.php
(#40) Missing docblock for class get_pagination
(#40) Opening brace must not be followed by a blank line
(#115) Variable "has_prev" must not contain underscores.
(#116) Variable "has_next" must not contain underscores.
(#146) Variable "has_prev" must not contain underscores.
(#147) Variable "has_next" must not contain underscores.
public/local/ltiusage/index.php
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
public/local/ltiusage/lang/en/local_ltiusage.php
(#30) The string key "ltiusage" is not in the correct order, it should be before "pluginname"
(#33) The string key "Coursename" is not in the correct order, it should be before "ltiusage_desc"
(#35) The string key "LtiName" is not in the correct order, it should be before "privacy:metadata"
(#40) The string key "confirmlink" is not in the correct order, it should be before "openlink"
(#42) The string key "next" is not in the correct order, it should be before "prev"
(#43) The string key "Page" is not in the correct order, it should be before "next"
(#45) The string key "nolti" is not in the correct order, it should be before "of"
public/local/ltiusage/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) Expected 1 newline at end of file; 0 found

Javascript coding style problems

(0 errors, 1 warnings)

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

public/local/ltiusage/amd/src/pagination.js
(#133) Identifier 'local_ltiusage' 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

(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

(2 errors, 0 warnings)

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

public/local/ltiusage/amd/build/pagination.min.js
Uncommitted change detected.
public/local/ltiusage/amd/build/pagination.min.js.map
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 1 warnings)

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

public/local/ltiusage/templates/lti_usage.mustache
(#1) Example context missing.

Gherkin .feature problems

(0 errors, 0 warnings)

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