Prechecker results: error


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

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

mod/accredible/tests/apirest/mod_accredible_apirest_test.php
(#64) Test method test_api_endpoint() is missing any coverage information, own or at class level
(#83) Test method test_get_credential() is missing any coverage information, own or at class level
(#150) Test method test_get_credentials() is missing any coverage information, own or at class level
(#219) Test method test_recipient_sso_link() is missing any coverage information, own or at class level
(#277) Test method test_create_credential() is missing any coverage information, own or at class level
(#350) Test method test_create_credential_legacy() is missing any coverage information, own or at class level
(#414) Test method test_search_groups() is missing any coverage information, own or at class level
(#490) Test method test_create_evidence_item() is missing any coverage information, own or at class level
(#572) Test method test_create_evidence_item_duration() is missing any coverage information, own or at class level
(#665) Test method test_update_evidence_item_grade() is missing any coverage information, own or at class level
(#765) Test method test_get_group() is missing any coverage information, own or at class level
(#812) Test method test_get_groups() is missing any coverage information, own or at class level
(#878) Test method test_search_attribute_keys() is missing any coverage information, own or at class level
mod/accredible/tests/client/mod_accredible_client_test.php
(#45) Test method test_get() is missing any coverage information, own or at class level
(#76) Test method test_post() is missing any coverage information, own or at class level
(#108) Test method test_put() is missing any coverage information, own or at class level
(#140) Test method test_error() is missing any coverage information, own or at class level
mod/accredible/tests/local/mod_accredible_attribute_keys_test.php
(#62) Test method test_get_attribute_keys() is missing any coverage information, own or at class level
mod/accredible/tests/local/mod_accredible_credentials_test.php
(#68) Test method test_create_credential() is missing any coverage information, own or at class level
(#141) Test method test_create_credential_legacy() is missing any coverage information, own or at class level
(#228) Test method test_get_credentials() is missing any coverage information, own or at class level
(#304) Test method test_check_for_existing_credential() is missing any coverage information, own or at class level
(#377) Test method test_check_for_existing_certificate() is missing any coverage information, own or at class level
mod/accredible/tests/local/mod_accredible_evidenceitems_test.php
(#65) Test method test_post_evidence() is missing any coverage information, own or at class level
(#147) Test method test_post_essay_answers() is missing any coverage information, own or at class level
(#225) Test method test_course_duration_evidence() is missing any coverage information, own or at class level
mod/accredible/tests/local/mod_accredible_groups_test.php
(#65) Test method test_get_groups() is missing any coverage information, own or at class level
(#147) Test method test_get_templates() is missing any coverage information, own or at class level
mod/accredible/tests/local/mod_accredible_users_test.php
(#68) Test method test_get_users_with_credentials() is missing any coverage information, own or at class level
(#146) Test method test_get_unissued_users() is missing any coverage information, own or at class level
(#201) Test method test_get_user_grades() is missing any coverage information, own or at class level
(#297) Test method test_load_user_grade_as_custom_attributes() is missing any coverage information, own or at class level
mod/accredible/tests/mod_accredible_lib_test.php
(#37) Test method test_sample() is missing any coverage information, own or at class level
mod/accredible/tests/mod_accredible_locallib_test.php
(#64) Test method test_accredible_get_transcript() is missing any coverage information, own or at class level
(#151) Test method test_accredible_check_if_cert_earned() is missing any coverage information, own or at class level

Javascript coding style problems

(12 errors, 17 warnings)

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

mod/accredible/amd/src/userlist_updater.js
(#41) Trailing spaces not allowed. (no-trailing-spaces)
(#64) There should be no space after '{'. (babel/object-curly-spacing)
(#101) This line has a length of 136. Maximum allowed is 132. (max-len)
(#101) Operator '+' must be spaced. (space-infix-ops)
(#101) Operator '+' must be spaced. (space-infix-ops)
(#110) Operator '+' must be spaced. (space-infix-ops)
(#110) Operator '+' must be spaced. (space-infix-ops)
(#127) Operator '+' must be spaced. (space-infix-ops)
(#127) Operator '+' must be spaced. (space-infix-ops)
(#135) Trailing spaces not allowed. (no-trailing-spaces)
(#139) Trailing spaces not allowed. (no-trailing-spaces)
(#142) Missing JSDoc @param "context" declaration. (jsdoc/require-param)
(#142) Missing JSDoc @param "containerid" declaration. (jsdoc/require-param)
(#142) Missing JSDoc @param "certificate" declaration. (jsdoc/require-param)
(#142) Missing JSDoc for parameter 'certificate'. (valid-jsdoc)
(#145) Expected @param names to be "context, containerid, certificate". Got "stdObject, string, string". (jsdoc/check-param-names)
(#145) Missing JSDoc @param "stdObject" type. (jsdoc/require-param-type)
(#145) Missing JSDoc parameter type for 'stdObject'. (valid-jsdoc)
(#145) Expected JSDoc for 'context' but found 'stdObject'. (valid-jsdoc)
(#146) Missing JSDoc @param "string" type. (jsdoc/require-param-type)
(#146) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#146) Expected JSDoc for 'containerid' but found 'string'. (valid-jsdoc)
(#147) Missing JSDoc @param "string" type. (jsdoc/require-param-type)
(#147) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#147) Duplicate JSDoc parameter 'string'. (valid-jsdoc)
(#151) Trailing spaces not allowed. (no-trailing-spaces)
(#152) Expected catch,fail() or return (promise/catch-or-return)
(#152) Each then() should return a value or throw (promise/always-return)
(#152) Unexpected space before function parentheses. (space-before-function-paren)

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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 2 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

mod/accredible/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to backup and restore, that may affect storage and transportability, please verify!

grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:amd" 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]