Prechecker results: warning


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, 10 warnings)

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

mod/kalmediaassign/classes/privacy/provider.php
(#36) Duplicate interface name "mod_kalmediaassign\privacy\kalmediaassign_interface" found; first defined in /var/lib/jenkins/git_repositories/prechecker/mod/kalmediaassign/classes/privacy/provider.php on line 30
(#42) Duplicate interface name "mod_kalmediaassign\privacy\kalmediaassign_interface" found; first defined in /var/lib/jenkins/git_repositories/prechecker/mod/kalmediaassign/classes/privacy/provider.php on line 30
(#79) Method name "_get_metadata" should not be prefixed with an underscore to indicate visibility
(#100) Method name "_get_contexts_for_userid" should not be prefixed with an underscore to indicate visibility
(#130) Method name "_get_users_in_context" should not be prefixed with an underscore to indicate visibility
(#151) Method name "_export_user_data" should not be prefixed with an underscore to indicate visibility
(#184) Method name "_delete_data_for_all_users_in_context" should not be prefixed with an underscore to indicate visibility
(#206) Method name "_delete_data_for_user" should not be prefixed with an underscore to indicate visibility
(#232) Method name "_delete_data_for_users" should not be prefixed with an underscore to indicate visibility
mod/kalmediaassign/lib.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(0 errors, 28 warnings)

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

mod/kalmediaassign/amd/src/preview.js
(#202) 'str' used outside of binding context. (block-scoped-var)
(#203) 'str' used outside of binding context. (block-scoped-var)
(#203) 'str' used outside of binding context. (block-scoped-var)
(#204) 'str' used outside of binding context. (block-scoped-var)
(#204) 'str' used outside of binding context. (block-scoped-var)
(#205) 'str' used outside of binding context. (block-scoped-var)
(#205) 'str' used outside of binding context. (block-scoped-var)
(#206) 'str' used outside of binding context. (block-scoped-var)
(#206) 'str' used outside of binding context. (block-scoped-var)
(#207) Comments should not begin with a lowercase character. (capitalized-comments)
(#207) Expected space or tab after '//' in comment. (spaced-comment)
(#208) 'str' used outside of binding context. (block-scoped-var)
(#208) 'str' used outside of binding context. (block-scoped-var)
(#209) 'str' used outside of binding context. (block-scoped-var)
(#209) 'str' used outside of binding context. (block-scoped-var)
(#211) 'str' used outside of binding context. (block-scoped-var)
(#213) 'str' is already defined. (no-redeclare)
(#213) 'str' used outside of binding context. (block-scoped-var)
(#214) 'str' used outside of binding context. (block-scoped-var)
(#214) 'str' used outside of binding context. (block-scoped-var)
(#215) 'str' used outside of binding context. (block-scoped-var)
(#215) 'str' used outside of binding context. (block-scoped-var)
(#216) 'str' used outside of binding context. (block-scoped-var)
(#216) 'str' used outside of binding context. (block-scoped-var)
(#217) 'str' used outside of binding context. (block-scoped-var)
(#217) 'str' used outside of binding context. (block-scoped-var)
(#219) 'str' used outside of binding context. (block-scoped-var)
(#222) Unexpected alert. (no-alert)

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

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