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

(0 errors, 109 warnings)

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

enrol/cart/lang/en/enrol_cart.php
(#31) The string key "privacy:metadata:enrol_cart" is not in the correct order, it should be before "privacy:metadata:reason"
(#33) The string key "privacy:metadata:enrol_cart:status" is not in the correct order, it should be before "privacy:metadata:enrol_cart:user_id"
(#34) The string key "privacy:metadata:enrol_cart:currency" is not in the correct order, it should be before "privacy:metadata:enrol_cart:status"
(#36) The string key "privacy:metadata:enrol_cart:payable" is not in the correct order, it should be before "privacy:metadata:enrol_cart:price"
(#37) The string key "privacy:metadata:enrol_cart:coupon_id" is not in the correct order, it should be before "privacy:metadata:enrol_cart:payable"
(#38) The string key "privacy:metadata:enrol_cart:coupon_code" is not in the correct order, it should be before "privacy:metadata:enrol_cart:coupon_id"
(#39) The string key "privacy:metadata:enrol_cart:checkout_at" is not in the correct order, it should be before "privacy:metadata:enrol_cart:coupon_code"
(#45) The string key "privacy:metadata:enrol_cart_items:payable" is not in the correct order, it should be before "privacy:metadata:enrol_cart_items:price"
(#47) The string key "cart:config" is not in the correct order, it should be before "privacy:metadata:enrol_cart_items:payable"
(#56) The string key "add_to_cart" is not in the correct order, it should be before "event_cart_deleted"
(#59) The string key "payable" is not in the correct order, it should be before "price"
(#61) The string key "free" is not in the correct order, it should be before "total"
(#62) The string key "checkout" is not in the correct order, it should be before "free"
(#65) The string key "status_checkout" is not in the correct order, it should be before "status_current"
(#66) The string key "status_canceled" is not in the correct order, it should be before "status_checkout"
(#69) The string key "cart_status" is not in the correct order, it should be before "unknown"
(#72) The string key "apply" is not in the correct order, it should be before "coupon_discount"
(#74) The string key "IRR" is not in the correct order, it should be before "total_order_amount"
(#77) The string key "pay" is not in the correct order, it should be before "payment"
(#79) The string key "discount" is not in the correct order, it should be before "proceed_to_checkout"
(#80) The string key "complete_purchase" is not in the correct order, it should be before "discount"
(#81) The string key "cancel_cart" is not in the correct order, it should be before "complete_purchase"
(#82) The string key "cancel" is not in the correct order, it should be before "cancel_cart"
(#86) The string key "my_purchases" is not in the correct order, it should be before "order_id"
(#88) The string key "date" is not in the correct order, it should be before "view"
(#90) The string key "no_discount" is not in the correct order, it should be before "no_items"
(#92) The string key "fixed" is not in the correct order, it should be before "percentage"
(#95) The string key "one_day" is not in the correct order, it should be before "unlimited"
(#96) The string key "a_week" is not in the correct order, it should be before "one_day"
(#99) The string key "six_months" is not in the correct order, it should be before "three_months"
(#101) The string key "choose_gateway" is not in the correct order, it should be before "user"
(#107) The string key "auto_select_payment_gateway" is not in the correct order, it should be before "payment_gateways_desc"
(#119) The string key "convert_irr_to_irt" is not in the correct order, it should be before "verify_payment_on_delivery_desc"
(#130) The string key "coupon_enable" is not in the correct order, it should be before "payment_completion_time_desc"
(#133) The string key "coupon_class" is not in the correct order, it should be before "coupon_enable_desc"
(#139) The string key "enable_guest_cart" is not in the correct order, it should be before "not_delete_cart_with_payment_record_desc"
(#144) The string key "payment_account_help" is not in the correct order, it should be before "status_desc"
(#145) The string key "cost" is not in the correct order, it should be before "payment_account_help"
(#149) The string key "discount_amount" is not in the correct order, it should be before "discount_type"
(#150) The string key "assign_role" is not in the correct order, it should be before "discount_amount"
(#159) The string key "enrol_end_date" is not in the correct order, it should be before "enrol_start_date_help"
(#167) The string key "error_enrol_end_date" is not in the correct order, it should be before "error_no_payment_gateway_available"
(#168) The string key "error_cost" is not in the correct order, it should be before "error_enrol_end_date"
(#172) The string key "error_invalid_cart" is not in the correct order, it should be before "error_status_no_payment_gateways"
(#173) The string key "error_disabled" is not in the correct order, it should be before "error_invalid_cart"
(#174) The string key "error_coupon_disabled" is not in the correct order, it should be before "error_disabled"
(#175) The string key "error_coupon_apply_failed" is not in the correct order, it should be before "error_coupon_disabled"
(#178) The string key "error_discount_amount_is_invalid" is not in the correct order, it should be before "error_discount_type_is_invalid"
(#179) The string key "error_discount_amount_is_higher" is not in the correct order, it should be before "error_discount_amount_is_invalid"
(#184) The string key "error_coupon_class_not_found" is not in the correct order, it should be before "error_gateway_is_invalid"
(#188) The string key "msg_delivery_filed" is not in the correct order, it should be before "msg_delivery_successful"
(#190) The string key "msg_already_enrolled" is not in the correct order, it should be before "msg_instance_deleted"
(#192) The string key "msg_cancel_successful" is not in the correct order, it should be before "msg_cart_changed"
(#193) The string key "msg_cancel_filed" is not in the correct order, it should be before "msg_cancel_successful"
enrol/cart/lang/fa/enrol_cart.php
(#31) The string key "privacy:metadata:enrol_cart" is not in the correct order, it should be before "privacy:metadata:reason"
(#33) The string key "privacy:metadata:enrol_cart:status" is not in the correct order, it should be before "privacy:metadata:enrol_cart:user_id"
(#34) The string key "privacy:metadata:enrol_cart:currency" is not in the correct order, it should be before "privacy:metadata:enrol_cart:status"
(#36) The string key "privacy:metadata:enrol_cart:payable" is not in the correct order, it should be before "privacy:metadata:enrol_cart:price"
(#37) The string key "privacy:metadata:enrol_cart:coupon_id" is not in the correct order, it should be before "privacy:metadata:enrol_cart:payable"
(#38) The string key "privacy:metadata:enrol_cart:coupon_code" is not in the correct order, it should be before "privacy:metadata:enrol_cart:coupon_id"
(#39) The string key "privacy:metadata:enrol_cart:checkout_at" is not in the correct order, it should be before "privacy:metadata:enrol_cart:coupon_code"
(#45) The string key "privacy:metadata:enrol_cart_items:payable" is not in the correct order, it should be before "privacy:metadata:enrol_cart_items:price"
(#47) The string key "cart:config" is not in the correct order, it should be before "privacy:metadata:enrol_cart_items:payable"
(#56) The string key "add_to_cart" is not in the correct order, it should be before "event_cart_deleted"
(#59) The string key "payable" is not in the correct order, it should be before "price"
(#61) The string key "free" is not in the correct order, it should be before "total"
(#62) The string key "checkout" is not in the correct order, it should be before "free"
(#65) The string key "status_checkout" is not in the correct order, it should be before "status_current"
(#66) The string key "status_canceled" is not in the correct order, it should be before "status_checkout"
(#69) The string key "cart_status" is not in the correct order, it should be before "unknown"
(#72) The string key "apply" is not in the correct order, it should be before "coupon_discount"
(#74) The string key "IRR" is not in the correct order, it should be before "total_order_amount"
(#77) The string key "pay" is not in the correct order, it should be before "payment"
(#79) The string key "discount" is not in the correct order, it should be before "proceed_to_checkout"
(#80) The string key "complete_purchase" is not in the correct order, it should be before "discount"
(#81) The string key "cancel_cart" is not in the correct order, it should be before "complete_purchase"
(#82) The string key "cancel" is not in the correct order, it should be before "cancel_cart"
(#86) The string key "my_purchases" is not in the correct order, it should be before "order_id"
(#88) The string key "date" is not in the correct order, it should be before "view"
(#90) The string key "no_discount" is not in the correct order, it should be before "no_items"
(#92) The string key "fixed" is not in the correct order, it should be before "percentage"
(#95) The string key "one_day" is not in the correct order, it should be before "unlimited"
(#96) The string key "a_week" is not in the correct order, it should be before "one_day"
(#99) The string key "six_months" is not in the correct order, it should be before "three_months"
(#102) The string key "payment_account" is not in the correct order, it should be before "user"
(#106) The string key "auto_select_payment_gateway" is not in the correct order, it should be before "payment_gateways_desc"
(#118) The string key "convert_irr_to_irt" is not in the correct order, it should be before "verify_payment_on_delivery_desc"
(#129) The string key "choose_gateway" is not in the correct order, it should be before "payment_completion_time_desc"
(#133) The string key "coupon_class" is not in the correct order, it should be before "coupon_enable_desc"
(#139) The string key "enable_guest_cart" is not in the correct order, it should be before "not_delete_cart_with_payment_record_desc"
(#144) The string key "payment_account_help" is not in the correct order, it should be before "status_desc"
(#145) The string key "cost" is not in the correct order, it should be before "payment_account_help"
(#149) The string key "discount_amount" is not in the correct order, it should be before "discount_type"
(#150) The string key "assign_role" is not in the correct order, it should be before "discount_amount"
(#158) The string key "enrol_end_date" is not in the correct order, it should be before "enrol_start_date_help"
(#166) The string key "error_enrol_end_date" is not in the correct order, it should be before "error_no_payment_gateway_available"
(#167) The string key "error_cost" is not in the correct order, it should be before "error_enrol_end_date"
(#171) The string key "error_invalid_cart" is not in the correct order, it should be before "error_status_no_payment_gateways"
(#172) The string key "error_disabled" is not in the correct order, it should be before "error_invalid_cart"
(#173) The string key "error_coupon_disabled" is not in the correct order, it should be before "error_disabled"
(#174) The string key "error_coupon_apply_failed" is not in the correct order, it should be before "error_coupon_disabled"
(#177) The string key "error_discount_amount_is_invalid" is not in the correct order, it should be before "error_discount_type_is_invalid"
(#178) The string key "error_discount_amount_is_higher" is not in the correct order, it should be before "error_discount_amount_is_invalid"
(#182) The string key "error_coupon_class_not_found" is not in the correct order, it should be before "error_gateway_is_invalid"
(#186) The string key "msg_delivery_filed" is not in the correct order, it should be before "msg_delivery_successful"
(#188) The string key "msg_already_enrolled" is not in the correct order, it should be before "msg_instance_deleted"
(#190) The string key "msg_cancel_successful" is not in the correct order, it should be before "msg_cart_changed"
(#191) The string key "msg_cancel_filed" is not in the correct order, it should be before "msg_cancel_successful"
enrol/cart/lib.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.

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

(4 errors, 0 warnings)

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

enrol/cart/amd/build/instance.min.js
Uncommitted change detected.
enrol/cart/amd/build/instance.min.js.map
Uncommitted change detected.
enrol/cart/amd/build/payment.min.js
Uncommitted change detected.
enrol/cart/amd/build/payment.min.js.map
Uncommitted change detected.

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]