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

(484 errors, 714 warnings)

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

question/type/lti/OAuth.php
(#1) Missing docblock for file 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.".
(#8) Line 7 of the opening comment must start "//".
(#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.".
(#13) Line 12 of the opening comment must start "//".
(#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 <https://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.
(#65) Missing docblock for class OAuthException
(#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
(#69) Missing docblock for class OAuthConsumer
(#70) Missing member variable doc comment
(#71) Missing member variable doc comment
(#73) Missing docblock for function __construct
(#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) Missing docblock for function __toString
(#79) Visibility must be declared on method "__toString"
(#84) Missing docblock for class OAuthToken
(#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
(#86) You must use "/**" style comments for a member variable comment
(#87) Missing member variable doc comment
(#93) Visibility must be declared on method "__construct"
(#102) Visibility must be declared on method "to_string"
(#109) Missing docblock for function __toString
(#109) Visibility must be declared on method "__toString"
(#114) Missing docblock for class OAuthSignatureMethod
(#115) Missing docblock for function check_signature
(#121) Missing docblock for class OAuthSignatureMethod_HMAC_SHA1
(#122) Missing docblock for function get_name
(#122) Visibility must be declared on method "get_name"
(#126) Missing docblock for function build_signature
(#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.
(#133) Short array syntax must be used to define arrays
(#135) There should be a comma after the last array item in a multi-line array.
(#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.
(#148) Missing docblock for class OAuthSignatureMethod_PLAINTEXT
(#149) Missing docblock for function get_name
(#153) Missing docblock for function build_signature
(#154) Short array syntax must be used to define arrays
(#155) There should be a comma after the last array item in a multi-line array.
(#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
(#172) Missing docblock for class OAuthSignatureMethod_RSA_SHA1
(#173) Missing docblock for function get_name
(#177) Missing docblock for function fetch_public_cert
(#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
(#187) Missing docblock for function fetch_private_cert
(#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
(#195) Missing docblock for function build_signature
(#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
(#209) Function openssl_free_key() has been deprecated
(#209) Function openssl_free_key() is deprecated since PHP 8.0
(#214) Missing docblock for function check_signature
(#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
(#229) Function openssl_free_key() has been deprecated
(#229) Function openssl_free_key() is deprecated since PHP 8.0
(#235) Missing docblock for class OAuthRequest
(#236) Missing member variable doc comment
(#237) Missing member variable doc comment
(#237) Member variable "http_method" must not contain underscores.
(#238) Missing member variable doc comment
(#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) You must use "/**" style comments for a member variable comment
(#240) Member variable "base_string" must not contain underscores.
(#241) Missing member variable doc comment
(#242) Missing member variable doc comment
(#242) Member variable "POST_INPUT" must be all lower-case
(#242) Member variable "POST_INPUT" must not contain underscores.
(#244) Missing docblock for function __construct
(#244) Visibility must be declared on method "__construct"
(#244) Variable "http_method" must not contain underscores.
(#244) Variable "http_url" must not contain underscores.
(#245) Logical operator "or" is prohibited; use "||" instead
(#245) Short array syntax must be used to define arrays
(#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) Logical operator "or" is prohibited; use "||" instead
(#260) Variable "http_url" must not contain underscores.
(#264) Variable "http_method" must not contain underscores.
(#264) Logical operator "or" is prohibited; use "||" instead
(#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.
(#297) Logical operator "or" is prohibited; use "||" instead
(#297) Short array syntax must be used to define arrays
(#298) Short array syntax must be used to define arrays
(#302) There should be a comma after the last array item in a multi-line array.
(#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) Missing docblock for function set_parameter
(#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
(#326) Short array syntax must be used to define arrays
(#335) Missing docblock for function get_parameter
(#339) Missing docblock for function get_parameters
(#343) Missing docblock for function unset_parameter
(#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
(#372) Short array syntax must be used to define arrays
(#375) There should be a comma after the last array item in a multi-line array.
(#402) Logical operator "or" is prohibited; use "||" instead
(#414) Variable "post_data" must not contain underscores.
(#416) Variable "post_data" must not contain underscores.
(#417) Variable "post_data" must not contain underscores.
(#434) Short array syntax must be used to define arrays
(#451) Missing docblock for function __toString
(#455) Missing docblock for function sign_request
(#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) Missing docblock for function build_signature
(#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
(#484) Missing docblock for class OAuthServer
(#485) Missing member variable doc comment
(#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) You must use "/**" style comments for a member variable comment
(#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) You must use "/**" style comments for a member variable comment
(#487) Member variable "signature_methods" must not contain underscores.
(#487) Short array syntax must be used to define arrays
(#488) Missing member variable doc comment
(#488) Member variable "data_store" must not contain underscores.
(#490) Missing docblock for function __construct
(#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) Missing docblock for function add_signature_method
(#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.
(#548) Short array syntax must be used to define arrays
(#550) There should be a comma after the last array item in a multi-line array.
(#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.
(#612) Variable "token_field" 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
(#670) Missing docblock for class OAuthDataStore
(#671) Missing docblock for function lookup_consumer
(#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) Missing docblock for function lookup_token
(#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) Missing docblock for function lookup_nonce
(#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) Missing docblock for function new_request_token
(#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) Missing docblock for function new_access_token
(#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
(#696) Missing docblock for class OAuthUtil
(#697) Missing docblock for function urlencode_rfc3986
(#699) Short array syntax must be used to define arrays
(#701) There should be a comma after the last array item in a multi-line array.
(#715) Missing docblock for function urldecode_rfc3986
(#721) Inline comments must end in full-stops, exclamation marks, or question marks
(#722) Missing docblock for function split_header
(#722) Variable "only_allow_oauth_parameters" must not contain underscores.
(#725) Short array syntax must be used to define arrays
(#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
(#744) Missing docblock for function get_headers
(#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
(#749) Short array syntax must be used to define arrays
(#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
(#758) Short array syntax must be used to define arrays
(#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
(#774) Missing docblock for function parse_parameters
(#776) Short array syntax must be used to define arrays
(#781) Variable "parsed_parameters" must not contain underscores.
(#781) Short array syntax must be used to define arrays
(#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.
(#794) Short array syntax must be used to define arrays
(#795) Variable "parsed_parameters" must not contain underscores.
(#795) There should be a comma after the last array item in a multi-line array.
(#799) Variable "parsed_parameters" must not contain underscores.
(#801) Variable "parsed_parameters" must not contain underscores.
(#804) Variable "parsed_parameters" must not contain underscores.
(#807) Missing docblock for function build_http_query
(#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
(#821) Short array syntax must be used to define arrays
(#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/OAuthBody.php
(#1) Missing docblock for file OAuthBody.php
(#42) Missing docblock for function get_oauth_key_from_headers
(#53) Missing docblock for function handle_oauth_body_post
question/type/lti/TrivialStore.php
(#48) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#56) Short array syntax must be used to define arrays
question/type/lti/ajax.php
(#23) Incorrect @package tag for file ajax.php. Expected qtype_lti, found mod_lti.
(#78) Short array syntax must be used to define arrays
(#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
(#109) Short array syntax must be used to define arrays
question/type/lti/backup/moodle2/backup_qtype_lti_plugin.class.php
(#17) Missing @license tag
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#54) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#89) Commas (,) must be followed by white space.
(#89) Line exceeds 132 characters; contains 146 characters
(#110) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#191) Short array syntax must be used to define arrays
question/type/lti/backup/moodle2/restore_qtype_lti_plugin.class.php
(#17) Missing @license tag
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Short array syntax must be used to define arrays
(#60) Missing docblock for function qtype_lti_get_ltiid
(#62) Short array syntax must be used to define arrays
(#65) Missing docblock for function process_lti
(#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"
(#324) Missing docblock for function recode_response
(#331) File must end with a newline character
question/type/lti/classes/event/unknown_service_api_called.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/lti/classes/external.php
(#52) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#201) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#267) Short array syntax must be used to define arrays
(#270) Short array syntax must be used to define arrays
(#271) Short array syntax must be used to define arrays
(#273) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#295) Short array syntax must be used to define arrays
(#309) Short array syntax must be used to define arrays
(#315) Short array syntax must be used to define arrays
(#330) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#347) Short array syntax must be used to define arrays
(#482) Short array syntax must be used to define arrays
(#506) Short array syntax must be used to define arrays
(#518) Short array syntax must be used to define arrays
(#526) Short array syntax must be used to define arrays
(#532) Short array syntax must be used to define arrays
(#552) Short array syntax must be used to define arrays
(#613) Short array syntax must be used to define arrays
(#627) Short array syntax must be used to define arrays
(#659) Short array syntax must be used to define arrays
(#669) Short array syntax must be used to define arrays
(#683) Short array syntax must be used to define arrays
(#704) Short array syntax must be used to define arrays
(#712) Short array syntax must be used to define arrays
(#720) Short array syntax must be used to define arrays
(#733) Short array syntax must be used to define arrays
(#803) Short array syntax must be used to define arrays
(#824) Short array syntax must be used to define arrays
(#840) Short array syntax must be used to define arrays
(#843) Short array syntax must be used to define arrays
(#876) Short array syntax must be used to define arrays
(#899) Short array syntax must be used to define arrays
(#962) Short array syntax must be used to define arrays
(#986) Short array syntax must be used to define arrays
(#999) Short array syntax must be used to define arrays
(#1012) Short array syntax must be used to define arrays
(#1042) Short array syntax must be used to define arrays
(#1056) Short array syntax must be used to define arrays
(#1076) Short array syntax must be used to define arrays
(#1087) Short array syntax must be used to define arrays
(#1098) Short array syntax must be used to define arrays
(#1112) Short array syntax must be used to define arrays
(#1121) Short array syntax must be used to define arrays
(#1132) Short array syntax must be used to define arrays
(#1142) Short array syntax must be used to define arrays
(#1155) Short array syntax must be used to define arrays
(#1175) Short array syntax must be used to define arrays
(#1186) Short array syntax must be used to define arrays
(#1199) Short array syntax must be used to define arrays
(#1203) There should be a comma after the last array item in a multi-line array.
question/type/lti/classes/local/ltiservice/resource_base.php
(#73) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#195) The abstract declaration must precede the visibility declaration
(#257) Short array syntax must be used to define arrays
question/type/lti/classes/local/ltiservice/response.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) Short array syntax must be used to define arrays
(#84) There should be a comma after the last array item in a multi-line array.
question/type/lti/classes/local/ltiservice/service_base.php
(#55) Expected "bool" but found "boolean" for @var tag in member variable comment
question/type/lti/classes/output/external_registration_return_page.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) Missing docblock for class external_registration_return_page
question/type/lti/classes/output/renderer.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/lti/classes/output/tool_configure_page.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Short array syntax must be used to define arrays
(#62) File must end with a newline character
question/type/lti/classes/plugininfo/ltiservice.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/lti/classes/plugininfo/ltisource.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) Missing docblock for class ltisource
(#59) Logical operator "or" is prohibited; use "||" instead
question/type/lti/classes/privacy/provider.php
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/lti/classes/search/activity.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/lti/contentitem.php
(#35) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
question/type/lti/contentitem_return.php
(#38) Short array syntax must be used to define arrays
question/type/lti/db/access.php
(#31) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
question/type/lti/db/log.php
(#20) Incorrect @package tag for file log.php. Expected qtype_lti, found mod_lti.
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#32) There should be a comma after the last array item in a multi-line array.
question/type/lti/db/services.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
question/type/lti/db/subplugins.php
(#27) Short array syntax must be used to define arrays
(#29) There should be a comma after the last array item in a multi-line array.
question/type/lti/db/upgrade.php
(#17) Missing @license tag
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#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
(#22) Missing @copyright tag
(#22) Missing @license tag
(#22) Missing docblock for class qtype_lti_edit_types_form
(#22) Expected 1 space before opening brace; found 0
(#23) Missing docblock for function definition
(#36) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#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
(#193) Short array syntax must be used to define arrays
(#194) Line exceeds 132 characters; contains 164 characters
(#195) Line exceeds 132 characters; contains 158 characters
(#197) Short array syntax must be used to define arrays
(#197) Line exceeds 132 characters; contains 148 characters
question/type/lti/edit_lti_form.php
(#17) Missing @license tag
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#73) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#111) Line exceeds 132 characters; contains 134 characters
(#126) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#164) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#182) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#204) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#257) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#299) Expected 1 space before "=>"; 0 found
(#299) Expected 1 space after "=>"; 0 found
(#299) Expected 1 space before "=>"; 0 found
(#299) Expected 1 space after "=>"; 0 found
(#299) Line exceeds 132 characters; contains 163 characters
(#309) Short array syntax must be used to define arrays
(#315) Short array syntax must be used to define arrays
(#321) Short array syntax must be used to define arrays
(#330) Short array syntax must be used to define arrays
(#335) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays
(#347) Short array syntax must be used to define arrays
(#347) Short array syntax must be used to define arrays
(#348) Short array syntax must be used to define arrays
(#348) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#350) Short array syntax must be used to define arrays
(#350) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#352) Short array syntax must be used to define arrays
(#353) Short array syntax must be used to define arrays
(#353) Short array syntax must be used to define arrays
(#354) Short array syntax must be used to define arrays
(#354) Short array syntax must be used to define arrays
(#361) Short array syntax must be used to define arrays
(#417) Short array syntax must be used to define arrays
(#419) Short array syntax must be used to define arrays
(#421) Short array syntax must be used to define arrays
(#428) Line indented incorrectly; expected 8 spaces, found 24
(#428) Closing brace indented incorrectly; expected 8 spaces, found 24
(#430) Line indented incorrectly; expected 8 spaces, found 24
(#434) Line exceeds 132 characters; contains 142 characters
(#435) Line indented incorrectly; expected 8 spaces, found 24
(#436) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#446) Short array syntax must be used to define arrays
(#456) Line exceeds 132 characters; contains 134 characters
(#461) Short array syntax must be used to define arrays
(#466) Line exceeds 132 characters; contains 136 characters
(#467) Short array syntax must be used to define arrays
question/type/lti/externalregistrationreturn.php
(#59) Short array syntax must be used to define arrays
question/type/lti/lang/de/qtype_lti.php
(#17) Missing @license tag
(#25) The string key "pluginname_help" is not in the correct order, it should be before "pluginnamesummary"
(#29) The string key "generalfeedback" is not in the correct order, it should be before "pluginnameediting"
(#32) The string key "enterstemhere" is not in the correct order, it should be before "stem"
(#34) The string key "maxpoints" is not in the correct order, it should be before "tasktitle"
(#35) The string key "accept" is not in the correct order, it should be before "maxpoints"
(#37) The string key "accept_grades" is not in the correct order, it should be before "accepted"
(#58) The string key "autoaddtype" is not in the correct order, it should be before "automatic"
(#78) The string key "capabilities_help" is not in the correct order, it should be before "capabilitiesrequired"
(#184) The string key "force_ssl" is not in the correct order, it should be before "forced_help"
(#216) The string key "lti:addcoursetool" is not in the correct order, it should be before "lti:addinstance"
(#222) The string key "lti_administration" is not in the correct order, it should be before "ltisettings"
(#249) The string key "manage_tool_proxies" is not in the correct order, it should be before "manage_tools"
(#400) The string key "subplugintype_ltiresource" is not in the correct order, it should be before "successfullyfetchedtoolconfigurationfromcontent"
(#430) The string key "tooltypeadded" is not in the correct order, it should be before "tooltypes"
(#436) The string key "toolurl_help" is not in the correct order, it should be before "toolurlplaceholder"
(#469) The string key "unlockabletoolurl_edit" is not in the correct order, it should be before "unlockabletoolurl_help"
(#474) The string key "userfield_other" is not in the correct order, it should be before "userfield_other_short"
(#476) The string key "userfield_optional_short" is not in the correct order, it should be before "userfield_other_help"
(#477) The string key "userfield_optional" is not in the correct order, it should be before "userfield_optional_short"
(#487) The string key "privacy:metadata:courseid" is not in the correct order, it should be before "viewsubmissions"
(#489) The string key "privacy:metadata:coursefullname" is not in the correct order, it should be before "privacy:metadata:courseidnumber"
(#502) The string key "lti:addgloballypreconfigedtoolinstance" is not in the correct order, it should be before "reviewmode"
(#503) The string key "lti:adddefaultinstance" is not in the correct order, it should be before "lti:addgloballypreconfigedtoolinstance"
question/type/lti/lang/en/qtype_lti.php
(#17) Missing @license tag
(#25) The string key "pluginname_help" is not in the correct order, it should be before "pluginnamesummary"
(#29) The string key "generalfeedback" is not in the correct order, it should be before "pluginnameediting"
(#32) The string key "enterstemhere" is not in the correct order, it should be before "stem"
(#34) The string key "maxpoints" is not in the correct order, it should be before "tasktitle"
(#35) The string key "accept" is not in the correct order, it should be before "maxpoints"
(#37) The string key "accept_grades" is not in the correct order, it should be before "accepted"
(#61) The string key "autoaddtype" is not in the correct order, it should be before "automatic"
(#81) The string key "capabilities_help" is not in the correct order, it should be before "capabilitiesrequired"
(#191) The string key "force_ssl" is not in the correct order, it should be before "forced_help"
(#230) The string key "lti:addcoursetool" is not in the correct order, it should be before "lti:addinstance"
(#236) The string key "lti_administration" is not in the correct order, it should be before "ltisettings"
(#264) The string key "manage_tool_proxies" is not in the correct order, it should be before "manage_tools"
(#433) The string key "subplugintype_ltiresource" is not in the correct order, it should be before "successfullyfetchedtoolconfigurationfromcontent"
(#466) The string key "tooltypeadded" is not in the correct order, it should be before "tooltypes"
(#472) The string key "toolurl_help" is not in the correct order, it should be before "toolurlplaceholder"
(#506) The string key "unlockabletoolurl_edit" is not in the correct order, it should be before "unlockabletoolurl_help"
(#511) The string key "userfield_other" is not in the correct order, it should be before "userfield_other_short"
(#513) The string key "userfield_optional_short" is not in the correct order, it should be before "userfield_other_help"
(#514) The string key "userfield_optional" is not in the correct order, it should be before "userfield_optional_short"
(#524) The string key "privacy:metadata:courseid" is not in the correct order, it should be before "viewsubmissions"
(#526) The string key "privacy:metadata:coursefullname" is not in the correct order, it should be before "privacy:metadata:courseidnumber"
(#539) The string key "lti:addgloballypreconfigedtoolinstance" is not in the correct order, it should be before "reviewmode"
(#540) The string key "lti:adddefaultinstance" is not in the correct order, it should be before "lti:addgloballypreconfigedtoolinstance"
question/type/lti/launch.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file launch.php
(#44) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
question/type/lti/lib.php
(#17) Missing @license tag
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
question/type/lti/locallib.php
(#75) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#253) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#323) Line exceeds 132 characters; contains 133 characters
(#363) Spaces must be used to indent lines; tabs are not allowed
(#363) Tab found within whitespace
(#372) Short array syntax must be used to define arrays
(#416) Spaces must be used to indent lines; tabs are not allowed
(#416) Tab found within whitespace
(#416) This comment is 71% valid code; is this commented out code?
(#416) Line indented incorrectly; expected at least 8 spaces, found 2
(#416) Whitespace found at end of line
(#421) Line indented incorrectly; expected at least 8 spaces, found 2
(#421) Spaces must be used to indent lines; tabs are not allowed
(#421) Whitespace found at end of line
(#440) Logical operator "or" is prohibited; use "||" instead
(#489) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) Whitespace found at end of line
(#507) Inline comments must end in full-stops, exclamation marks, or question marks
(#507) Line indented incorrectly; expected at least 12 spaces, found 8
(#512) Whitespace found at end of line
(#517) Whitespace found at end of line
(#547) Short array syntax must be used to define arrays
(#582) Short array syntax must be used to define arrays
(#587) Logical operator "and" is prohibited; use "&&" instead
(#647) Short array syntax must be used to define arrays
(#719) Short array syntax must be used to define arrays
(#1021) Missing docblock for function qtype_lti_get_tool_table
(#1052) Short array syntax must be used to define arrays
(#1056) Short array syntax must be used to define arrays
(#1060) Short array syntax must be used to define arrays
(#1061) Short array syntax must be used to define arrays
(#1076) Short array syntax must be used to define arrays
(#1077) Short array syntax must be used to define arrays
(#1083) Short array syntax must be used to define arrays
(#1084) Short array syntax must be used to define arrays
(#1150) Short array syntax must be used to define arrays
(#1153) Short array syntax must be used to define arrays
(#1155) Short array syntax must be used to define arrays
(#1156) Short array syntax must be used to define arrays
(#1171) Short array syntax must be used to define arrays
(#1172) Short array syntax must be used to define arrays
(#1176) Short array syntax must be used to define arrays
(#1177) Short array syntax must be used to define arrays
(#1214) Short array syntax must be used to define arrays
(#1256) Short array syntax must be used to define arrays
(#1289) Short array syntax must be used to define arrays
(#1416) Short array syntax must be used to define arrays
(#1441) Short array syntax must be used to define arrays
(#1478) Short array syntax must be used to define arrays
(#1480) Short array syntax must be used to define arrays
(#1491) Missing docblock for function qtype_lti_get_tools_by_url
(#1497) Missing docblock for function qtype_lti_get_tools_by_domain
(#1500) Short array syntax must be used to define arrays
(#1520) Short array syntax must be used to define arrays
(#1531) Short array syntax must be used to define arrays
(#1534) Short array syntax must be used to define arrays
(#1552) Short array syntax must be used to define arrays
(#1598) Short array syntax must be used to define arrays
(#1611) Short array syntax must be used to define arrays
(#1614) Short array syntax must be used to define arrays
(#1635) Short array syntax must be used to define arrays
(#1651) Short array syntax must be used to define arrays
(#1653) Short array syntax must be used to define arrays
(#1656) Short array syntax must be used to define arrays
(#1663) Missing docblock for function qtype_lti_get_domain_from_url
(#1664) Short array syntax must be used to define arrays
(#1672) Missing docblock for function qtype_lti_get_tool_by_url_match
(#1678) Missing docblock for function qtype_lti_get_url_thumbprint
(#1690) Missing docblock for function gtype_lti_get_parsed_url
(#1692) Whitespace found at end of line
(#1722) Missing docblock for function qtype_lti_get_best_tool_by_url
(#1758) Short array syntax must be used to define arrays
(#1768) Missing docblock for function qtype_lti_get_shared_secrets_by_key
(#1793) Short array syntax must be used to define arrays
(#1816) Short array syntax must be used to define arrays
(#1817) Short array syntax must be used to define arrays
(#1820) Missing docblock for function qtype_lti_set_state_for_type
(#1823) Short array syntax must be used to define arrays
(#1834) Short array syntax must be used to define arrays
(#1851) Short array syntax must be used to define arrays
(#1878) Missing docblock for function qtype_lti_get_user_fields
(#1891) Missing docblock for function qtype_lti_get_custom_fields
(#1914) Short array syntax must be used to define arrays
(#1999) Whitespace found at end of line
(#2027) Missing docblock for function qtype_lti_prepare_type_for_save
(#2065) Missing docblock for function qtype_lti_update_type
(#2094) Short array syntax must be used to define arrays
(#2103) Missing docblock for function qtype_lti_add_type
(#2147) Short array syntax must be used to define arrays
(#2171) Short array syntax must be used to define arrays
(#2190) Short array syntax must be used to define arrays
(#2208) Short array syntax must be used to define arrays
(#2221) Short array syntax must be used to define arrays
(#2349) Short array syntax must be used to define arrays
(#2350) Short array syntax must be used to define arrays
(#2354) Short array syntax must be used to define arrays
(#2381) Short array syntax must be used to define arrays
(#2408) Short array syntax must be used to define arrays
(#2410) Short array syntax must be used to define arrays
(#2434) Short array syntax must be used to define arrays
(#2436) Short array syntax must be used to define arrays
(#2543) Missing docblock for function qtype_lti_get_type
(#2546) Short array syntax must be used to define arrays
(#2549) Missing docblock for function qtype_lti_get_launch_container
(#2578) Missing docblock for function qtype_lti_request_is_using_ssl
(#2583) Missing docblock for function qtype_lti_ensure_url_is_https
(#2631) Logical operator "or" is prohibited; use "||" instead
(#2709) Short array syntax must be used to define arrays
(#2719) Short array syntax must be used to define arrays
(#2735) Short array syntax must be used to define arrays
(#2762) Short array syntax must be used to define arrays
(#2820) Short array syntax must be used to define arrays
(#2883) Short array syntax must be used to define arrays
(#2896) Short array syntax must be used to define arrays
(#2911) Short array syntax must be used to define arrays
(#2926) Short array syntax must be used to define arrays
(#2945) Short array syntax must be used to define arrays
(#2983) Short array syntax must be used to define arrays
(#2996) Short array syntax must be used to define arrays
(#3036) Short array syntax must be used to define arrays
(#3057) Short array syntax must be used to define arrays
(#3072) Short array syntax must be used to define arrays
(#3074) Short array syntax must be used to define arrays
(#3075) Short array syntax must be used to define arrays
(#3076) Short array syntax must be used to define arrays
(#3124) Short array syntax must be used to define arrays
(#3146) Short array syntax must be used to define arrays
(#3149) Short array syntax must be used to define arrays
(#3183) Short array syntax must be used to define arrays
(#3185) Short array syntax must be used to define arrays
(#3220) Short array syntax must be used to define arrays
(#3229) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3229) This comment is 67% valid code; is this commented out code?
(#3229) Line indented incorrectly; expected at least 4 spaces, found 3
(#3241) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3241) Inline comments must end in full-stops, exclamation marks, or question marks
(#3241) This comment is 80% valid code; is this commented out code?
(#3241) Line indented incorrectly; expected at least 4 spaces, found 3
(#3251) Short array syntax must be used to define arrays
question/type/lti/question.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file question.php. Expected qtype_lti, found qtype.
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#41) Missing member variable doc comment
(#42) Missing member variable doc comment
(#43) Missing member variable doc comment
(#44) Missing member variable doc comment
(#45) Missing member variable doc comment
(#46) Missing member variable doc comment
(#47) Missing member variable doc comment
(#48) Missing member variable doc comment
(#49) Missing member variable doc comment
(#50) Missing member variable doc comment
(#51) Missing member variable doc comment
(#52) Missing member variable doc comment
(#53) Missing member variable doc comment
(#54) Missing member variable doc comment
(#56) Missing docblock for function compute_final_grade
(#77) Missing docblock for function get_response
(#81) Missing docblock for function get_expected_data
(#82) Short array syntax must be used to define arrays
(#87) Missing docblock for function is_complete_response
(#93) Missing docblock for function is_same_response
(#103) Missing docblock for function is_gradable_response
(#118) Missing docblock for function get_correct_response
(#122) Missing docblock for function get_validation_error
(#126) Missing docblock for function check_file_access
(#140) Missing docblock for function grade_question
(#150) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#153) Short array syntax must be used to define arrays
(#154) There should be a comma after the last array item in a multi-line array.
(#156) Whitespace found at end of line
(#164) Missing docblock for function grade_response
(#167) Short array syntax must be used to define arrays
question/type/lti/questiontype.php
(#20) Incorrect @package tag for file questiontype.php. Expected qtype_lti, found qtype.
(#38) Missing docblock for function is_manual_graded
(#42) Missing docblock for function get_question_options
(#45) Short array syntax must be used to define arrays
(#50) Missing docblock for function save_question_options
(#53) Short array syntax must be used to define arrays
(#117) Missing docblock for function initialise_question_instance
(#144) Missing docblock for function delete_question
(#147) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#162) Missing docblock for function get_random_guess_score
(#166) Missing docblock for function get_possible_responses
(#167) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#182) Missing docblock for function move_files
(#188) Missing docblock for function delete_files
(#267) Short array syntax must be used to define arrays
(#272) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#281) Short array syntax must be used to define arrays
(#287) Short array syntax must be used to define arrays
(#289) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#293) Short array syntax must be used to define arrays
(#295) Short array syntax must be used to define arrays
(#298) Short array syntax must be used to define arrays
(#301) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#308) Short array syntax must be used to define arrays
(#309) Short array syntax must be used to define arrays
(#311) Short array syntax must be used to define arrays
(#313) Short array syntax must be used to define arrays
(#314) Short array syntax must be used to define arrays
question/type/lti/register.php
(#35) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
question/type/lti/register_form.php
(#61) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
question/type/lti/registersettings.php
(#58) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
question/type/lti/registration.php
(#32) Short array syntax must be used to define arrays
question/type/lti/registrationreturn.php
(#43) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
question/type/lti/renderer.php
(#17) Missing @license tag
(#25) Missing docblock for class qtype_lti_renderer
(#37) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
(#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
(#47) Short array syntax must be used to define arrays
(#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"
(#79) Short array syntax must be used to define arrays
(#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
(#121) Short array syntax must be used to define arrays
(#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
(#150) Missing docblock for function formulation_and_controls
(#151) global $PAGE cannot be used in renderers. Use $this->page.
(#171) Expected "if (...) {\n"; found "if(...) {\n"
(#179) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#192) Expected "if (...) {\n"; found "if(...) {\n"
(#223) Short array syntax must be used to define arrays
(#243) Short array syntax must be used to define arrays
(#285) Line exceeds 132 characters; contains 151 characters
(#314) Line exceeds 132 characters; contains 143 characters
question/type/lti/request_tool.php
(#32) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
question/type/lti/return.php
(#38) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
question/type/lti/service.php
(#133) Short array syntax must be used to define arrays
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) This comment is 80% valid code; is this commented out code?
(#163) Line indented incorrectly; expected at least 4 spaces, found 0
(#163) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) This comment is 80% valid code; is this commented out code?
(#181) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#239) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#276) Short array syntax must be used to define arrays
question/type/lti/service/memberships/classes/local/resources/contextmemberships.php
(#20) Incorrect @package tag for file contextmemberships.php. Expected qtype_lti, found ltiservice_memberships.
(#28) Import statements must not begin with a leading backslash
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#79) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
question/type/lti/service/memberships/classes/local/resources/linkmemberships.php
(#20) Incorrect @package tag for file linkmemberships.php. Expected qtype_lti, found ltiservice_memberships.
(#28) Import statements must not begin with a leading backslash
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#82) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
question/type/lti/service/memberships/classes/local/service/memberships.php
(#20) Incorrect @package tag for file memberships.php. Expected qtype_lti, found ltiservice_memberships.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#68) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
question/type/lti/service/memberships/db/renamedclasses.php
(#27) Short array syntax must be used to define arrays
question/type/lti/service/memberships/lang/en/ltiservice_memberships.php
(#20) Incorrect @package tag for file ltiservice_memberships.php. Expected qtype_lti, found ltiservice_memberships.
question/type/lti/service/memberships/version.php
(#20) Incorrect @package tag for file version.php. Expected qtype_lti, found ltiservice_memberships.
question/type/lti/service/profile/classes/local/resources/profile.php
(#20) Incorrect @package tag for file profile.php. Expected qtype_lti, found ltiservice_profile.
(#28) Import statements must not begin with a leading backslash
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/lti/service/profile/classes/local/service/profile.php
(#20) Incorrect @package tag for file profile.php. Expected qtype_lti, found ltiservice_profile.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#60) Short array syntax must be used to define arrays
question/type/lti/service/profile/db/renamedclasses.php
(#26) Short array syntax must be used to define arrays
question/type/lti/service/profile/lang/en/ltiservice_profile.php
(#20) Incorrect @package tag for file ltiservice_profile.php. Expected qtype_lti, found ltiservice_profile.
question/type/lti/service/profile/version.php
(#20) Incorrect @package tag for file version.php. Expected qtype_lti, found ltiservice_profile.
question/type/lti/service/toolproxy/classes/local/resources/toolproxy.php
(#20) Incorrect @package tag for file toolproxy.php. Expected qtype_lti, found ltiservice_toolproxy.
(#75) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
question/type/lti/service/toolproxy/classes/local/service/toolproxy.php
(#20) Incorrect @package tag for file toolproxy.php. Expected qtype_lti, found ltiservice_toolproxy.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#59) Short array syntax must be used to define arrays
question/type/lti/service/toolproxy/db/renamedclasses.php
(#25) Short array syntax must be used to define arrays
(#27) File must end with a newline character
question/type/lti/service/toolproxy/lang/en/ltiservice_toolproxy.php
(#20) Incorrect @package tag for file ltiservice_toolproxy.php. Expected qtype_lti, found ltiservice_toolproxy.
question/type/lti/service/toolproxy/version.php
(#20) Incorrect @package tag for file version.php. Expected qtype_lti, found ltiservice_toolproxy.
(#33) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
question/type/lti/service/toolsettings/classes/local/resources/contextsettings.php
(#20) Incorrect @package tag for file contextsettings.php. Expected qtype_lti, found ltiservice_toolsettings.
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/lti/service/toolsettings/classes/local/resources/linksettings.php
(#20) Incorrect @package tag for file linksettings.php. Expected qtype_lti, found ltiservice_toolsettings.
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#87) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
question/type/lti/service/toolsettings/classes/local/resources/systemsettings.php
(#20) Incorrect @package tag for file systemsettings.php. Expected qtype_lti, found ltiservice_toolsettings.
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/lti/service/toolsettings/classes/local/service/toolsettings.php
(#20) Incorrect @package tag for file toolsettings.php. Expected qtype_lti, found ltiservice_toolsettings.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#59) Short array syntax must be used to define arrays
question/type/lti/service/toolsettings/db/renamedclasses.php
(#27) Short array syntax must be used to define arrays
question/type/lti/service/toolsettings/lang/en/ltiservice_toolsettings.php
(#20) Incorrect @package tag for file ltiservice_toolsettings.php. Expected qtype_lti, found ltiservice_toolsettings.
question/type/lti/service/toolsettings/version.php
(#20) Incorrect @package tag for file version.php. Expected qtype_lti, found ltiservice_toolsettings.
(#33) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
question/type/lti/servicelib.php
(#36) Missing docblock for function qtype_lti_get_response_xml
(#58) Missing docblock for function qtype_lti_parse_message_id
(#69) Missing docblock for function qtype_lti_parse_grade_replace_message
(#97) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#105) Missing docblock for function qtype_lti_parse_grade_read_message
(#127) Missing docblock for function qtype_lti_parse_grade_delete_message
(#149) Missing docblock for function qtype_lti_accepts_grades
(#162) Short array syntax must be used to define arrays
(#167) Missing docblock for function qtype_lti_update_grade
(#171) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#191) Short array syntax must be used to define arrays
(#191) Line exceeds 132 characters; contains 146 characters
(#192) Line exceeds 132 characters; contains 152 characters
(#198) Missing docblock for function qtype_lti_read_grade
(#205) Short array syntax must be used to define arrays
(#214) Missing docblock for function qtype_lti_delete_grade
(#217) Short array syntax must be used to define arrays
(#221) Short array syntax must be used to define arrays
(#227) Missing docblock for function qtype_lti_verify_message
(#254) Line exceeds 132 characters; contains 142 characters
question/type/lti/settings.php
(#26) This comment is 50% valid code; is this commented out code?
(#43) Short array syntax must be used to define arrays
question/type/lti/tests/event/unknown_service_api_called_test.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Unit test qtype_lti_event_unknown_service_api_called_test should be declared as final.
(#36) PHPUnit testcase name "qtype_lti_event_unknown_service_api_called_test" does not match file name "unknown_service_api_called_test"
(#36) PHPUnit class "qtype_lti_event_unknown_service_api_called_test" does not have any namespace. It is recommended to add it to the "qtype_lti" namespace, using more levels if needed, in order to match the code being tested
(#40) Test method test_create_event() is missing any coverage information, own or at class level
(#40) Test method test_create_event() is missing a return type
(#48) Test method test_event_context() is missing any coverage information, own or at class level
(#48) Test method test_event_context() is missing a return type
(#56) Test method test_trigger_event() is missing any coverage information, own or at class level
(#56) Test method test_trigger_event() is missing a return type
(#68) Test method test_get_message_data() is missing any coverage information, own or at class level
(#68) Test method test_get_message_data() is missing a return type
(#69) Short array syntax must be used to define arrays
(#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/helper.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing docblock for function get_test_questions
(#35) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#51) There should be a comma after the last array item in a multi-line array.
(#53) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
question/type/lti/tests/question_test.php
(#20) Incorrect @package tag for file question_test.php. Expected qtype_lti, found qtype.
(#38) Unit test qtype_lti_question_test should be declared as final.
(#38) PHPUnit testcase name "qtype_lti_question_test" does not match file name "question_test"
(#38) PHPUnit class "qtype_lti_question_test" does not have any namespace. It is recommended to add it to the "qtype_lti" namespace, using more levels if needed, in order to match the code being tested
(#40) Test method test_get_question_summary() is missing any coverage information, own or at class level
(#40) Test method test_get_question_summary() is missing a return type
question/type/lti/tests/questiontype_test.php
(#20) Incorrect @package tag for file questiontype_test.php. Expected qtype_lti, found qtype.
(#41) Unit test qtype_lti_test should be declared as final.
(#41) PHPUnit testcase name "qtype_lti_test" does not match file name "questiontype_test"
(#41) PHPUnit class "qtype_lti_test" does not have any namespace. It is recommended to add it to the "qtype_lti" namespace, using more levels if needed, in order to match the code being tested
(#42) Missing member variable doc comment
(#52) Missing docblock for function get_test_question_data in testcase
(#58) Test method test_name() is missing any coverage information, own or at class level
(#58) Test method test_name() is missing a return type
(#62) Test method test_can_analyse_responses() is missing any coverage information, own or at class level
(#62) Test method test_can_analyse_responses() is missing a return type
(#66) Test method test_get_random_guess_score() is missing any coverage information, own or at class level
(#66) Test method test_get_random_guess_score() is missing a return type
question/type/lti/tests/service_exception_handler_test.php
(#35) Testcase qtype_lti_service_exception_handler_testcase should be declared as abstract.
(#35) PHPUnit testcase name "qtype_lti_service_exception_handler_testcase" does not match file name "service_exception_handler_test"
(#35) PHPUnit class "qtype_lti_service_exception_handler_testcase" does not have any namespace. It is recommended to add it to the "qtype_lti" namespace, using more levels if needed, in order to match the code being tested
(#39) Test method test_handle() is missing any coverage information, own or at class level
(#39) Test method test_handle() is missing a return type
(#55) Test method test_handle_early_error() is missing any coverage information, own or at class level
(#55) Test method test_handle_early_error() is missing a return type
(#69) Test method test_handle_log() is missing any coverage information, own or at class level
(#69) Test method test_handle_log() is missing a return type
(#84) File must end with a newline character
question/type/lti/tests/servicelib_test.php
(#38) Testcase qtype_lti_servicelib_testcase should be declared as abstract.
(#38) PHPUnit testcase name "qtype_lti_servicelib_testcase" does not match file name "servicelib_test"
(#38) PHPUnit class "qtype_lti_servicelib_testcase" does not have any namespace. It is recommended to add it to the "qtype_lti" namespace, using more levels if needed, in order to match the code being tested
(#46) Test method test_lti_parse_message_id() is missing any coverage information, own or at class level
(#46) Test method test_lti_parse_message_id() is missing a return type
(#108) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#115) File must end with a newline character
question/type/lti/tests/walkthrough_test.php
(#35) Testcase qtype_lti_walkthrough_testcase should be declared as abstract.
(#35) PHPUnit testcase name "qtype_lti_walkthrough_testcase" does not match file name "walkthrough_test"
(#35) PHPUnit class "qtype_lti_walkthrough_testcase" does not have any namespace. It is recommended to add it to the "qtype_lti" namespace, using more levels if needed, in order to match the code being tested
(#37) Test method test_deferred_feedback_plain_text() is missing any coverage information, own or at class level
(#37) Test method test_deferred_feedback_plain_text() is missing a return type
(#49) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
(#70) Short array syntax must be used to define arrays
(#70) There should be a comma after the last array item in a multi-line array.
(#79) Short array syntax must be used to define arrays
(#79) There should be a comma after the last array item in a multi-line array.
question/type/lti/toolconfigure.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
question/type/lti/toolssettings.php
(#54) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
question/type/lti/typessettings.php
(#69) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
question/type/lti/version.php
(#17) Missing @license tag

Javascript coding style problems

(162 errors, 118 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)
(#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-disallowed-list)
(#5) Expected indentation of 4 spaces (indentation)
(#432) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(36 errors, 0 warnings)

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

question/type/lti/OAuth.php
(#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/backup/moodle2/backup_qtype_lti_plugin.class.php
(#187) Inline phpdocs tag {@link get_components_and_fileareas} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
question/type/lti/edit_lti_form.php
(#471) Phpdocs for function qtype_lti_edit_form::data_preprocessing has incomplete parameters list
(#505) Phpdocs for function qtype_lti_edit_form::validation has incomplete parameters list
question/type/lti/locallib.php
(#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
(#539) Phpdocs for function qtype_lti_build_request_lti2 has incomplete parameters list
(#568) Phpdocs for function qtype_lti_build_standard_request has incomplete parameters list
(#625) Phpdocs for function qtype_lti_build_custom_parameters has incomplete parameters list
(#680) Phpdocs for function qtype_lti_build_content_item_selection_request has incomplete parameters list
(#1239) Phpdocs for function qtype_lti_split_custom_parameters has incomplete parameters list
(#1304) Phpdocs for function qtype_lti_parse_custom_parameter has incomplete parameters list
(#1364) Phpdocs for function qtype_lti_calculate_custom_parameter has incomplete parameters list
(#1523) Phpdocs for function qtype_lti_filter_get_types has incomplete parameters list
(#2452) Phpdocs for function qtype_lti_sign_parameters has incomplete parameters list
(#2480) Phpdocs for function qtype_lti_post_launch_html has incomplete parameters list
question/type/lti/question.php
(#110) Phpdocs for function qtype_lti_question::summarise_response has incomplete parameters list
question/type/lti/questiontype.php
(#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
(#29) Phpdocs for function qtype_lti_renderer::qtype_lti_generate_usage_record has incomplete parameters list
question/type/lti/servicelib.php
(#157) Phpdocs for function qtype_lti_set_session_user 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
Task "gherkinlint" 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, 23 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) HTML Validation info, line 14: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="hidden" name="id" value="1" /> )
(#1) HTML Validation info, line 15: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="hidden" name="course" value="1" /> )
(#1) HTML Validation info, line 16: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="hidden" name="title" value="Sample title" /> )
(#1) HTML Validation info, line 17: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="hidden" name="text" value="This is a description" /> )
(#1) ESLint error [no-unused-vars]: 'timeout' is assigned a value but never used. ( var timeout = setTimeout(function () {
(#1) ESLint warning [space-before-function-paren]: Unexpected space before function parentheses. ( var timeout = setTimeout(function () {
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 info, line 28: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (lti+))</a><br/><a hre)
(#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) HTML Validation info, line 13: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="hidden" name="lti_message_type" value="" /> )
(#1) HTML Validation info, line 14: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="hidden" name="lti_version" value="" /> )
(#1) HTML Validation info, line 15: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="hidden" name="reg_key" value="" /> )
(#1) HTML Validation info, line 16: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="hidden" name="reg_password" value="" /> )
(#1) HTML Validation info, line 17: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="hidden" name="tc_profile_url" value="" /> )
(#1) HTML Validation info, line 18: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="hidden" name="launch_presentation_return_url" value="" /> <)
(#1) ESLint error [no-unused-vars]: 'timeout' is assigned a value but never used. ( var timeout = setTimeout(function () {
(#1) ESLint warning [space-before-function-paren]: Unexpected space before function parentheses. ( var timeout = setTimeout(function () {
question/type/lti/templates/tool_type_capabilities_agree.mustache
(#1) Example context missing.

Gherkin .feature problems

(8 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
(#18) Multiple empty lines are not allowed
question/type/lti/tests/behat/backup_and_restore.feature
(#27) Multiple empty lines are not allowed
question/type/lti/tests/behat/add.feature
(#18) Multiple empty lines are not allowed
question/type/lti/tests/behat/edit.feature
(#24) Multiple empty lines are not allowed
question/type/lti/tests/behat/export.feature
(#26) Multiple empty lines are not allowed
question/type/lti/tests/behat/preview.feature
(#26) Multiple empty lines are not allowed
question/type/lti/tests/behat/import.feature
(#18) Multiple empty lines are not allowed