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

(434 errors, 0 warnings)

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

local/shopping_cart/classes/admin_setting_taxcategories.php
(#28) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/checkout_completed.php
(#36) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/item_added.php
(#40) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/item_bought.php
(#40) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/item_canceled.php
(#42) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/item_deleted.php
(#40) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/item_expired.php
(#42) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/item_notbought.php
(#40) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/payment_added.php
(#35) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/payment_confirmed.php
(#36) Opening brace must not be followed by a blank line
local/shopping_cart/classes/event/payment_rebooked.php
(#36) Opening brace must not be followed by a blank line
local/shopping_cart/classes/external/add_item_to_cart.php
(#49) Opening brace must not be followed by a blank line
(#63) Expected 0 spaces before closing parenthesis; newline found
(#121) Expected 0 spaces before closing parenthesis; newline found
local/shopping_cart/classes/external/cancel_purchase.php
(#49) Opening brace must not be followed by a blank line
(#65) Expected 0 spaces before closing parenthesis; newline found
(#80) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#81) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#82) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#83) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#84) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#85) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#85) The closing parenthesis of a multi-line function declaration must be on a new line
(#105) Opening parenthesis of a multi-line function call must be the last content on the line
(#105) Only one argument is allowed per line in a multi-line function call
(#105) Only one argument is allowed per line in a multi-line function call
(#105) Only one argument is allowed per line in a multi-line function call
(#106) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#106) Expected 1 space after comma in argument list; 2 found
(#106) Expected 1 space between the comma and "$params". Found: 2 spaces
(#106) Only one argument is allowed per line in a multi-line function call
(#106) Closing parenthesis of a multi-line function call must be on a line by itself
(#120) Expected 0 spaces before closing parenthesis; newline found
local/shopping_cart/classes/external/confirm_cash_payment.php
(#49) Opening brace must not be followed by a blank line
(#86) Opening parenthesis of a multi-line function call must be the last content on the line
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Only one argument is allowed per line in a multi-line function call
(#87) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
local/shopping_cart/classes/external/credit_paid_back.php
(#50) Opening brace must not be followed by a blank line
(#60) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Only one argument is allowed per line in a multi-line function call
(#60) Only one argument is allowed per line in a multi-line function call
(#61) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
local/shopping_cart/classes/external/delete_all_items_from_cart.php
(#48) Opening brace must not be followed by a blank line
(#59) Expected 0 spaces before closing parenthesis; newline found
local/shopping_cart/classes/external/delete_item_from_cart.php
(#52) Opening brace must not be followed by a blank line
(#66) Expected 0 spaces before closing parenthesis; newline found
(#100) Expected 0 spaces before closing bracket; 1 found
(#111) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#112) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#117) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#118) The closing parenthesis of a multi-line control structure must be on the line after the last expression
local/shopping_cart/classes/external/get_price.php
(#51) Opening brace must not be followed by a blank line
(#64) Expected 0 spaces before closing parenthesis; newline found
(#141) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#141) Closing parenthesis of a multi-line function call must be on a line by itself
(#173) Expected 0 spaces before closing parenthesis; newline found
(#178) Expected 0 spaces before closing parenthesis; newline found
local/shopping_cart/classes/external/get_quota_consumed.php
(#49) Opening brace must not be followed by a blank line
(#64) Expected 0 spaces before closing parenthesis; newline found
(#104) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#104) Closing parenthesis of a multi-line function call must be on a line by itself
(#121) Expected 0 spaces before closing parenthesis; newline found
local/shopping_cart/classes/external/get_shopping_cart_items.php
(#50) Opening brace must not be followed by a blank line
(#106) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#117) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#117) Only one argument is allowed per line in a multi-line function call
(#117) Closing parenthesis of a multi-line function call must be on a line by itself
(#125) Space before opening parenthesis of function call prohibited
(#126) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#127) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#135) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#135) Closing parenthesis of a multi-line function call must be on a line by itself
(#139) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#139) Closing parenthesis of a multi-line function call must be on a line by itself
(#143) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#143) Closing parenthesis of a multi-line function call must be on a line by itself
(#147) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#147) Closing parenthesis of a multi-line function call must be on a line by itself
(#151) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#151) Closing parenthesis of a multi-line function call must be on a line by itself
(#152) Opening parenthesis of a multi-line function call must be the last content on the line
(#153) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#153) Only one argument is allowed per line in a multi-line function call
(#153) Closing parenthesis of a multi-line function call must be on a line by itself
(#158) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#158) Closing parenthesis of a multi-line function call must be on a line by itself
(#162) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#162) Closing parenthesis of a multi-line function call must be on a line by itself
(#166) Opening parenthesis of a multi-line function call must be the last content on the line
(#167) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#167) Only one argument is allowed per line in a multi-line function call
(#167) Closing parenthesis of a multi-line function call must be on a line by itself
local/shopping_cart/classes/external/purchase_notification.php
(#112) Opening parenthesis of a multi-line function call must be the last content on the line
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
local/shopping_cart/classes/external/search_users.php
(#41) Opening brace must not be followed by a blank line
local/shopping_cart/classes/form/daily_sums_date_selector_form.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#42) Opening brace must not be followed by a blank line
local/shopping_cart/classes/form/dynamicvatnrchecker.php
(#40) Opening brace must not be followed by a blank line
(#86) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#104) Blank line found at start of control structure
(#108) Blank line found at start of control structure
(#111) Blank line found at end of control structure
(#118) Long list syntax is not allowed
(#131) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#131) Closing parenthesis of a multi-line function call must be on a line by itself
(#165) Blank line found at end of control structure
(#217) Blank line found at start of control structure
(#219) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#220) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#222) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#223) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#223) Blank line found at start of control structure
(#245) Expected no space between "]" and the comma. Found: 1 space
local/shopping_cart/classes/form/modal_add_discount_to_item.php
(#40) Opening brace must not be followed by a blank line
local/shopping_cart/classes/form/modal_cashier_manual_rebook.php
(#39) Opening brace must not be followed by a blank line
(#52) Opening parenthesis of a multi-line function call must be the last content on the line
(#52) Only one argument is allowed per line in a multi-line function call
local/shopping_cart/classes/form/modal_cashout.php
(#40) Opening brace must not be followed by a blank line
(#49) Opening parenthesis of a multi-line function call must be the last content on the line
(#52) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#52) Closing parenthesis of a multi-line function call must be on a line by itself
(#55) Opening parenthesis of a multi-line function call must be the last content on the line
(#58) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#58) Closing parenthesis of a multi-line function call must be on a line by itself
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
local/shopping_cart/classes/form/modal_cashtransfer.php
(#39) Opening brace must not be followed by a blank line
(#54) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#54) Only one argument is allowed per line in a multi-line function call
(#54) Closing parenthesis of a multi-line function call must be on a line by itself
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#62) Only one argument is allowed per line in a multi-line function call
(#63) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#63) Only one argument is allowed per line in a multi-line function call
(#63) Only one argument is allowed per line in a multi-line function call
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
(#67) Opening parenthesis of a multi-line function call must be the last content on the line
(#67) Only one argument is allowed per line in a multi-line function call
(#68) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#68) Only one argument is allowed per line in a multi-line function call
(#68) Only one argument is allowed per line in a multi-line function call
(#68) Closing parenthesis of a multi-line function call must be on a line by itself
(#71) Opening parenthesis of a multi-line function call must be the last content on the line
(#71) Only one argument is allowed per line in a multi-line function call
(#73) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#73) Closing parenthesis of a multi-line function call must be on a line by itself
(#77) Opening parenthesis of a multi-line function call must be the last content on the line
(#77) Only one argument is allowed per line in a multi-line function call
(#79) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#79) Closing parenthesis of a multi-line function call must be on a line by itself
(#81) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
local/shopping_cart/classes/form/modal_creditsmanager.php
(#43) Opening brace must not be followed by a blank line
(#80) Opening parenthesis of a multi-line function call must be the last content on the line
(#80) Only one argument is allowed per line in a multi-line function call
(#81) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#81) Only one argument is allowed per line in a multi-line function call
(#81) Closing parenthesis of a multi-line function call must be on a line by itself
(#84) Opening parenthesis of a multi-line function call must be the last content on the line
(#84) Only one argument is allowed per line in a multi-line function call
(#85) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#85) Closing parenthesis of a multi-line function call must be on a line by itself
(#90) Opening parenthesis of a multi-line function call must be the last content on the line
(#90) Only one argument is allowed per line in a multi-line function call
(#91) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#91) Closing parenthesis of a multi-line function call must be on a line by itself
(#103) Opening parenthesis of a multi-line function call must be the last content on the line
(#103) Only one argument is allowed per line in a multi-line function call
(#104) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#104) Only one argument is allowed per line in a multi-line function call
(#104) Closing parenthesis of a multi-line function call must be on a line by itself
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#109) Only one argument is allowed per line in a multi-line function call
(#110) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#110) Closing parenthesis of a multi-line function call must be on a line by itself
(#113) Function closing brace must go on the next line following the body; found 1 blank lines before brace
local/shopping_cart/classes/form/modal_modify_time_of_deletion_task.php
(#40) Opening brace must not be followed by a blank line
local/shopping_cart/classes/form/modal_new_address.php
(#43) Opening brace must not be followed by a blank line
(#69) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#70) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#71) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#72) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#73) Multi-line function call not indented correctly; expected 12 spaces but found 16
local/shopping_cart/classes/interfaces/interface_transaction_complete.php
(#42) Opening brace must not be followed by a blank line
(#66) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#66) Multi-line function declarations must define one parameter per line
(#66) Multi-line function declarations must define one parameter per line
(#66) Multi-line function declarations must define one parameter per line
(#66) Multi-line function declarations must define one parameter per line
(#67) Multi-line function declaration not indented correctly; expected 8 spaces but found 5
(#67) Multi-line function declarations must define one parameter per line
(#67) Multi-line function declarations must define one parameter per line
(#67) Multi-line function declarations must define one parameter per line
(#67) The closing parenthesis of a multi-line function declaration must be on a new line
local/shopping_cart/classes/interfaces/invoice.php
(#36) Opening brace must not be followed by a blank line
local/shopping_cart/classes/invoice/erpnext_invoice.php
(#168) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#169) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#170) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#171) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#172) Multi-line function call not indented correctly; expected 20 spaces but found 24
local/shopping_cart/classes/invoice/invoicenumber.php
(#37) Opening brace must not be followed by a blank line
local/shopping_cart/classes/local/callback/service_provider.php
(#37) Opening brace must not be followed by a blank line
(#117) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#117) Multi-line function declarations must define one parameter per line
(#118) The closing parenthesis of a multi-line function declaration must be on a new line
local/shopping_cart/classes/local/pricemodifier/modifier_base.php
(#35) Opening brace must not be followed by a blank line
local/shopping_cart/classes/local/pricemodifier/modifier_info.php
(#37) Opening brace must not be followed by a blank line
local/shopping_cart/classes/local/pricemodifier/modifiers/checkout.php
(#41) Expected at least 1 space before "."; 0 found
(#41) Expected at least 1 space after "."; 0 found
(#50) Opening brace must not be followed by a blank line
local/shopping_cart/classes/local/pricemodifier/modifiers/credits.php
(#44) Opening brace must not be followed by a blank line
(#69) Blank line found at start of control structure
(#79) Blank line found at start of control structure
(#86) Blank line found at start of control structure
(#96) Blank line found at start of control structure
(#102) Blank line found at end of control structure
local/shopping_cart/classes/local/pricemodifier/modifiers/installments.php
(#41) Opening brace must not be followed by a blank line
(#69) Blank line found at start of control structure
(#73) Blank line found at start of control structure
(#83) Blank line found at end of control structure
(#84) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#87) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
(#87) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#87) Blank line found at start of control structure
(#101) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#102) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#103) Blank line found at start of control structure
(#124) Blank line found at start of control structure
(#149) Blank line found at start of control structure
(#173) Blank line found at end of control structure
(#254) Blank line found at start of control structure
(#279) Blank line found at start of control structure
local/shopping_cart/classes/local/pricemodifier/modifiers/standard.php
(#41) Opening brace must not be followed by a blank line
(#70) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#71) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#75) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#76) The closing parenthesis of a multi-line control structure must be on the line after the last expression
local/shopping_cart/classes/local/pricemodifier/modifiers/taxes.php
(#44) Opening brace must not be followed by a blank line
(#64) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#65) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#88) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#89) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#90) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#91) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
local/shopping_cart/classes/observer.php
(#33) Opening brace must not be followed by a blank line
(#90) Blank line found at start of control structure
local/shopping_cart/classes/output/button.php
(#37) Opening brace must not be followed by a blank line
local/shopping_cart/classes/output/cashier.php
(#41) Opening brace must not be followed by a blank line
(#98) Blank line found at start of control structure
local/shopping_cart/classes/output/installments.php
(#45) Opening brace must not be followed by a blank line
(#72) Blank line found at start of control structure
(#115) Blank line found at end of control structure
(#116) Blank line found at start of control structure
(#121) Blank line found at start of control structure
local/shopping_cart/classes/privacy/provider.php
(#48) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\request\core_userlist_provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#48) The first item in a multi-line implements list must be on the line following the implements keyword
(#49) Expected 4 spaces before interface name; 26 found
(#50) Expected 4 spaces before interface name; 26 found
(#50) Opening brace must not be followed by a blank line
(#290) Long list syntax is not allowed
(#336) Blank line found at start of control structure
(#399) Blank line found at start of control structure
(#464) Blank line found at start of control structure
local/shopping_cart/classes/shopping_cart_bookingfee.php
(#43) Opening brace must not be followed by a blank line
(#64) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#65) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#112) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#112) Closing parenthesis of a multi-line function call must be on a line by itself
(#117) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#117) Closing parenthesis of a multi-line function call must be on a line by itself
(#125) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#125) Closing parenthesis of a multi-line function call must be on a line by itself
(#144) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#145) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#145) Blank line found at start of control structure
local/shopping_cart/classes/shopping_cart_handler.php
(#44) Opening brace must not be followed by a blank line
(#79) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#90) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#92) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#93) Opening parenthesis of a multi-line function call must be the last content on the line
(#96) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#96) Closing parenthesis of a multi-line function call must be on a line by itself
(#100) Blank line found at start of control structure
(#125) Blank line found at start of control structure
(#197) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#208) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#209) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#209) Blank line found at start of control structure
(#215) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#258) Blank line found at start of control structure
(#310) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#345) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#372) Blank line found at start of control structure
local/shopping_cart/classes/task/create_invoice_task.php
(#39) Opening brace must not be followed by a blank line
(#70) Blank line found at end of control structure
(#80) Opening parenthesis of a multi-line function call must be the last content on the line
(#80) Only one argument is allowed per line in a multi-line function call
(#80) Only one argument is allowed per line in a multi-line function call
(#80) Only one argument is allowed per line in a multi-line function call
(#81) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#81) Closing parenthesis of a multi-line function call must be on a line by itself
local/shopping_cart/classes/task/delete_item_task.php
(#42) Opening brace must not be followed by a blank line
local/shopping_cart/classes/taxcategories.php
(#155) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#156) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#157) Multi-line function call not indented correctly; expected 12 spaces but found 16
local/shopping_cart/db/upgradelib.php
(#42) Blank line found at start of control structure
(#57) Blank line found at start of control structure
local/shopping_cart/demo.php
(#47) Opening parenthesis of a multi-line function call must be the last content on the line
(#47) Only one argument is allowed per line in a multi-line function call
(#48) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#48) Closing parenthesis of a multi-line function call must be on a line by itself
(#57) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#58) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#59) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#60) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#61) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#62) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#63) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#64) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#65) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#66) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#67) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#68) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#69) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#70) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#70) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#73) Only one argument is allowed per line in a multi-line function call
(#74) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#74) Closing parenthesis of a multi-line function call must be on a line by itself
(#80) Opening parenthesis of a multi-line function call must be the last content on the line
(#80) Only one argument is allowed per line in a multi-line function call
(#81) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#81) Closing parenthesis of a multi-line function call must be on a line by itself
(#92) Expected at least 1 space before "."; 0 found
(#94) Opening parenthesis of a multi-line function call must be the last content on the line
(#94) Only one argument is allowed per line in a multi-line function call
(#95) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#95) Closing parenthesis of a multi-line function call must be on a line by itself
(#104) Expected at least 1 space before "."; 0 found
(#106) Opening parenthesis of a multi-line function call must be the last content on the line
(#106) Only one argument is allowed per line in a multi-line function call
(#107) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#107) Closing parenthesis of a multi-line function call must be on a line by itself
(#116) Expected at least 1 space before "."; 0 found
(#118) Opening parenthesis of a multi-line function call must be the last content on the line
(#118) Only one argument is allowed per line in a multi-line function call
(#119) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#119) Closing parenthesis of a multi-line function call must be on a line by itself
(#128) Expected at least 1 space before "."; 0 found
(#130) Opening parenthesis of a multi-line function call must be the last content on the line
(#130) Only one argument is allowed per line in a multi-line function call
(#131) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#131) Closing parenthesis of a multi-line function call must be on a line by itself
(#141) Expected at least 1 space before "."; 0 found
(#143) Opening parenthesis of a multi-line function call must be the last content on the line
(#143) Only one argument is allowed per line in a multi-line function call
(#144) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#144) Closing parenthesis of a multi-line function call must be on a line by itself
(#153) Expected at least 1 space before "."; 0 found
(#155) Opening parenthesis of a multi-line function call must be the last content on the line
(#155) Only one argument is allowed per line in a multi-line function call
(#156) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#156) Closing parenthesis of a multi-line function call must be on a line by itself
(#165) Expected at least 1 space before "."; 0 found
(#167) Opening parenthesis of a multi-line function call must be the last content on the line
(#167) Only one argument is allowed per line in a multi-line function call
(#168) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#168) Closing parenthesis of a multi-line function call must be on a line by itself
local/shopping_cart/lib.php
(#89) Opening parenthesis of a multi-line function call must be the last content on the line
(#89) Only one argument is allowed per line in a multi-line function call
(#89) Only one argument is allowed per line in a multi-line function call
(#90) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
(#127) Blank line found at start of control structure
local/shopping_cart/tests/cartstore_test.php
(#90) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
(#96) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#96) Closing parenthesis of a multi-line function call must be on a line by itself
(#102) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
(#141) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#141) Closing parenthesis of a multi-line function call must be on a line by itself
(#147) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#147) Closing parenthesis of a multi-line function call must be on a line by itself
(#153) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#153) Closing parenthesis of a multi-line function call must be on a line by itself
(#184) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#184) Closing parenthesis of a multi-line function call must be on a line by itself
(#190) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#190) Closing parenthesis of a multi-line function call must be on a line by itself
local/shopping_cart/tests/classes/checkout_manager_test.php
(#182) The closing brace for the class must go on the next line after the body
local/shopping_cart/tests/generator/behat_local_shopping_cart_generator.php
(#25) Opening brace must not be followed by a blank line
local/shopping_cart/tests/generator/lib.php
(#29) Opening brace must not be followed by a blank line
(#61) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#66) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
(#71) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#71) Closing parenthesis of a multi-line function call must be on a line by itself
(#76) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#76) Closing parenthesis of a multi-line function call must be on a line by itself
(#102) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
local/shopping_cart/tests/taxcategories_test.php
(#169) Opening parenthesis of a multi-line function call must be the last content on the line
(#170) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#170) Only one argument is allowed per line in a multi-line function call
(#170) Closing parenthesis of a multi-line function call must be on a line by itself
(#278) The closing brace for the class must go on the next line after the body

Javascript coding style problems

(3 errors, 0 warnings)

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

local/shopping_cart/babel.config.js
(#1) 'module' is not defined. (no-undef)
local/shopping_cart/jest.config.js
(#1) 'module' is not defined. (no-undef)
local/shopping_cart/tests/jest/checkout_manager.test.js
(#1) Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

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

(1 errors, 9 warnings)

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

local/shopping_cart/templates/cashier.mustache
(#1) HTML Validation error, line 44: No “p” element in scope but a “p” end tag seen. ( </p> )
(#1) HTML Validation error, line 156: Duplicate ID “item-mod_booking-main-3”. ( <div id="item-mod_booking-main-3" class="shopping-cart-item clearfix" data-price='133' data-name='Tenniscourse' data-component='mod_booking' data-area='main' data-itemid='3' data-item="shopping_cart_item" data-currency='EUR' data-userid='3588'> )
(#1) HTML Validation info, line 62: The first occurrence of ID “item-mod_booking-main-3” was here. ( <div id="item-mod_booking-main-3" class="shopping-cart-item clearfix" data-price='133' data-name='Tenniscourse' data-component='mod_booking' data-area='main' data-itemid='3' data-item="shopping_cart_item" data-currency='EUR' data-userid='3588'> )
(#1) HTML Validation error, line 201: No “p” element in scope but a “p” end tag seen. ( </p> )
(#1) HTML Validation error, line 231: Duplicate ID “item-mod_booking-main-3”. ( <div id="item-mod_booking-main-3" class="shopping-cart-item clearfix" data-price='133' data-name='Tenniscourse' data-component='mod_booking' data-area='main' data-itemid='3' data-item="shopping_cart_item" data-currency='EUR' data-userid='3588'> )
(#1) HTML Validation info, line 62: The first occurrence of ID “item-mod_booking-main-3” was here. ( <div id="item-mod_booking-main-3" class="shopping-cart-item clearfix" data-price='133' data-name='Tenniscourse' data-component='mod_booking' data-area='main' data-itemid='3' data-item="shopping_cart_item" data-currency='EUR' data-userid='3588'> )
(#1) HTML Validation error, line 301: Element “button” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <button type="button" class="shopping_cart_history_creditsmanager btn btn-secondary m-1 btn-sm w-50" data-userid='3588'> )
local/shopping_cart/templates/form-user-selector-suggestion.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
local/shopping_cart/templates/history_item.mustache
(#1) HTML Validation error, line 2: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li class="list-group-item flex-column align-items-start text-dark"> <)
local/shopping_cart/templates/history_items.mustache
(#1) HTML Validation error, line 11: Element “li” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.) ( <li class="list-group-item flex-column align-items-start text-dark"> )
local/shopping_cart/templates/shopping_cart_popover.mustache
(#1) HTML Validation error, line 15: Attribute “aria-name” not allowed on element “i” at this point. ( <i class="fa fa-shopping-cart" title="Shopping cart menu" aria-name="Shopping cart menu"></i> )
(#1) HTML Validation info, line 17: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (> <div id="itemcount" class="count-container " data-region="count-container" aria-label="Count: 1">1</div)
(#1) HTML Validation error, line 28: Attribute “aria-name” not allowed on element “i” at this point. ("> <i class="fa fa-3x fa-shopping-cart" aria-name="Shopping cart"></i> )

Gherkin .feature problems

(0 errors, 0 warnings)

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