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

(146 errors, 183 warnings)

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

enrol/mpcheckoutpro/classes/privacy/provider.php
(#2) Moodle boilerplate not found at first line
(#12) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#13) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#16) Line 14 of the opening comment must start "// along with Moodle. If not, see <https://www.gnu.org/licenses/>.".
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#62) Opening brace should be on the same line as the declaration
(#77) There should be a comma after the last array item in a multi-line array.
(#97) There should be a comma after the last array item in a multi-line array.
(#113) Opening brace should be on the same line as the declaration
(#126) There should be a comma after the last array item in a multi-line array.
(#141) Opening brace should be on the same line as the declaration
(#156) There should be a comma after the last array item in a multi-line array.
(#169) Opening brace should be on the same line as the declaration
(#192) There should be a comma after the last array item in a multi-line array.
(#210) There should be a comma after the last array item in a multi-line array.
(#213) There should be a comma after the last array item in a multi-line array.
(#232) There should be a comma after the last array item in a multi-line array.
(#249) There should be a comma after the last array item in a multi-line array.
(#252) There should be a comma after the last array item in a multi-line array.
(#265) Opening brace should be on the same line as the declaration
(#274) Short array syntax must be used to define arrays
(#275) There should be a comma after the last array item in a multi-line array.
(#287) Opening brace should be on the same line as the declaration
(#308) There should be a comma after the last array item in a multi-line array.
(#316) Missing docblock for function delete_data_for_users
(#317) Opening brace should be on the same line as the declaration
enrol/mpcheckoutpro/classes/task/process_expirations.php
(#2) Moodle boilerplate not found at first line
(#28) Missing docblock for class process_expirations
enrol/mpcheckoutpro/db/access.php
(#2) Moodle boilerplate not found at first line
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) There should be a comma after the last array item in a multi-line array.
(#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) Short array syntax must be used to define arrays
(#57) There should be a comma after the last array item in a multi-line array.
(#58) There should be a comma after the last array item in a multi-line array.
(#60) Whitespace found at end of line
(#61) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
enrol/mpcheckoutpro/db/install.php
(#2) Moodle boilerplate not found at first line
(#31) Expected 1 space before opening brace; found 0
(#31) File must end with a newline character
(#31) Closing brace must be on a line by itself
enrol/mpcheckoutpro/db/messages.php
(#2) Moodle boilerplate not found at first line
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
enrol/mpcheckoutpro/db/tasks.php
(#2) Moodle boilerplate not found at first line
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#38) There should be a comma after the last array item in a multi-line array.
enrol/mpcheckoutpro/db/upgrade.php
(#2) Moodle boilerplate not found at first line
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
enrol/mpcheckoutpro/edit.php
(#2) Moodle boilerplate not found at first line
(#34) 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.
(#48) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) 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
(#86) Short array syntax must be used to define arrays
(#87) There should be a comma after the last array item in a multi-line array.
(#98) Short array syntax must be used to define arrays
(#101) There should be a comma after the last array item in a multi-line array.
(#107) Usage of ELSEIF not allowed; use ELSE IF instead
(#126) Short array syntax must be used to define arrays
enrol/mpcheckoutpro/edit_form.php
(#2) Moodle boilerplate not found at first line
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Short array syntax must be used to define arrays
(#58) There should be a comma after the last array item in a multi-line array.
(#67) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#78) 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.
(#101) Short array syntax must be used to define arrays
(#103) There should be a comma after the last array item in a multi-line array.
(#113) Short array syntax must be used to define arrays
(#114) There should be a comma after the last array item in a multi-line array.
(#124) Short array syntax must be used to define arrays
(#125) There should be a comma after the last array item in a multi-line array.
(#166) Logical operator "and" is prohibited; use "&&" instead
enrol/mpcheckoutpro/enrolment_form.php
(#2) Moodle boilerplate not found at first line
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#109) There should be a comma after the last array item in a multi-line array.
(#111) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#115) There should be a comma after the last array item in a multi-line array.
(#126) Missing docblock for file enrolment_form.php
(#127) Missing docblock for file enrolment_form.php
(#128) Missing docblock for file enrolment_form.php
(#130) Missing docblock for file enrolment_form.php
(#139) Missing docblock for file enrolment_form.php
(#140) Missing docblock for file enrolment_form.php
(#145) Missing docblock for file enrolment_form.php
enrol/mpcheckoutpro/externallib.php
(#2) Moodle boilerplate not found at first line
(#30) Missing docblock for class enrol_mpcheckoutpro_external
(#38) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#47) There should be a comma after the last array item in a multi-line array.
(#68) Short array syntax must be used to define arrays
(#69) There should be a comma after the last array item in a multi-line array.
(#85) Short array syntax must be used to define arrays
(#87) There should be a comma after the last array item in a multi-line array.
(#95) Short array syntax must be used to define arrays
(#96) There should be a comma after the last array item in a multi-line array.
enrol/mpcheckoutpro/failure.php
(#2) Moodle boilerplate not found at first line
(#42) Whitespace found at end of line
(#48) Whitespace found at end of line
(#50) Whitespace found at end of line
(#51) Whitespace found at end of line
enrol/mpcheckoutpro/lang/en/enrol_mpcheckoutpro.php
(#2) Moodle boilerplate not found at first line
(#28) The string key "owner" is not in the correct order, it should be before "pluginname_desc"
(#29) The string key "descriptionower" is not in the correct order, it should be before "owner"
(#33) The string key "accesstoken" is not in the correct order, it should be before "publickey"
(#37) The string key "accountid" is not in the correct order, it should be before "merchantid"
(#40) The string key "paycourse" is not in the correct order, it should be before "taxerror"
(#41) The string key "merchantapi" is not in the correct order, it should be before "paycourse"
(#45) The string key "mailadmins" is not in the correct order, it should be before "urlprod"
(#48) The string key "expiredaction" is not in the correct order, it should be before "mailteachers"
(#50) The string key "cost" is not in the correct order, it should be before "expiredaction_help"
(#54) The string key "assignrole" is not in the correct order, it should be before "currency"
(#69) The string key "mpcheckoutpro:receivemessages" is not in the correct order, it should be before "mpcheckoutpro:unenrolself"
(#73) The string key "errorinsert" is not in the correct order, it should be before "unenrolselfconfirm"
(#76) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:courseid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:preference_id"
(#78) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:instanceid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:userid"
(#79) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:amount" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:instanceid"
(#84) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:payment_id" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:payment_status_detail"
(#85) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:auth_json" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:payment_id"
(#87) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:preference_id" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:timeupdated"
(#88) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:courseid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:preference_id"
(#90) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:instanceid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:userid"
(#91) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:amount" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:instanceid"
(#96) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:payment_id" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:payment_status_detail"
(#97) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:auth_json" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:payment_id"
(#101) The string key "paymentconfirm" is not in the correct order, it should be before "verifypayment"
(#104) The string key "messageprovider:mercadopago_enrolment" is not in the correct order, it should be before "paymentsorry"
(#106) The string key "processexpirationstask" is not in the correct order, it should be before "syncenrolmentstask"
(#108) The string key "sdkdescription" is not in the correct order, it should be before "sdkerr"
(#109) The string key "sdk" is not in the correct order, it should be before "sdkdescription"
(#110) The string key "paymentthanks" is not in the correct order, it should be before "sdk"
(#111) The string key "ipn" is not in the correct order, it should be before "paymentthanks"
(#113) The string key "messageprovider:mpcheckoutpro_enrolment" is not in the correct order, it should be before "mplangerr"
(#115) The string key "notifdetailerror" is not in the correct order, it should be before "notiferr"
(#117) The string key "errnoparameters" is not in the correct order, it should be before "transactions"
(#118) Unexpected string end, it should be a line feed after a semicolon
(#118) File must end with a newline character
enrol/mpcheckoutpro/lang/es/enrol_mpcheckoutpro.php
(#2) Moodle boilerplate not found at first line
(#28) The string key "owner" is not in the correct order, it should be before "pluginname_desc"
(#29) The string key "descriptionower" is not in the correct order, it should be before "owner"
(#33) The string key "pkey" is not in the correct order, it should be before "taxerror"
(#35) The string key "accesstoken" is not in the correct order, it should be before "publickey"
(#39) The string key "merchantsalt" is not in the correct order, it should be before "paycourse"
(#40) The string key "mailadmins" is not in the correct order, it should be before "merchantsalt"
(#43) The string key "cost" is not in the correct order, it should be before "mailteachers"
(#47) The string key "assignrole" is not in the correct order, it should be before "currency"
(#64) The string key "mpcheckoutpro:receivemessages" is not in the correct order, it should be before "mpcheckoutpro:unenrolself"
(#67) The string key "status" is not in the correct order, it should be before "unenrolselfconfirm"
(#68) The string key "errorinsert" is not in the correct order, it should be before "status"
(#70) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:courseid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:preference_id"
(#72) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:instanceid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:userid"
(#73) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:amount" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:instanceid"
(#78) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:payment_id" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:payment_status_detail"
(#79) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:auth_json" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:payment_id"
(#81) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:timeupdated"
(#83) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:courseid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:preference_id"
(#85) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:instanceid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:userid"
(#86) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:amount" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:instanceid"
(#91) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:payment_id" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:payment_status_detail"
(#92) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:auth_json" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:payment_id"
(#95) The string key "paymentconfirm" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago"
(#97) The string key "paymentreject" is not in the correct order, it should be before "verifypayment"
(#100) The string key "messageprovider:mercadopago_enrolment" is not in the correct order, it should be before "sdkerr"
(#102) The string key "processexpirationstask" is not in the correct order, it should be before "syncenrolmentstask"
(#104) The string key "sdk" is not in the correct order, it should be before "sdkdescription"
(#105) The string key "paymentthanks" is not in the correct order, it should be before "sdk"
(#106) The string key "ipn" is not in the correct order, it should be before "paymentthanks"
(#108) The string key "messageprovider:mpcheckoutpro_enrolment" is not in the correct order, it should be before "mplangerr"
(#110) The string key "notifdetailerror" is not in the correct order, it should be before "notiferr"
(#112) The string key "errnoparameters" is not in the correct order, it should be before "transactions"
(#113) Unexpected string end, it should be a line feed after a semicolon
(#113) File must end with a newline character
enrol/mpcheckoutpro/lang/es_mx/enrol_mpcheckoutpro.php
(#2) Moodle boilerplate not found at first line
(#28) The string key "owner" is not in the correct order, it should be before "pluginname_desc"
(#29) The string key "descriptionower" is not in the correct order, it should be before "owner"
(#33) The string key "pkey" is not in the correct order, it should be before "taxerror"
(#35) The string key "accesstoken" is not in the correct order, it should be before "publickey"
(#39) The string key "merchantsalt" is not in the correct order, it should be before "paycourse"
(#40) The string key "mailadmins" is not in the correct order, it should be before "merchantsalt"
(#43) The string key "cost" is not in the correct order, it should be before "mailteachers"
(#47) The string key "assignrole" is not in the correct order, it should be before "currency"
(#64) The string key "mpcheckoutpro:receivemessages" is not in the correct order, it should be before "mpcheckoutpro:unenrolself"
(#67) The string key "status" is not in the correct order, it should be before "unenrolselfconfirm"
(#68) The string key "errorinsert" is not in the correct order, it should be before "status"
(#70) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:courseid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:preference_id"
(#72) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:instanceid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:userid"
(#73) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:amount" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:instanceid"
(#78) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:payment_id" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:payment_status_detail"
(#79) The string key "privacy:metadata:enrol_mpcheckoutpro:mercadopago:auth_json" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:payment_id"
(#81) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago:timeupdated"
(#83) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:courseid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:preference_id"
(#85) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:instanceid" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:userid"
(#86) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:amount" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:instanceid"
(#91) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:payment_id" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:payment_status_detail"
(#92) The string key "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:auth_json" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:enrol_mpcheckoutpro:payment_id"
(#95) The string key "paymentconfirm" is not in the correct order, it should be before "privacy:metadata:enrol_mpcheckoutpro:mercadopago"
(#97) The string key "paymentreject" is not in the correct order, it should be before "verifypayment"
(#100) The string key "messageprovider:mercadopago_enrolment" is not in the correct order, it should be before "sdkerr"
(#102) The string key "processexpirationstask" is not in the correct order, it should be before "syncenrolmentstask"
(#104) The string key "sdk" is not in the correct order, it should be before "sdkdescription"
(#105) The string key "paymentthanks" is not in the correct order, it should be before "sdk"
(#106) The string key "ipn" is not in the correct order, it should be before "paymentthanks"
(#108) The string key "messageprovider:mpcheckoutpro_enrolment" is not in the correct order, it should be before "mplangerr"
(#110) The string key "notifdetailerror" is not in the correct order, it should be before "notiferr"
(#112) The string key "errnoparameters" is not in the correct order, it should be before "transactions"
(#113) Unexpected string end, it should be a line feed after a semicolon
(#113) File must end with a newline character
enrol/mpcheckoutpro/lib.php
(#2) Moodle boilerplate not found at first line
(#26) Missing docblock for class enrol_mpcheckoutpro_plugin
(#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.
(#36) Short array syntax must be used to define arrays
(#44) Missing docblock for function sync
(#63) Short array syntax must be used to define arrays
(#64) There should be a comma after the last array item in a multi-line array.
(#131) Short array syntax must be used to define arrays
(#133) There should be a comma after the last array item in a multi-line array.
(#154) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#161) There should be a comma after the last array item in a multi-line array.
(#170) Short array syntax must be used to define arrays
(#171) There should be a comma after the last array item in a multi-line array.
(#189) Logical operator "or" is prohibited; use "||" instead
(#196) Short array syntax must be used to define arrays
(#197) There should be a comma after the last array item in a multi-line array.
(#216) Short array syntax must be used to define arrays
(#218) There should be a comma after the last array item in a multi-line array.
(#235) Short array syntax must be used to define arrays
(#236) There should be a comma after the last array item in a multi-line array.
(#244) Short array syntax must be used to define arrays
(#245) There should be a comma after the last array item in a multi-line array.
(#293) Short array syntax must be used to define arrays
(#294) There should be a comma after the last array item in a multi-line array.
(#305) "include" must be immediately followed by an open parenthesis
(#325) Short array syntax must be used to define arrays
(#330) There should be a comma after the last array item in a multi-line array.
(#333) Logical operator "and" is prohibited; use "&&" instead
(#364) Short array syntax must be used to define arrays
(#375) Short array syntax must be used to define arrays
(#377) There should be a comma after the last array item in a multi-line array.
(#387) Short array syntax must be used to define arrays
(#389) There should be a comma after the last array item in a multi-line array.
enrol/mpcheckoutpro/pending.php
(#2) Moodle boilerplate not found at first line
(#41) Whitespace found at end of line
(#49) Whitespace found at end of line
(#54) Whitespace found at end of line
(#56) Whitespace found at end of line
(#57) Whitespace found at end of line
enrol/mpcheckoutpro/response.php
(#43) Whitespace found at end of line
(#65) Whitespace found at end of line
(#70) Short array syntax must be used to define arrays
(#72) There should be a comma after the last array item in a multi-line array.
(#76) Short array syntax must be used to define arrays
(#77) There should be a comma after the last array item in a multi-line array.
(#94) Whitespace found at end of line
(#99) Short array syntax must be used to define arrays
(#101) There should be a comma after the last array item in a multi-line array.
(#114) Whitespace found at end of line
(#128) Whitespace found at end of line
(#131) Whitespace found at end of line
(#135) Short array syntax must be used to define arrays
(#137) There should be a comma after the last array item in a multi-line array.
(#146) Whitespace found at end of line
(#163) Whitespace found at end of line
enrol/mpcheckoutpro/settings.php
(#2) Moodle boilerplate not found at first line
(#80) Short array syntax must be used to define arrays
(#83) Whitespace found at end of line
(#86) There should be a comma after the last array item in a multi-line array.
(#107) Short array syntax must be used to define arrays
(#109) There should be a comma after the last array item in a multi-line array.
enrol/mpcheckoutpro/unenrolself.php
(#32) 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.
(#42) Short array syntax must be used to define arrays
(#43) There should be a comma after the last array item in a multi-line array.
(#64) Short array syntax must be used to define arrays
(#65) There should be a comma after the last array item in a multi-line array.
(#73) Short array syntax must be used to define arrays
(#74) There should be a comma after the last array item in a multi-line array.
(#79) Logical operator "and" is prohibited; use "&&" instead
(#88) Short array syntax must be used to define arrays
(#90) There should be a comma after the last array item in a multi-line array.
(#95) Short array syntax must be used to define arrays
(#96) There should be a comma after the last array item in a multi-line array.
enrol/mpcheckoutpro/update.php
(#38) Whitespace found at end of line
(#45) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
(#58) Short array syntax must be used to define arrays
(#59) There should be a comma after the last array item in a multi-line array.
(#67) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#80) Short array syntax must be used to define arrays
(#83) There should be a comma after the last array item in a multi-line array.
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Short array syntax must be used to define arrays
(#113) There should be a comma after the last array item in a multi-line array.
(#121) Short array syntax must be used to define arrays
(#122) There should be a comma after the last array item in a multi-line array.
(#139) Short array syntax must be used to define arrays
(#140) There should be a comma after the last array item in a multi-line array.
(#148) Short array syntax must be used to define arrays
(#149) There should be a comma after the last array item in a multi-line array.
enrol/mpcheckoutpro/version.php
(#2) Moodle boilerplate not found at first line
(#36) There should be a comma after the last array item in a multi-line array.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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