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

(234 errors, 99 warnings)

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

question/type/lti/OAuth.php
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No space found before comment text; expected "// Using a namespace as the basicLTI module imports classes with the same names" but found "//Using a namespace as the basicLTI module imports classes with the same names"
(#61) Variable "oauth_last_computed_signature" must not contain underscores.
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Visibility must be declared on method "__construct"
(#73) Variable "callback_url" must not contain underscores.
(#76) Variable "callback_url" must not contain underscores.
(#79) Visibility must be declared on method "__toString"
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Visibility must be declared on method "__construct"
(#102) Visibility must be declared on method "to_string"
(#109) Visibility must be declared on method "__toString"
(#122) Visibility must be declared on method "get_name"
(#127) Variable "oauth_last_computed_signature" must not contain underscores.
(#128) Variable "oauth_last_computed_signature" must not contain underscores.
(#130) Variable "base_string" must not contain underscores.
(#131) Variable "base_string" must not contain underscores.
(#133) Variable "key_parts" must not contain underscores.
(#138) Variable "key_parts" must not contain underscores.
(#138) Variable "key_parts" must not contain underscores.
(#139) Variable "key_parts" must not contain underscores.
(#141) Variable "computed_signature" must not contain underscores.
(#141) Variable "base_string" must not contain underscores.
(#142) Variable "oauth_last_computed_signature" must not contain underscores.
(#142) Variable "computed_signature" must not contain underscores.
(#143) Variable "computed_signature" must not contain underscores.
(#165) Inline comments must start with a capital letter, digit or 3-dots sequence
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Inline comments must start with a capital letter, digit or 3-dots sequence
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Variable "base_string" must not contain underscores.
(#197) Variable "base_string" must not contain underscores.
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Variable "base_string" must not contain underscores.
(#208) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Variable "decoded_sig" must not contain underscores.
(#217) Variable "base_string" must not contain underscores.
(#219) Inline comments must end in full-stops, exclamation marks, or question marks
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) Variable "base_string" must not contain underscores.
(#226) Variable "decoded_sig" must not contain underscores.
(#228) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Member variable "http_method" must not contain underscores.
(#238) Member variable "http_url" must not contain underscores.
(#239) Inline comments must start with a capital letter, digit or 3-dots sequence
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) Member variable "base_string" must not contain underscores.
(#242) Member variable "POST_INPUT" must be all lower-case
(#242) Member variable "POST_INPUT" must not contain underscores.
(#244) Visibility must be declared on method "__construct"
(#244) Variable "http_method" must not contain underscores.
(#244) Variable "http_url" must not contain underscores.
(#247) Variable "http_method" must not contain underscores.
(#248) Variable "http_url" must not contain underscores.
(#254) Variable "http_method" must not contain underscores.
(#254) Variable "http_url" must not contain underscores.
(#260) Variable "http_url" must not contain underscores.
(#260) Variable "http_url" must not contain underscores.
(#264) Variable "http_method" must not contain underscores.
(#264) Variable "http_method" must not contain underscores.
(#269) Inline comments must end in full-stops, exclamation marks, or question marks
(#271) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) Variable "request_headers" must not contain underscores.
(#274) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) Inline comments must end in full-stops, exclamation marks, or question marks
(#283) Variable "request_headers" must not contain underscores.
(#284) Variable "header_parameters" must not contain underscores.
(#284) Variable "request_headers" must not contain underscores.
(#285) Variable "header_parameters" must not contain underscores.
(#290) Variable "http_method" must not contain underscores.
(#290) Variable "http_url" must not contain underscores.
(#296) Variable "http_method" must not contain underscores.
(#296) Variable "http_url" must not contain underscores.
(#310) Inline comments must end in full-stops, exclamation marks, or question marks
(#311) Variable "http_url" must not contain underscores.
(#317) Variable "http_method" must not contain underscores.
(#317) Variable "http_url" must not contain underscores.
(#320) Variable "allow_duplicates" must not contain underscores.
(#321) Variable "allow_duplicates" must not contain underscores.
(#322) Inline comments must end in full-stops, exclamation marks, or question marks
(#325) Inline comments must end in full-stops, exclamation marks, or question marks
(#352) Inline comments must end in full-stops, exclamation marks, or question marks
(#356) Inline comments must end in full-stops, exclamation marks, or question marks
(#414) Variable "post_data" must not contain underscores.
(#416) Variable "post_data" must not contain underscores.
(#417) Variable "post_data" must not contain underscores.
(#455) Variable "signature_method" must not contain underscores.
(#456) Variable "signature_method" must not contain underscores.
(#457) Variable "signature_method" must not contain underscores.
(#461) Variable "signature_method" must not contain underscores.
(#462) Variable "signature_method" must not contain underscores.
(#480) Inline comments must start with a capital letter, digit or 3-dots sequence
(#480) Inline comments must end in full-stops, exclamation marks, or question marks
(#485) Member variable "timestamp_threshold" must not contain underscores.
(#485) Inline comments must start with a capital letter, digit or 3-dots sequence
(#485) Inline comments must end in full-stops, exclamation marks, or question marks
(#486) Inline comments must start with a capital letter, digit or 3-dots sequence
(#486) Inline comments must end in full-stops, exclamation marks, or question marks
(#487) Member variable "signature_methods" must not contain underscores.
(#488) Member variable "data_store" must not contain underscores.
(#490) Visibility must be declared on method "__construct"
(#490) Variable "data_store" must not contain underscores.
(#491) Variable "data_store" must not contain underscores.
(#494) Variable "signature_method" must not contain underscores.
(#495) Variable "signature_method" must not contain underscores.
(#495) Variable "signature_method" must not contain underscores.
(#498) Inline comments must start with a capital letter, digit or 3-dots sequence
(#498) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) Inline comments must start with a capital letter, digit or 3-dots sequence
(#509) Inline comments must end in full-stops, exclamation marks, or question marks
(#514) Variable "new_token" must not contain underscores.
(#516) Variable "new_token" must not contain underscores.
(#528) Inline comments must start with a capital letter, digit or 3-dots sequence
(#528) Inline comments must end in full-stops, exclamation marks, or question marks
(#533) Variable "new_token" must not contain underscores.
(#535) Variable "new_token" must not contain underscores.
(#542) Variable "oauth_last_computed_signature" must not contain underscores.
(#543) Variable "oauth_last_computed_signature" must not contain underscores.
(#554) Inline comments must end in full-stops, exclamation marks, or question marks
(#573) Variable "signature_method" must not contain underscores.
(#574) Variable "signature_method" must not contain underscores.
(#575) Variable "signature_method" must not contain underscores.
(#577) Variable "signature_method" must not contain underscores.
(#578) Variable "signature_method" must not contain underscores.
(#582) Variable "signature_method" must not contain underscores.
(#589) Variable "consumer_key" must not contain underscores.
(#590) Variable "consumer_key" must not contain underscores.
(#594) Variable "consumer_key" must not contain underscores.
(#605) Variable "token_type" must not contain underscores.
(#606) Variable "token_field" must not contain underscores.
(#607) Variable "token_field" must not contain underscores.
(#610) Variable "token_type" must not contain underscores.
(#610) Variable "token_field" must not contain underscores.
(#612) Variable "token_type" must not contain underscores.
(#622) Inline comments must start with a capital letter, digit or 3-dots sequence
(#622) Inline comments must end in full-stops, exclamation marks, or question marks
(#623) Variable "oauth_last_computed_signature" must not contain underscores.
(#624) Variable "oauth_last_computed_signature" must not contain underscores.
(#632) Variable "signature_method" must not contain underscores.
(#635) Variable "valid_sig" must not contain underscores.
(#635) Variable "signature_method" must not contain underscores.
(#637) Variable "valid_sig" must not contain underscores.
(#638) Variable "ex_text" must not contain underscores.
(#639) Variable "oauth_last_computed_signature" must not contain underscores.
(#640) Variable "ex_text" must not contain underscores.
(#640) Variable "ex_text" must not contain underscores.
(#640) Variable "oauth_last_computed_signature" must not contain underscores.
(#642) Variable "ex_text" must not contain underscores.
(#650) Inline comments must start with a capital letter, digit or 3-dots sequence
(#650) Inline comments must end in full-stops, exclamation marks, or question marks
(#661) Inline comments must start with a capital letter, digit or 3-dots sequence
(#661) Inline comments must end in full-stops, exclamation marks, or question marks
(#671) Visibility must be declared on method "lookup_consumer"
(#671) Variable "consumer_key" must not contain underscores.
(#672) Inline comments must start with a capital letter, digit or 3-dots sequence
(#672) Inline comments must end in full-stops, exclamation marks, or question marks
(#675) Visibility must be declared on method "lookup_token"
(#675) Variable "token_type" must not contain underscores.
(#676) Inline comments must start with a capital letter, digit or 3-dots sequence
(#676) Inline comments must end in full-stops, exclamation marks, or question marks
(#679) Visibility must be declared on method "lookup_nonce"
(#680) Inline comments must start with a capital letter, digit or 3-dots sequence
(#680) Inline comments must end in full-stops, exclamation marks, or question marks
(#683) Visibility must be declared on method "new_request_token"
(#684) Inline comments must start with a capital letter, digit or 3-dots sequence
(#684) Inline comments must end in full-stops, exclamation marks, or question marks
(#687) Visibility must be declared on method "new_access_token"
(#688) Inline comments must start with a capital letter, digit or 3-dots sequence
(#691) Inline comments must end in full-stops, exclamation marks, or question marks
(#721) Inline comments must end in full-stops, exclamation marks, or question marks
(#722) Variable "only_allow_oauth_parameters" must not contain underscores.
(#728) Variable "header_name" must not contain underscores.
(#729) Variable "header_content" must not contain underscores.
(#730) Variable "header_name" must not contain underscores.
(#730) Variable "only_allow_oauth_parameters" must not contain underscores.
(#731) Variable "header_name" must not contain underscores.
(#731) Variable "header_content" must not contain underscores.
(#743) Inline comments must start with a capital letter, digit or 3-dots sequence
(#743) Inline comments must end in full-stops, exclamation marks, or question marks
(#746) Inline comments must start with a capital letter, digit or 3-dots sequence
(#747) Inline comments must end in full-stops, exclamation marks, or question marks
(#756) Inline comments must start with a capital letter, digit or 3-dots sequence
(#757) Inline comments must end in full-stops, exclamation marks, or question marks
(#761) Inline comments must start with a capital letter, digit or 3-dots sequence
(#763) Inline comments must end in full-stops, exclamation marks, or question marks
(#773) Inline comments must end in full-stops, exclamation marks, or question marks
(#781) Variable "parsed_parameters" must not contain underscores.
(#787) Variable "parsed_parameters" must not contain underscores.
(#789) Inline comments must end in full-stops, exclamation marks, or question marks
(#791) Variable "parsed_parameters" must not contain underscores.
(#793) Inline comments must end in full-stops, exclamation marks, or question marks
(#794) Variable "parsed_parameters" must not contain underscores.
(#795) Variable "parsed_parameters" must not contain underscores.
(#799) Variable "parsed_parameters" must not contain underscores.
(#801) Variable "parsed_parameters" must not contain underscores.
(#804) Variable "parsed_parameters" must not contain underscores.
(#812) Inline comments must end in full-stops, exclamation marks, or question marks
(#818) Inline comments must end in full-stops, exclamation marks, or question marks
(#825) Inline comments must end in full-stops, exclamation marks, or question marks
(#827) Variable "duplicate_value" must not contain underscores.
(#828) Variable "duplicate_value" must not contain underscores.
(#835) Inline comments must end in full-stops, exclamation marks, or question marks
(#838) File must end with a newline character
question/type/lti/ajax.php
(#103) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#108) Whitespace found at end of line
question/type/lti/backup/moodle2/backup_qtype_lti_plugin.class.php
(#89) Commas (,) must be followed by white space.
(#89) Line exceeds 132 characters; contains 146 characters
question/type/lti/backup/moodle2/restore_qtype_lti_plugin.class.php
(#177) Line indented incorrectly; expected 8 spaces, found 11
(#180) Line indented incorrectly; expected 8 spaces, found 11
(#275) Expected "if (...) {\n"; found "if(...){\n"
(#299) Expected "if (...) {\n"; found "if(...) {\n"
(#308) Expected "if (...) {\n"; found "if(...){\n"
(#331) File must end with a newline character
question/type/lti/classes/local/ltiservice/resource_base.php
(#195) The abstract declaration must precede the visibility declaration
question/type/lti/classes/output/tool_configure_page.php
(#62) File must end with a newline character
question/type/lti/db/upgrade.php
(#135) Inline comments must start with a capital letter, digit or 3-dots sequence
(#174) This comment is 68% valid code; is this commented out code?
(#175) Line exceeds 132 characters; contains 166 characters
question/type/lti/edit_form.php
(#179) Variable "additionalfields_user" must not contain underscores.
(#181) Variable "additionalfields_user" must not contain underscores.
(#181) Line exceeds 132 characters; contains 142 characters
(#186) Variable "additionalfields_custom" must not contain underscores.
(#188) Variable "additionalfields_custom" must not contain underscores.
(#188) Line exceeds 132 characters; contains 138 characters
(#194) Line exceeds 132 characters; contains 164 characters
(#195) Line exceeds 132 characters; contains 158 characters
(#197) Line exceeds 132 characters; contains 148 characters
question/type/lti/locallib.php
(#323) Line exceeds 132 characters; contains 133 characters
(#479) Inline comments must end in full-stops, exclamation marks, or question marks
(#484) Whitespace found at end of line
(#497) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) Line indented incorrectly; expected at least 12 spaces, found 8
(#502) Whitespace found at end of line
(#507) Whitespace found at end of line
(#1682) Whitespace found at end of line
(#1989) Whitespace found at end of line
question/type/lti/question.php
(#128) Functions must not contain multiple empty lines in a row; found 2 empty lines
question/type/lti/renderer.php
(#42) Line indented incorrectly; expected 8 spaces, found 24
(#42) Expected "if (...) {\n"; found "if(...) {\n"
(#44) Line indented incorrectly; expected 8 spaces, found 24
(#51) Variable "where_clause" must not contain underscores.
(#54) Line indented incorrectly; expected 12 spaces, found 28
(#54) Expected "if (...) {\n"; found "if(...) {\n"
(#56) Variable "where_clause" must not contain underscores.
(#56) Line exceeds 132 characters; contains 139 characters
(#57) Line indented incorrectly; expected 12 spaces, found 28
(#58) Line indented incorrectly; expected 12 spaces, found 28
(#58) Expected "if (...) {\n"; found "if(...) {\n"
(#60) Variable "where_clause" must not contain underscores.
(#60) Line exceeds 132 characters; contains 137 characters
(#61) Line indented incorrectly; expected 12 spaces, found 28
(#62) Line indented incorrectly; expected 12 spaces, found 28
(#62) Expected "if (...) {\n"; found "if(...) {\n"
(#64) Variable "where_clause" must not contain underscores.
(#64) Line exceeds 132 characters; contains 149 characters
(#65) Line indented incorrectly; expected 12 spaces, found 28
(#66) Variable "where_clause" must not contain underscores.
(#67) Line indented incorrectly; expected 12 spaces, found 28
(#67) Expected "if (...) {\n"; found "if(...) {\n"
(#68) Line indented incorrectly; expected 16 spaces, found 32
(#68) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#80) Line indented incorrectly; expected 20 spaces, found 36
(#80) Expected "if (...) {\n"; found "if(...) {\n"
(#81) Expected 1 space after "="; 2 found
(#82) Line indented incorrectly; expected 20 spaces, found 36
(#83) Line indented incorrectly; expected 20 spaces, found 36
(#83) Expected "if (...) {\n"; found "if(...) {\n"
(#84) Expected 1 space after "="; 2 found
(#85) Line indented incorrectly; expected 20 spaces, found 36
(#87) Line indented incorrectly; expected 20 spaces, found 36
(#87) Expected "if (...) {\n"; found "if(...) {\n"
(#92) Line indented incorrectly; expected 20 spaces, found 36
(#95) Line indented incorrectly; expected 16 spaces, found 32
(#97) Line indented incorrectly; expected 12 spaces, found 28
(#103) Line indented incorrectly; expected 12 spaces, found 28
(#103) Expected "if (...) {\n"; found "if(...) {\n"
(#105) Line indented incorrectly; expected 12 spaces, found 28
(#107) Line indented incorrectly; expected 12 spaces, found 28
(#114) Line indented incorrectly; expected 12 spaces, found 28
(#114) Expected "if (...) {\n"; found "if(...) {\n"
(#116) Line indented incorrectly; expected 12 spaces, found 28
(#117) Line exceeds 132 characters; contains 149 characters
(#118) Line indented incorrectly; expected 12 spaces, found 28
(#122) Line indented incorrectly; expected 12 spaces, found 28
(#122) Expected "if (...) {\n"; found "if(...){\n"
(#125) Line indented incorrectly; expected 12 spaces, found 28
(#126) Line indented incorrectly; expected 12 spaces, found 28
(#126) Expected "if (...) {\n"; found "if(...){\n"
(#126) Line exceeds 132 characters; contains 150 characters
(#128) Line indented incorrectly; expected 12 spaces, found 28
(#131) Line indented incorrectly; expected 12 spaces, found 28
(#131) Expected "if (...) {\n"; found "if(...) {\n"
(#133) Line indented incorrectly; expected 12 spaces, found 28
(#135) Line indented incorrectly; expected 12 spaces, found 28
(#139) Line indented incorrectly; expected 12 spaces, found 28
(#139) Expected "if (...) {\n"; found "if(...) {\n"
(#141) Line indented incorrectly; expected 12 spaces, found 28
(#144) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#146) Line indented incorrectly; expected 8 spaces, found 24
(#151) global $PAGE cannot be used in renderers. Use $this->page.
(#171) Expected "if (...) {\n"; found "if(...) {\n"
(#192) Expected "if (...) {\n"; found "if(...) {\n"
(#285) Line exceeds 132 characters; contains 151 characters
(#314) Line exceeds 132 characters; contains 143 characters
(#470) File must end with a newline character
question/type/lti/service/toolproxy/db/renamedclasses.php
(#27) File must end with a newline character
question/type/lti/servicelib.php
(#97) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#191) Line exceeds 132 characters; contains 146 characters
(#192) Line exceeds 132 characters; contains 152 characters
question/type/lti/settings.php
(#26) This comment is 50% valid code; is this commented out code?
question/type/lti/tests/event/unknown_service_api_called_test.php
(#74) This comment is 50% valid code; is this commented out code?
question/type/lti/tests/fixtures/tool_provider.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
question/type/lti/tests/service_exception_handler_test.php
(#84) File must end with a newline character
question/type/lti/tests/servicelib_test.php
(#115) File must end with a newline character

Javascript coding style problems

(162 errors, 119 warnings)

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

question/type/lti/amd/src/cartridge_registration_form.js
(#23) @package should be empty. (jsdoc/empty-tags)
question/type/lti/amd/src/contentitem.js
(#24) @package should be empty. (jsdoc/empty-tags)
question/type/lti/amd/src/contentitem_return.js
(#21) @package should be empty. (jsdoc/empty-tags)
question/type/lti/amd/src/events.js
(#22) @package should be empty. (jsdoc/empty-tags)
question/type/lti/amd/src/external_registration.js
(#27) @package should be empty. (jsdoc/empty-tags)
(#188) Missing JSDoc @param "id" declaration. (jsdoc/require-param)
(#193) Expected @param names to be "id". Got "". (jsdoc/check-param-names)
(#193) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#271) Missing JSDoc @param "id" declaration. (jsdoc/require-param)
(#279) Expected @param names to be "id". Got "". (jsdoc/check-param-names)
(#279) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#340) Missing JSDoc @param "registrationRequest" declaration. (jsdoc/require-param)
(#346) Expected @param names to be "registrationRequest". Got "". (jsdoc/check-param-names)
(#346) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#366) Missing JSDoc @param "typeData" declaration. (jsdoc/require-param)
(#372) Expected @param names to be "typeData". Got "". (jsdoc/check-param-names)
(#372) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#384) Missing JSDoc @param "typeData" declaration. (jsdoc/require-param)
(#393) Expected @param names to be "typeData". Got "". (jsdoc/check-param-names)
(#393) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#442) Missing JSDoc @param "url" declaration. (jsdoc/require-param)
(#457) Expected @param names to be "url". Got "". (jsdoc/check-param-names)
(#457) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#496) Missing JSDoc @param "id" declaration. (jsdoc/require-param)
(#501) Expected @param names to be "id". Got "". (jsdoc/check-param-names)
(#501) There must be an identifier after @param tag. (jsdoc/require-param-name)
question/type/lti/amd/src/external_registration_return.js
(#24) @package should be empty. (jsdoc/empty-tags)
question/type/lti/amd/src/form-field.js
(#21) @package should be empty. (jsdoc/empty-tags)
question/type/lti/amd/src/keys.js
(#21) @package should be empty. (jsdoc/empty-tags)
question/type/lti/amd/src/tool_card_controller.js
(#24) @package should be empty. (jsdoc/empty-tags)
(#44) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#49) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#49) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#57) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#62) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#62) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#70) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#75) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#75) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#83) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#88) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#88) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#96) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#101) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#101) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#109) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#114) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#114) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#122) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#128) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#128) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#136) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#141) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#141) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#149) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#154) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#154) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#161) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#166) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#166) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#174) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#179) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#179) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#186) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#192) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#192) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#209) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#215) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#215) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#232) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#238) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#238) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#305) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#305) Missing JSDoc @param "value" declaration. (jsdoc/require-param)
(#310) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#312) Duplicate @param "" (jsdoc/check-param-names)
(#312) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#319) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#324) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#324) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#332) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#337) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#337) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#351) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#357) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#357) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#406) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#411) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#411) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#425) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#431) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#431) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#478) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#485) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#485) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#524) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#530) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#530) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#537) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#542) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#542) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#549) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#556) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#556) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#567) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#572) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#572) There must be an identifier after @param tag. (jsdoc/require-param-name)
question/type/lti/amd/src/tool_configure_controller.js
(#22) @package should be empty. (jsdoc/empty-tags)
(#363) This line has a length of 133. Maximum allowed is 132. (max-len)
question/type/lti/amd/src/tool_proxy.js
(#21) @package should be empty. (jsdoc/empty-tags)
question/type/lti/amd/src/tool_proxy_card_controller.js
(#24) @package should be empty. (jsdoc/empty-tags)
(#42) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#47) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#47) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#55) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#60) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#60) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#68) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#73) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#73) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#81) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#86) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#86) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#93) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#98) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#98) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#106) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#111) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#111) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#118) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#124) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#124) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#141) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#147) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#147) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#164) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#170) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#170) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#231) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#238) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#238) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#246) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#251) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#251) There must be an identifier after @param tag. (jsdoc/require-param-name)
(#286) Missing JSDoc @param "element" declaration. (jsdoc/require-param)
(#289) Expected @param names to be "element". Got "". (jsdoc/check-param-names)
(#289) There must be an identifier after @param tag. (jsdoc/require-param-name)
question/type/lti/amd/src/tool_type.js
(#21) @package should be empty. (jsdoc/empty-tags)
question/type/lti/form.js
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#27) Identifier 'qtype_lti' is not in camel case. (camelcase)
(#34) Extra space after key 'init'. (key-spacing)
(#34) Unexpected space before function parentheses. (space-before-function-paren)
(#47) Unexpected space before function parentheses. (space-before-function-paren)
(#53) Unexpected space before function parentheses. (space-before-function-paren)
(#53) 'e' is defined but never used. (no-unused-vars)
(#59) Unexpected space before function parentheses. (space-before-function-paren)
(#59) 'e' is defined but never used. (no-unused-vars)
(#95) Unexpected space before function parentheses. (space-before-function-paren)
(#104) Extra space after key 'id'. (key-spacing)
(#105) Extra space after key 'course'. (key-spacing)
(#106) Extra space after key 'title'. (key-spacing)
(#107) Extra space after key 'text'. (key-spacing)
(#110) There should be no space after '['. (array-bracket-spacing)
(#110) There should be no space before ']'. (array-bracket-spacing)
(#111) Unexpected space before function parentheses. (space-before-function-paren)
(#121) There should be no space after '['. (array-bracket-spacing)
(#123) There should be no space before ']'. (array-bracket-spacing)
(#126) Unexpected space before function parentheses. (space-before-function-paren)
(#126) 'e' is defined but never used. (no-unused-vars)
(#131) Unexpected space before function parentheses. (space-before-function-paren)
(#136) 'allowgrades' is assigned a value but never used. (no-unused-vars)
(#140) Extra space after key 'toggleToolUrl'. (key-spacing)
(#146) Expected space(s) after "if". (keyword-spacing)
(#148) Missing semicolon. (semi)
(#156) Missing semicolon. (semi)
(#166) Extra space after key 'toggleGradeSection'. (key-spacing)
(#166) Unexpected space before function parentheses. (space-before-function-paren)
(#179) Extra space after key 'clearToolCache'. (key-spacing)
(#179) Unexpected space before function parentheses. (space-before-function-paren)
(#184) Extra space after key 'updateAutomaticToolMatch'. (key-spacing)
(#184) Expected to return a value at the end of method 'updateAutomaticToolMatch'. (consistent-return)
(#184) Unexpected space before function parentheses. (space-before-function-paren)
(#219) Unnecessary escape character: \/. (no-useless-escape)
(#260) Unexpected space before function parentheses. (space-before-function-paren)
(#261) Comments should not begin with a lowercase character. (capitalized-comments)
(#269) Trailing spaces not allowed. (no-trailing-spaces)
(#285) Trailing spaces not allowed. (no-trailing-spaces)
(#345) Unexpected space before function parentheses. (space-before-function-paren)
(#364) Missing JSDoc for parameter 'toolInfo'. (valid-jsdoc)
(#368) Extra space after key 'updatePrivacySettings'. (key-spacing)
(#368) Unexpected space before function parentheses. (space-before-function-paren)
(#371) Extra space after key 'sendname'. (key-spacing)
(#372) Extra space after key 'sendemailaddr'. (key-spacing)
(#373) Extra space after key 'acceptgrades'. (key-spacing)
(#374) Missing semicolon. (semi)
(#380) Extra space after key 'sendname'. (key-spacing)
(#381) Extra space after key 'sendemailaddr'. (key-spacing)
(#382) Extra space after key 'acceptgrades'. (key-spacing)
(#432) Extra space after key 'getSelectedToolTypeOption'. (key-spacing)
(#432) Unexpected space before function parentheses. (space-before-function-paren)
(#443) Extra space after key 'addOptGroups'. (key-spacing)
(#443) Unexpected space before function parentheses. (space-before-function-paren)
(#458) Unexpected space before function parentheses. (space-before-function-paren)
(#463) Unexpected space before function parentheses. (space-before-function-paren)
(#481) Extra space after key 'createTypeEditorButtons'. (key-spacing)
(#481) Unexpected space before function parentheses. (space-before-function-paren)
(#486) Unexpected space before function parentheses. (space-before-function-paren)
(#489) Script URL is a form of eval. (no-script-url)
(#491) Missing semicolon. (semi)
(#504) Unexpected space before function parentheses. (space-before-function-paren)
(#504) 'e' is defined but never used. (no-unused-vars)
(#516) Unexpected alert. (no-alert)
(#521) Unexpected space before function parentheses. (space-before-function-paren)
(#521) 'e' is defined but never used. (no-unused-vars)
(#526) Unexpected alert. (no-alert)
(#531) Unexpected space before function parentheses. (space-before-function-paren)
(#531) 'e' is defined but never used. (no-unused-vars)
(#535) Unexpected confirm. (no-alert)
(#540) Unexpected alert. (no-alert)
(#549) Extra space after key 'toggleEditButtons'. (key-spacing)
(#549) Unexpected space before function parentheses. (space-before-function-paren)
(#551) Identifier 'lti_edit_tool_type' is not in camel case. (camelcase)
(#552) Identifier 'lti_delete_tool_type' is not in camel case. (camelcase)
(#553) Identifier 'lti_add_tool_type' is not in camel case. (camelcase)
(#559) Identifier 'lti_edit_tool_type' is not in camel case. (camelcase)
(#560) Identifier 'lti_delete_tool_type' is not in camel case. (camelcase)
(#562) Identifier 'lti_edit_tool_type' is not in camel case. (camelcase)
(#563) Identifier 'lti_delete_tool_type' is not in camel case. (camelcase)
(#568) Identifier 'lti_add_tool_type' is not in camel case. (camelcase)
(#570) Identifier 'lti_add_tool_type' is not in camel case. (camelcase)
(#575) Extra space after key 'addToolType'. (key-spacing)
(#575) Unexpected space before function parentheses. (space-before-function-paren)
(#577) Identifier 'course_tool_group' is not in camel case. (camelcase)
(#584) Identifier 'course_tool_group' is not in camel case. (camelcase)
(#585) Identifier 'course_tool_group' is not in camel case. (camelcase)
(#597) There should be no space after '['. (array-bracket-spacing)
(#597) There should be no space before ']'. (array-bracket-spacing)
(#597) Unexpected space before function parentheses. (space-before-function-paren)
(#599) Extra space after key 'message'. (key-spacing)
(#600) Extra space after key 'type'. (key-spacing)
(#605) Extra space after key 'updateToolType'. (key-spacing)
(#605) Unexpected space before function parentheses. (space-before-function-paren)
(#618) There should be no space after '['. (array-bracket-spacing)
(#618) There should be no space before ']'. (array-bracket-spacing)
(#618) Unexpected space before function parentheses. (space-before-function-paren)
(#621) Extra space after key 'message'. (key-spacing)
(#622) Extra space after key 'type'. (key-spacing)
(#627) Extra space after key 'deleteTool'. (key-spacing)
(#627) Unexpected space before function parentheses. (space-before-function-paren)
(#631) Extra space after key 'on'. (key-spacing)
(#632) Extra space after key 'success'. (key-spacing)
(#632) Unexpected space before function parentheses. (space-before-function-paren)
(#642) There should be no space after '['. (array-bracket-spacing)
(#642) There should be no space before ']'. (array-bracket-spacing)
(#643) Unexpected space before function parentheses. (space-before-function-paren)
(#646) Extra space after key 'message'. (key-spacing)
(#647) Extra space after key 'type'. (key-spacing)
(#651) Extra space after key 'failure'. (key-spacing)
(#651) Unexpected space before function parentheses. (space-before-function-paren)
(#652) There should be no space after '['. (array-bracket-spacing)
(#652) There should be no space before ']'. (array-bracket-spacing)
(#653) Unexpected space before function parentheses. (space-before-function-paren)
(#655) Extra space after key 'message'. (key-spacing)
(#656) Extra space after key 'type'. (key-spacing)
(#664) Extra space after key 'findToolByUrl'. (key-spacing)
(#664) Unexpected space before function parentheses. (space-before-function-paren)
(#668) Extra space after key 'data'. (key-spacing)
(#669) Extra space after key 'action'. (key-spacing)
(#670) Extra space after key 'course'. (key-spacing)
(#672) Extra space after key 'toolurl'. (key-spacing)
(#673) Extra space after key 'toolid'. (key-spacing)
(#676) Extra space after key 'on'. (key-spacing)
(#677) Extra space after key 'success'. (key-spacing)
(#677) Unexpected space before function parentheses. (space-before-function-paren)
(#684) Extra space after key 'failure'. (key-spacing)
(#684) Unexpected space before function parentheses. (space-before-function-paren)
(#684) Unexpected empty method 'failure'. (no-empty-function)
(#698) Extra space after key 'getContentItemId'. (key-spacing)
(#698) Unexpected space before function parentheses. (space-before-function-paren)
(#709) Extra space after key 'resetToolFields'. (key-spacing)
(#709) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(16 errors, 0 warnings)

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

question/type/lti/styles.css
(#1) Unexpected empty block (block-no-empty)
(#431) Expected single space before "{" (block-opening-brace-space-before)
(#5) Expected single space before "!" (declaration-bang-space-before)
(#414) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#419) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#423) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#424) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#425) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#426) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#427) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#428) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#429) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Unexpected !important (declaration-no-important)
(#420) Unexpected URL scheme "data:" (function-url-scheme-blacklist)
(#5) Expected indentation of 4 spaces (indentation)
(#432) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(237 errors, 0 warnings)

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

question/type/lti/OAuth.php
(#65) Package is not specified for class OAuthException. It is also not specified in file-level phpdocs
(#69) Package is not specified for class OAuthConsumer. It is also not specified in file-level phpdocs
(#84) Package is not specified for class OAuthToken. It is also not specified in file-level phpdocs
(#114) Package is not specified for class OAuthSignatureMethod. It is also not specified in file-level phpdocs
(#121) Package is not specified for class OAuthSignatureMethod_HMAC_SHA1. It is also not specified in file-level phpdocs
(#148) Package is not specified for class OAuthSignatureMethod_PLAINTEXT. It is also not specified in file-level phpdocs
(#172) Package is not specified for class OAuthSignatureMethod_RSA_SHA1. It is also not specified in file-level phpdocs
(#235) Package is not specified for class OAuthRequest. It is also not specified in file-level phpdocs
(#484) Package is not specified for class OAuthServer. It is also not specified in file-level phpdocs
(#670) Package is not specified for class OAuthDataStore. It is also not specified in file-level phpdocs
(#696) Package is not specified for class OAuthUtil. It is also not specified in file-level phpdocs
(#) File-level phpdocs block is not found
(#65) Class OAuthException is not documented
(#69) Class OAuthConsumer is not documented
(#84) Class OAuthToken is not documented
(#114) Class OAuthSignatureMethod is not documented
(#121) Class OAuthSignatureMethod_HMAC_SHA1 is not documented
(#148) Class OAuthSignatureMethod_PLAINTEXT is not documented
(#172) Class OAuthSignatureMethod_RSA_SHA1 is not documented
(#235) Class OAuthRequest is not documented
(#484) Class OAuthServer is not documented
(#670) Class OAuthDataStore is not documented
(#696) Class OAuthUtil is not documented
(#73) Function OAuthConsumer::__construct is not documented
(#79) Function OAuthConsumer::__toString is not documented
(#109) Function OAuthToken::__toString is not documented
(#115) Function OAuthSignatureMethod::check_signature is not documented
(#122) Function OAuthSignatureMethod_HMAC_SHA1::get_name is not documented
(#126) Function OAuthSignatureMethod_HMAC_SHA1::build_signature is not documented
(#149) Function OAuthSignatureMethod_PLAINTEXT::get_name is not documented
(#153) Function OAuthSignatureMethod_PLAINTEXT::build_signature is not documented
(#173) Function OAuthSignatureMethod_RSA_SHA1::get_name is not documented
(#177) Function OAuthSignatureMethod_RSA_SHA1::fetch_public_cert is not documented
(#187) Function OAuthSignatureMethod_RSA_SHA1::fetch_private_cert is not documented
(#195) Function OAuthSignatureMethod_RSA_SHA1::build_signature is not documented
(#214) Function OAuthSignatureMethod_RSA_SHA1::check_signature is not documented
(#244) Function OAuthRequest::__construct is not documented
(#320) Function OAuthRequest::set_parameter is not documented
(#335) Function OAuthRequest::get_parameter is not documented
(#339) Function OAuthRequest::get_parameters is not documented
(#343) Function OAuthRequest::unset_parameter is not documented
(#451) Function OAuthRequest::__toString is not documented
(#455) Function OAuthRequest::sign_request is not documented
(#461) Function OAuthRequest::build_signature is not documented
(#490) Function OAuthServer::__construct is not documented
(#494) Function OAuthServer::add_signature_method is not documented
(#671) Function OAuthDataStore::lookup_consumer is not documented
(#675) Function OAuthDataStore::lookup_token is not documented
(#679) Function OAuthDataStore::lookup_nonce is not documented
(#683) Function OAuthDataStore::new_request_token is not documented
(#687) Function OAuthDataStore::new_access_token is not documented
(#697) Function OAuthUtil::urlencode_rfc3986 is not documented
(#715) Function OAuthUtil::urldecode_rfc3986 is not documented
(#722) Function OAuthUtil::split_header is not documented
(#744) Function OAuthUtil::get_headers is not documented
(#774) Function OAuthUtil::parse_parameters is not documented
(#807) Function OAuthUtil::build_http_query is not documented
(#70) Variable OAuthConsumer::$key is not documented
(#71) Variable OAuthConsumer::$secret is not documented
(#86) Variable OAuthToken::$key is not documented
(#87) Variable OAuthToken::$secret is not documented
(#236) Variable OAuthRequest::$parameters is not documented
(#237) Variable OAuthRequest::$http_method is not documented
(#238) Variable OAuthRequest::$http_url is not documented
(#240) Variable OAuthRequest::$base_string is not documented
(#241) Variable OAuthRequest::$version is not documented
(#242) Variable OAuthRequest::$POST_INPUT is not documented
(#485) Variable OAuthServer::$timestamp_threshold is not documented
(#486) Variable OAuthServer::$version is not documented
(#487) Variable OAuthServer::$signature_methods is not documented
(#488) Variable OAuthServer::$data_store is not documented
(#89) Phpdocs for function OAuthToken::__construct has incomplete parameters list
(#251) Phpdocs for function OAuthRequest::from_request has incomplete parameters list
(#293) Phpdocs for function OAuthRequest::from_consumer_and_token has incomplete parameters list
(#500) Phpdocs for function OAuthServer::fetch_request_token has incomplete parameters list
(#519) Phpdocs for function OAuthServer::fetch_access_token has incomplete parameters list
(#538) Phpdocs for function OAuthServer::verify_request has incomplete parameters list
(#555) Phpdocs for function OAuthServer::get_version has incomplete parameters list
(#569) Phpdocs for function OAuthServer::get_signature_method has incomplete parameters list
(#585) Phpdocs for function OAuthServer::get_consumer has incomplete parameters list
(#602) Phpdocs for function OAuthServer::get_token has incomplete parameters list
(#617) Phpdocs for function OAuthServer::check_signature has incomplete parameters list
(#646) Phpdocs for function OAuthServer::check_timestamp has incomplete parameters list
(#657) Phpdocs for function OAuthServer::check_nonce has incomplete parameters list
question/type/lti/OAuthBody.php
(#42) Package is not specified for function get_oauth_key_from_headers. It is also not specified in file-level phpdocs
(#53) Package is not specified for function handle_oauth_body_post. It is also not specified in file-level phpdocs
(#) File-level phpdocs block is not found
(#42) Function get_oauth_key_from_headers is not documented
(#53) Function handle_oauth_body_post is not documented
question/type/lti/ajax.php
(#23) Package mod_lti is not valid
question/type/lti/backup/moodle2/backup_qtype_lti_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @license tag
(#187) Inline phpdocs tag {@link get_components_and_fileareas} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
question/type/lti/backup/moodle2/restore_qtype_lti_plugin.class.php
(#60) Function restore_qtype_lti_plugin::qtype_lti_get_ltiid is not documented
(#65) Function restore_qtype_lti_plugin::process_lti is not documented
(#324) Function restore_qtype_lti_plugin::recode_response is not documented
(#17) No one-line description found in phpdocs for file
(#25) No one-line description found in phpdocs for class restore_qtype_lti_plugin
(#17) File-level phpdocs block does not have @license tag
question/type/lti/classes/output/external_registration_return_page.php
(#31) Class external_registration_return_page is not documented
question/type/lti/classes/plugininfo/ltisource.php
(#31) Class ltisource is not documented
question/type/lti/db/log.php
(#20) Package mod_lti is not valid
question/type/lti/db/upgrade.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @license tag
question/type/lti/edit_form.php
(#22) Package is not specified for class qtype_lti_edit_types_form. It is also not specified in file-level phpdocs
(#22) Class qtype_lti_edit_types_form is not documented
(#23) Function qtype_lti_edit_types_form::definition is not documented
question/type/lti/edit_lti_form.php
(#36) Variable qtype_lti_edit_form::$numberofrows is not documented
(#37) Variable qtype_lti_edit_form::$numberofcolumns is not documented
(#17) No one-line description found in phpdocs for file
(#460) Phpdocs for function qtype_lti_edit_form::data_preprocessing has incomplete parameters list
(#494) Phpdocs for function qtype_lti_edit_form::validation has incomplete parameters list
(#17) File-level phpdocs block does not have @license tag
question/type/lti/lang/de/qtype_lti.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @license tag
question/type/lti/lang/en/qtype_lti.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @license tag
question/type/lti/lib.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @license tag
question/type/lti/locallib.php
(#1011) Function qtype_lti_get_tool_table is not documented
(#1481) Function qtype_lti_get_tools_by_url is not documented
(#1487) Function qtype_lti_get_tools_by_domain is not documented
(#1653) Function qtype_lti_get_domain_from_url is not documented
(#1662) Function qtype_lti_get_tool_by_url_match is not documented
(#1668) Function qtype_lti_get_url_thumbprint is not documented
(#1680) Function gtype_lti_get_parsed_url is not documented
(#1712) Function qtype_lti_get_best_tool_by_url is not documented
(#1758) Function qtype_lti_get_shared_secrets_by_key is not documented
(#1810) Function qtype_lti_set_state_for_type is not documented
(#1868) Function qtype_lti_get_user_fields is not documented
(#1881) Function qtype_lti_get_custom_fields is not documented
(#2017) Function qtype_lti_prepare_type_for_save is not documented
(#2055) Function qtype_lti_update_type is not documented
(#2093) Function qtype_lti_add_type is not documented
(#2533) Function qtype_lti_get_type is not documented
(#2539) Function qtype_lti_get_launch_container is not documented
(#2568) Function qtype_lti_request_is_using_ssl is not documented
(#2573) Function qtype_lti_ensure_url_is_https is not documented
(#68) Phpdocs for function qtype_lti_get_launch_data has incomplete parameters list
(#248) Phpdocs for function qtype_lti_launch_tool has incomplete parameters list
(#262) Phpdocs for function qtype_lti_register has incomplete parameters list
(#316) Phpdocs for function qtype_lti_build_sourcedid has incomplete parameters list
(#348) Phpdocs for function qtype_lti_build_request has incomplete parameters list
(#529) Phpdocs for function qtype_lti_build_request_lti2 has incomplete parameters list
(#558) Phpdocs for function qtype_lti_build_standard_request has incomplete parameters list
(#615) Phpdocs for function qtype_lti_build_custom_parameters has incomplete parameters list
(#670) Phpdocs for function qtype_lti_build_content_item_selection_request has incomplete parameters list
(#1229) Phpdocs for function qtype_lti_split_custom_parameters has incomplete parameters list
(#1294) Phpdocs for function qtype_lti_parse_custom_parameter has incomplete parameters list
(#1354) Phpdocs for function qtype_lti_calculate_custom_parameter has incomplete parameters list
(#1513) Phpdocs for function qtype_lti_filter_get_types has incomplete parameters list
(#2442) Phpdocs for function qtype_lti_sign_parameters has incomplete parameters list
(#2470) Phpdocs for function qtype_lti_post_launch_html has incomplete parameters list
question/type/lti/question.php
(#19) Package qtype is not valid
(#34) Function qtype_lti_question::compute_final_grade is not documented
(#55) Function qtype_lti_question::get_response is not documented
(#59) Function qtype_lti_question::get_expected_data is not documented
(#65) Function qtype_lti_question::is_complete_response is not documented
(#71) Function qtype_lti_question::is_same_response is not documented
(#81) Function qtype_lti_question::is_gradable_response is not documented
(#96) Function qtype_lti_question::get_correct_response is not documented
(#100) Function qtype_lti_question::get_validation_error is not documented
(#104) Function qtype_lti_question::check_file_access is not documented
(#118) Function qtype_lti_question::grade_question is not documented
(#141) Function qtype_lti_question::grade_response is not documented
(#86) There is no description in phpdocs for function summarise_response
(#88) Phpdocs for function qtype_lti_question::summarise_response has incomplete parameters list
question/type/lti/questiontype.php
(#20) Package qtype is not valid
(#38) Function qtype_lti::is_manual_graded is not documented
(#42) Function qtype_lti::get_question_options is not documented
(#50) Function qtype_lti::save_question_options is not documented
(#117) Function qtype_lti::initialise_question_instance is not documented
(#144) Function qtype_lti::delete_question is not documented
(#162) Function qtype_lti::get_random_guess_score is not documented
(#166) Function qtype_lti::get_possible_responses is not documented
(#182) Function qtype_lti::move_files is not documented
(#188) Function qtype_lti::delete_files is not documented
(#197) Phpdocs for function qtype_lti::export_to_xml has incomplete parameters list
(#247) Phpdocs for function qtype_lti::import_from_xml has incomplete parameters list
question/type/lti/renderer.php
(#25) Class qtype_lti_renderer is not documented
(#150) Function qtype_lti_renderer::formulation_and_controls is not documented
(#17) No one-line description found in phpdocs for file
(#29) Phpdocs for function qtype_lti_renderer::qtype_lti_generate_usage_record has incomplete parameters list
(#17) File-level phpdocs block does not have @license tag
question/type/lti/service.php
(#31) No one-line description found in phpdocs for class qtype_lti_service_exception_handler
question/type/lti/service/memberships/classes/local/resources/contextmemberships.php
(#20) Package ltiservice_memberships is not valid
(#36) Package ltiservice_memberships is not valid
question/type/lti/service/memberships/classes/local/resources/linkmemberships.php
(#20) Package ltiservice_memberships is not valid
(#38) Package ltiservice_memberships is not valid
question/type/lti/service/memberships/classes/local/service/memberships.php
(#20) Package ltiservice_memberships is not valid
(#33) Package ltiservice_memberships is not valid
question/type/lti/service/memberships/lang/en/ltiservice_memberships.php
(#20) Package ltiservice_memberships is not valid
question/type/lti/service/memberships/version.php
(#20) Package ltiservice_memberships is not valid
question/type/lti/service/profile/classes/local/resources/profile.php
(#20) Package ltiservice_profile is not valid
(#35) Package ltiservice_profile is not valid
question/type/lti/service/profile/classes/local/service/profile.php
(#20) Package ltiservice_profile is not valid
(#33) Package ltiservice_profile is not valid
question/type/lti/service/profile/lang/en/ltiservice_profile.php
(#20) Package ltiservice_profile is not valid
question/type/lti/service/profile/version.php
(#20) Package ltiservice_profile is not valid
question/type/lti/service/toolproxy/classes/local/resources/toolproxy.php
(#20) Package ltiservice_toolproxy is not valid
(#39) Package ltiservice_toolproxy is not valid
question/type/lti/service/toolproxy/classes/local/service/toolproxy.php
(#20) Package ltiservice_toolproxy is not valid
(#33) Package ltiservice_toolproxy is not valid
question/type/lti/service/toolproxy/lang/en/ltiservice_toolproxy.php
(#20) Package ltiservice_toolproxy is not valid
question/type/lti/service/toolproxy/version.php
(#20) Package ltiservice_toolproxy is not valid
question/type/lti/service/toolsettings/classes/local/resources/contextsettings.php
(#20) Package ltiservice_toolsettings is not valid
(#36) Package ltiservice_toolsettings is not valid
question/type/lti/service/toolsettings/classes/local/resources/linksettings.php
(#20) Package ltiservice_toolsettings is not valid
(#37) Package ltiservice_toolsettings is not valid
question/type/lti/service/toolsettings/classes/local/resources/systemsettings.php
(#20) Package ltiservice_toolsettings is not valid
(#35) Package ltiservice_toolsettings is not valid
question/type/lti/service/toolsettings/classes/local/service/toolsettings.php
(#20) Package ltiservice_toolsettings is not valid
(#33) Package ltiservice_toolsettings is not valid
question/type/lti/service/toolsettings/lang/en/ltiservice_toolsettings.php
(#20) Package ltiservice_toolsettings is not valid
question/type/lti/service/toolsettings/version.php
(#20) Package ltiservice_toolsettings is not valid
question/type/lti/servicelib.php
(#36) Function qtype_lti_get_response_xml is not documented
(#58) Function qtype_lti_parse_message_id is not documented
(#69) Function qtype_lti_parse_grade_replace_message is not documented
(#105) Function qtype_lti_parse_grade_read_message is not documented
(#127) Function qtype_lti_parse_grade_delete_message is not documented
(#149) Function qtype_lti_accepts_grades is not documented
(#167) Function qtype_lti_update_grade is not documented
(#198) Function qtype_lti_read_grade is not documented
(#214) Function qtype_lti_delete_grade is not documented
(#227) Function qtype_lti_verify_message is not documented
(#157) Phpdocs for function qtype_lti_set_session_user has incomplete parameters list
question/type/lti/tests/event/unknown_service_api_called_test.php
(#40) Function qtype_lti_event_unknown_service_api_called_test::test_create_event is not documented
(#48) Function qtype_lti_event_unknown_service_api_called_test::test_event_context is not documented
(#56) Function qtype_lti_event_unknown_service_api_called_test::test_trigger_event is not documented
(#68) Function qtype_lti_event_unknown_service_api_called_test::test_get_message_data is not documented
question/type/lti/tests/helper.php
(#34) Function qtype_lti_test_helper::get_test_questions is not documented
question/type/lti/tests/question_test.php
(#20) Package qtype is not valid
question/type/lti/tests/questiontype_test.php
(#20) Package qtype is not valid
(#52) Function qtype_lti_test::get_test_question_data is not documented
(#42) Variable qtype_lti_test::$qtype is not documented
question/type/lti/version.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @license tag

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

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

question/type/lti/templates/cartridge_registration_form.mustache
(#1) HTML Validation error, line 33: Element “div” not allowed as child of element “button” in this context. (Suppressing further errors from this subtree.) ( <div class="btn-loader"> )
(#1) HTML Validation error, line 41: Element “div” not allowed as child of element “button” in this context. (Suppressing further errors from this subtree.) ( <div class="btn-loader"> )
question/type/lti/templates/contentitem.mustache
(#1) ESLint error [no-unused-vars]: 'timeout' is assigned a value but never used. ( ), Line: 5 Column: 13
(#1) ESLint warning [space-before-function-paren]: Unexpected space before function parentheses. ( ), Line: 5 Column: 42
question/type/lti/templates/external_registration.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 5: Element “div” not allowed as child of element “button” in this context. (Suppressing further errors from this subtree.) (> <div class="btn-loader"> )
question/type/lti/templates/external_registration_return.mustache
(#1) Example context missing.
question/type/lti/templates/tool_card.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 27: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img class="tool-card-icon" src="" alt=""></img>)
(#1) HTML Validation error, line 27: Stray end tag “img”. ("" alt=""></img> )
(#1) HTML Validation info, line 29: Empty heading. ( <h4 class="name" contenteditable="true"></h4>)
question/type/lti/templates/tool_configure.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 19: Element “div” not allowed as child of element “button” in this context. (Suppressing further errors from this subtree.) ( <div class="btn-loader"> )
(#1) HTML Validation error, line 63: Element “div” not allowed as child of element “button” in this context. (Suppressing further errors from this subtree.) ( <div class="btn-loader"> )
(#1) HTML Validation error, line 71: Element “div” not allowed as child of element “button” in this context. (Suppressing further errors from this subtree.) ( <div class="btn-loader"> )
(#1) HTML Validation error, line 87: Element “div” not allowed as child of element “button” in this context. (Suppressing further errors from this subtree.) ( <div class="btn-loader"> )
question/type/lti/templates/tool_proxy_card.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 27: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img class="tool-card-icon" src="" alt=""></img>)
(#1) HTML Validation error, line 27: Stray end tag “img”. ("" alt=""></img> )
(#1) HTML Validation info, line 29: Empty heading. ( <h4 class="name"></h4>)
question/type/lti/templates/tool_proxy_registration_form.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 12: Bad value “” for attribute “action” on element “form”: Must be non-empty. (rame> <form action="" name="ltiLaunchForm" id="ltiLaunchForm" method="post" encType="application/x-www-form-urlencoded" target="registration-page-iframe"> )
(#1) ESLint error [no-unused-vars]: 'timeout' is assigned a value but never used. ( ), Line: 5 Column: 13
(#1) ESLint warning [space-before-function-paren]: Unexpected space before function parentheses. ( ), Line: 5 Column: 42
question/type/lti/templates/tool_type_capabilities_agree.mustache
(#1) Example context missing.

Gherkin .feature problems

(1 errors, 0 warnings)

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

question/type/lti/tests/behat/addtool.feature
(#2) Feature name is already used in: mod/lti/tests/behat/addtool.feature