Ubuntu
parameters:
ignoreErrors:
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 3
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
identifier: property.notFound
count: 5
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
identifier: property.notFound
count: 6
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Argument of an invalid type array\\|null supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Call to an undefined method object\:\:add_meta\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Call to an undefined method object\:\:create\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Call to an undefined method object\:\:delete_meta\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Call to an undefined method object\:\:filter_raw_meta_data\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Call to an undefined method object\:\:get_internal_meta_keys\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Call to an undefined method object\:\:read_meta\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Call to an undefined method object\:\:update\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Call to an undefined method object\:\:update_meta\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Cannot access property \$value on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Constructor of class WC_Data has an unused parameter \$read\.$#'
identifier: constructor.unusedParameter
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:__toString\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:add_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:apply_changes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:delete\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:delete_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:delete_meta_data_by_mid\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:delete_meta_data_value\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:get_meta_cache_key\(\) should return string but returns false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:init_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:maybe_read_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:prime_raw_meta_data_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:read_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:save_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:set_clone_mode\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:set_date_prop\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:set_defaults\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:set_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:set_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:set_object_read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:set_prop\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Data\:\:update_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Offset \(int\|string\) might not exist on array\\|null\.$#'
identifier: offsetAccess.notFound
count: 5
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Offset 7 on list\{0\: non\-falsy\-string, 1\: non\-falsy\-string&numeric\-string, 2\: non\-falsy\-string&numeric\-string, 3\: non\-falsy\-string&numeric\-string, 4\: non\-falsy\-string&numeric\-string, 5\: non\-falsy\-string&numeric\-string, 6\: non\-falsy\-string&numeric\-string, 7\: non\-falsy\-string, \.\.\.\} in empty\(\) always exists and is not falsy\.$#'
identifier: empty.offset
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Offset int\|string might not exist on array\\|null\.$#'
identifier: offsetAccess.notFound
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Data \$this The data object being deleted\.\)\: Unexpected token "\$this", expected variable at offset 183 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#1 \$hour of function gmmktime expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#1 \$input of function array_filter expects array, array\\|null given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\\|null given\.$#'
identifier: argument.type
count: 4
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\\|int\<1, max\>\|string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#1 \$offset of method WC_DateTime\:\:set_utc_offset\(\) expects int, float given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#2 \$min of function gmmktime expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#3 \$sec of function gmmktime expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#4 \$mon of function gmmktime expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#5 \$day of function gmmktime expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Parameter \#6 \$year of function gmmktime expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Variable \$cached_meta might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Variable \$datetime might not be defined\.$#'
identifier: variable.undefined
count: 3
path: includes/abstracts/abstract-wc-data.php
-
message: '#^Method WC_Deprecated_Hooks\:\:display_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-deprecated-hooks.php
-
message: '#^Method WC_Deprecated_Hooks\:\:hook_in\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-deprecated-hooks.php
-
message: '#^Method WC_Deprecated_Hooks\:\:maybe_handle_deprecated_hook\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-deprecated-hooks.php
-
message: '#^Method WC_Integration\:\:admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-integration.php
-
message: '#^Method WC_Integration\:\:init_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-integration.php
-
message: '#^PHPDoc tag @extends has invalid value \(WC_Settings_API\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 170 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-integration.php
-
message: '#^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\\|static\(WC_Log_Handler\), class\-string\\|WC_Logger_Interface given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-log-handler.php
-
message: '#^Method WC_Object_Query\:\:set\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-object-query.php
-
message: '#^@param WC_Order \$order does not accept actual type of parameter\: \$this\(WC_Abstract_Order\)\.$#'
identifier: parameter.phpDocType
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 4
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_city\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_country\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_email\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_postcode\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_state\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_customer_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_shipping_city\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_shipping_country\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_shipping_postcode\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Abstract_Order\:\:get_shipping_state\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_code\(\)\.$#'
identifier: method.notFound
count: 4
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_discount\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_discount_tax\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_label\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_code\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_shipping_tax_total\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal_tax\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_tax_total\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:is_compound\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:set_taxes\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:set_total\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:set_total_tax\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:check_and_hold_coupon\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:check_and_hold_coupon_for_user\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:create\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:delete_items\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_order_item_type\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_payment_token_ids\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_quantity\(\)\.$#'
identifier: method.notFound
count: 6
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_recorded_coupon_usage_counts\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_subtotal_tax\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_total_tax\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_usage_by_email\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:read_items\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:set_coupon_held_keys\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:update\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Call to an undefined method object\:\:update_payment_token_ids\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Cannot call method get_quantity\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Cannot call method get_tax_class\(\) on WC_Order_Item\|false\.$#'
identifier: method.nonObject
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Cannot call method get_tax_status\(\) on WC_Order_Item\|false\.$#'
identifier: method.nonObject
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Cannot call method get_total\(\) on WC_Order_Item\|false\.$#'
identifier: method.nonObject
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Cannot call method get_total_tax\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Cannot call method set_discount\(\) on WC_Order_Item\|false\.$#'
identifier: method.nonObject
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Cannot call method set_discount_tax\(\) on WC_Order_Item\|false\.$#'
identifier: method.nonObject
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Cannot call method set_total\(\) on WC_Order_Item\|false\.$#'
identifier: method.nonObject
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Cannot cast mixed to float\.$#'
identifier: cast.double
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Class WC_Order_Item_Fee referenced with incorrect case\: WC_Order_item_Fee\.$#'
identifier: class.nameCase
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Constant WC_ROUNDING_PRECISION not found\.$#'
identifier: constant.notFound
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_discount_row\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_fee_rows\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_shipping_row\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_subtotal_row\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_tax_rows\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_total_row\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:calculate_shipping\(\) should return float but returns string\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:calculate_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_cart_tax\(\) should return float but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_coupons\(\) should return array\ but returns array\\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_currency\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_date_completed\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_date_paid\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_discount_tax\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_discount_total\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_fees\(\) should return array\ but returns array\\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_formatted_order_total\(\) invoked with 1 parameter, 0 required\.$#'
identifier: arguments.count
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_parent_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_prices_include_tax\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_shipping_methods\(\) should return array\ but returns array\\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_shipping_tax\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_shipping_total\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_status\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_taxes\(\) should return array\ but returns array\\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_total\(\) should return float but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_total_tax\(\) should return float but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:get_version\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:handle_exception\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:hold_applied_coupons\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:recalculate_coupons\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:remove_order_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:save_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_cart_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_cogs_total_value\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_coupon_discount_amounts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_currency\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_date_created\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_date_modified\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_discount_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_discount_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_item_discount_amounts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_parent_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_prices_include_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_shipping_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_shipping_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_total_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:set_version\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Method WC_Abstract_Order\:\:update_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^PHPDoc tag @param has invalid value \(boolean apply_base_tax Whether apply base tax for local pickup\. Default true\.\)\: Unexpected token "apply_base_tax", expected variable at offset 124 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$amount of method WC_Abstract_Legacy_Order\:\:legacy_set_total\(\) expects float, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$amount of method WC_Order_Item_Fee\:\:set_total\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$coupon_item of method WC_Abstract_Order\:\:get_temporary_coupon\(\) expects WC_Order_Item_Coupon, WC_Order_Item given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$info of method WC_Coupon\:\:set_short_info\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$item of method WC_Abstract_Order\:\:add_item\(\) expects WC_Order_Item, WC_Order_Item\|false given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$object of class WC_Discounts constructor expects WC_Cart\|WC_Order\|null, \$this\(WC_Abstract_Order\) given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Product given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, string given\.$#'
identifier: argument.type
count: 5
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, string\|WC_Coupon given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$raw_tax_data of method WC_Order_Item_Shipping\:\:set_taxes\(\) expects array, false given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$used_by of method WC_Coupon\:\:decrease_usage_count\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_cart_tax\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_total\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_tax\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_total\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$value of method WC_Order_Item_Tax\:\:set_shipping_tax_total\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#1 \$value of method WC_Order_Item_Tax\:\:set_tax_total\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#2 \$rates of static method WC_Tax\:\:calc_tax\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_discount_row\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_fee_rows\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_shipping_row\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_subtotal_row\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_tax_rows\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_total_row\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Parameter \#3 \$user_alias of method WC_Abstract_Order\:\:hold_coupon_for_users\(\) expects string, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^Variable \$user_alias might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/abstracts/abstract-wc-order.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 7
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Access to an undefined property WC_Cart\:\:\$total\.$#'
identifier: property.notFound
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Expected 3 @param tags, found 2\.$#'
identifier: paramTag.count
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Method WC_Payment_Gateway\:\:admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Method WC_Payment_Gateway\:\:credit_card_form\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Method WC_Payment_Gateway\:\:get_new_payment_method_option_html\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Method WC_Payment_Gateway\:\:init_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Method WC_Payment_Gateway\:\:payment_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Method WC_Payment_Gateway\:\:save_payment_method_checkbox\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Method WC_Payment_Gateway\:\:saved_payment_methods\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Method WC_Payment_Gateway\:\:set_current\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Method WC_Payment_Gateway\:\:tokenization_script\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^PHPDoc tag @extends has invalid value \(WC_Settings_API\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 177 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 128 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 135 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 141 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 146 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 149 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 195 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 215 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-payment-gateway.php
-
message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Method WC_Payment_Token\:\:get_gateway_id\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Method WC_Payment_Token\:\:get_is_default\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Method WC_Payment_Token\:\:get_token\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Method WC_Payment_Token\:\:get_user_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Method WC_Payment_Token\:\:set_default\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Method WC_Payment_Token\:\:set_gateway_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Method WC_Payment_Token\:\:set_token\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Method WC_Payment_Token\:\:set_user_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Parameter \#1 \$read of method WC_Data\:\:__construct\(\) expects array\|int\|object, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-payment-token.php
-
message: '#^Method WC_Abstract_Privacy\:\:add_privacy_message\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-privacy.php
-
message: '#^Method WC_Abstract_Privacy\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-privacy.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 6
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Call to an undefined method object\:\:create\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Call to an undefined method object\:\:update\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Cannot cast mixed to float\.$#'
identifier: cast.double
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:after_data_store_save_or_update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_average_rating\(\) should return float but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_backorders\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_brand_ids\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_catalog_visibility\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_category_ids\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_cross_sell_ids\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_date_on_sale_from\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_date_on_sale_to\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_default_attributes\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_description\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_download_expiry\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_download_limit\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_downloadable\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_downloads\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_featured\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_gallery_image_ids\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_global_unique_id\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_height\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_image_id\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_length\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_low_stock_amount\(\) should return int\|string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_manage_stock\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_menu_order\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_parent_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_permalink\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_post_password\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_price\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_purchase_note\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_rating_counts\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_regular_price\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_review_count\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_reviews_allowed\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_sale_price\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_shipping_class_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_short_description\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_sku\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_slug\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_sold_individually\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_status\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_stock_quantity\(\) should return int\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_stock_status\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_tag_ids\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_tax_class\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_tax_status\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_total_sales\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_upsell_ids\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_virtual\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_weight\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:get_width\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:maybe_defer_product_sync\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_average_rating\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_backorders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_brand_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_catalog_visibility\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_category_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_cross_sell_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_date_created\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_date_modified\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_date_on_sale_from\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_date_on_sale_to\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_default_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_download_expiry\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_download_limit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_downloadable\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_downloads\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_featured\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_gallery_image_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_global_unique_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_height\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_image_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_length\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_low_stock_amount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_manage_stock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_menu_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_parent_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_post_password\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_price\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_purchase_note\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_rating_counts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_regular_price\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_review_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_reviews_allowed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_sale_price\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_shipping_class_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_short_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_sku\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_slug\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_sold_individually\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_stock_quantity\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_stock_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_tag_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_tax_class\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_tax_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_total_sales\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_upsell_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_virtual\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_weight\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:set_width\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Product\:\:validate_props\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Product \$this Product object\.\)\: Unexpected token "\$this", expected variable at offset 195 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^PHPDoc tag @param has invalid value \(\\WC_Product \$this The product object\.\)\: Unexpected token "\$this", expected variable at offset 153 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^PHPDoc tag @param has invalid value \(\\WC_Product \$this The product object\.\)\: Unexpected token "\$this", expected variable at offset 172 on line 6$#'
identifier: phpDoc.parseError
count: 2
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, float\|null given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, array\|WC_Product_Download given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, float\|string given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$regular_price of function wc_format_sale_price expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#1 \$value of method WC_Product_Download\:\:set_id\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#2 \$callback of function uasort expects callable\(WC_Product_Attribute\|null, WC_Product_Attribute\|null\)\: int, ''wc_product…'' given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#2 \$sale_price of function wc_format_sale_price expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
identifier: argument.type
count: 4
path: includes/abstracts/abstract-wc-product.php
-
message: '#^Method WC_Session\:\:cleanup_sessions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-session.php
-
message: '#^Method WC_Session\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-session.php
-
message: '#^Method WC_Session\:\:set\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-session.php
-
message: '#^Parameter \#1 \$data of function maybe_serialize expects array\|object\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-session.php
-
message: '#^Method WC_Settings_API\:\:add_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:display_errors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_checkbox_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_color_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_decimal_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_multiselect_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_price_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_select_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_settings_html\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_text_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_textarea_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:generate_title_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:get_errors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:init_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:set_post_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:validate_select_field\(\) should return string but returns array\|string\.$#'
identifier: return.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Method WC_Settings_API\:\:validate_settings_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Parameter \#3 \$autoload of function update_option expects bool\|null, string given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Property WC_Settings_API\:\:\$settings \(array\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: includes/abstracts/abstract-wc-settings-api.php
-
message: '#^Binary operation "\*" between float and string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Method WC_Shipping_Method\:\:add_rate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Method WC_Shipping_Method\:\:admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Method WC_Shipping_Method\:\:calculate_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Method WC_Shipping_Method\:\:init_instance_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Parameter \#1 \$haystack of function strstr expects string, float\|string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Parameter \#1 \$price of static method WC_Tax\:\:calc_shipping_tax\(\) expects float, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Parameter \#3 \$autoload of function update_option expects bool\|null, string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, float\|string given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Property WC_Shipping_Method\:\:\$instance_settings \(array\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: includes/abstracts/abstract-wc-shipping-method.php
-
message: '#^Cannot access property \$slug on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Cannot access property \$taxonomy on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Class WC_Widget extends generic class WP_Widget but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Method WC_Widget\:\:flush_widget_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Method WC_Widget\:\:widget_end\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Method WC_Widget\:\:widget_start\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^PHPDoc tag @extends has invalid value \(WP_Widget\)\: Unexpected token "\\n ", expected ''\<'' at offset 96 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Parameter \#1 \$term of function get_term_link expects int\|string\|WP_Term, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 5
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
identifier: echo.nonString
count: 1
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Property WC_Widget\:\:\$settings \(array\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: includes/abstracts/abstract-wc-widget.php
-
message: '#^Binary operation "\." between mixed and ''_batch_'' results in an error\.$#'
identifier: binaryOp.invalid
count: 3
path: includes/abstracts/class-wc-background-process.php
-
message: '#^Binary operation "\." between mixed and ''_cron_interval'' results in an error\.$#'
identifier: binaryOp.invalid
count: 3
path: includes/abstracts/class-wc-background-process.php
-
message: '#^Method WC_Background_Process\:\:handle\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/class-wc-background-process.php
-
message: '#^Method WC_Background_Process\:\:kill_process\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/abstracts/class-wc-background-process.php
-
message: '#^Parameter \#1 \$hook of function wp_clear_scheduled_hook expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/abstracts/class-wc-background-process.php
-
message: '#^Binary operation "\." between ''Bearer '' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/class-wc-admin-addons.php
-
message: '#^Cannot access offset ''access_token'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-addons.php
-
message: '#^Method WC_Admin_Addons\:\:add_in_app_purchase_url_params\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-addons.php
-
message: '#^Method WC_Admin_Addons\:\:fetch_featured\(\) should return array\|WP_Error but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-addons.php
-
message: '#^Method WC_Admin_Addons\:\:get_in_app_purchase_url_params\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-addons.php
-
message: '#^Method WC_Admin_Addons\:\:output_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-addons.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-addons.php
-
message: '#^Binary operation "\." between ''AND description…'' and array\|string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/class-wc-admin-api-keys-table-list.php
-
message: '#^Method WC_Admin_API_Keys_Table_List\:\:no_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys-table-list.php
-
message: '#^Method WC_Admin_API_Keys_Table_List\:\:prepare_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys-table-list.php
-
message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: mixed, per_page\: int, total_pages\: float\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-api-keys-table-list.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-api-keys-table-list.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-api-keys-table-list.php
-
message: '#^Method WC_Admin_API_Keys\:\:actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Method WC_Admin_API_Keys\:\:bulk_actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Method WC_Admin_API_Keys\:\:bulk_revoke_key\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Method WC_Admin_API_Keys\:\:notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Method WC_Admin_API_Keys\:\:page_output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Method WC_Admin_API_Keys\:\:revoke_key\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Method WC_Admin_API_Keys\:\:screen_option\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Method WC_Admin_API_Keys\:\:table_list_output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-api-keys.php
-
message: '#^Constant WC_ADMIN_ABSPATH not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Constant WC_ADMIN_DIST_JS_FOLDER not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Constant WC_DELIMITER not found\.$#'
identifier: constant.notFound
count: 2
path: includes/admin/class-wc-admin-assets.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Method WC_Admin_Assets\:\:admin_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Method WC_Admin_Assets\:\:admin_styles\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Method WC_Admin_Assets\:\:enqueue_block_editor_script\(\) has parameter \$script_name with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Method WC_Admin_Assets\:\:enqueue_block_editor_script\(\) has parameter \$script_path_name with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Method WC_Admin_Assets\:\:register_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''dirname'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Parameter \#4 \$ver of function wp_enqueue_script expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 10
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Parameter \#4 \$ver of function wp_register_style expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 8
path: includes/admin/class-wc-admin-assets.php
-
message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
identifier: cast.int
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Method WC_Admin_Attributes\:\:add_attribute\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Method WC_Admin_Attributes\:\:edit_attribute\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Method WC_Admin_Attributes\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^PHPDoc tag @param has invalid value \(int @default_max_terms_to_display Default value\.\)\: Unexpected token "@default", expected variable at offset 152 on line 4$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Parameter \#1 \$taxonomy of function wc_sanitize_taxonomy_name expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Parameter \#1 \$taxonomy of function wc_sanitize_taxonomy_name expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Parameter \#2 \$pieces of function implode expects array, list\\|WP_Error given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Static property WC_Admin_Attributes\:\:\$edited_attribute_id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/class-wc-admin-attributes.php
-
message: '#^Argument of an invalid type array\\|WP_Error supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Binary operation "\.\=" between mixed and non\-falsy\-string results in an error\.$#'
identifier: assignOp.invalid
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Call to function is_scalar\(\) with string will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Cannot access offset ''cb'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Cannot access offset ''taxonomy\-product_brand'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
identifier: cast.int
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:add_brand_base_setting\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:add_settings_section\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:add_settings_tab\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:add_thumbnail_field\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:admin_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:columns\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:edit_thumbnail_field\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:process_import\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:product_brand_slug_input\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:product_columns\(\) should return array but returns array\|float\|int\|string\|false\|null\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:render_product_brand_filter\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:save_admin_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:save_permalink_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:sort_brands\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:taxonomy_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Method WC_Brands_Admin\:\:validate_product_base\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_brand'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''intval'' given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$input of function array_slice expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$input_list of function wp_parse_id_list expects array\|string, list\\|WP_Error given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$str of function trim expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$term_id of function get_term_meta expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#3 \$parent_term of function term_exists expects int\|null, int\|string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#3 \$priority of function add_action expects int, null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-brands.php
-
message: '#^Call to method get_id\(\) on an unknown class Task\.$#'
identifier: class.notFound
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Call to method get_json\(\) on an unknown class Task\.$#'
identifier: class.notFound
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Cannot call method get_viewable_tasks\(\) on array\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Cannot call method is_complete\(\) on array\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Cannot call method is_hidden\(\) on array\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Method WC_Admin_Dashboard_Setup\:\:get_task_list\(\) should return array but returns array\|float\|int\|string\|false\|null\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Method WC_Admin_Dashboard_Setup\:\:render\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Method WC_Admin_Dashboard_Setup\:\:set_task_list\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Method WC_Admin_Dashboard_Setup\:\:set_task_list\(\) has parameter \$task_list with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Parameter \#1 \$task of method WC_Admin_Dashboard_Setup\:\:get_button_link\(\) expects Task, array given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Parameter \$task of method WC_Admin_Dashboard_Setup\:\:get_button_link\(\) has invalid type Task\.$#'
identifier: class.notFound
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Property WC_Admin_Dashboard_Setup\:\:\$completed_tasks_count is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Property WC_Admin_Dashboard_Setup\:\:\$initalized has no type specified\.$#'
identifier: missingType.property
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Property WC_Admin_Dashboard_Setup\:\:\$task_list has no type specified\.$#'
identifier: missingType.property
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Property WC_Admin_Dashboard_Setup\:\:\$tasks has no type specified\.$#'
identifier: missingType.property
count: 1
path: includes/admin/class-wc-admin-dashboard-setup.php
-
message: '#^Access to an undefined property object\:\:\$product_id\.$#'
identifier: property.notFound
count: 3
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Access to an undefined property object\:\:\$qty\.$#'
identifier: property.notFound
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Cannot access offset ''chart'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Cannot access offset ''data'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Cannot access offset ''interval'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Cannot access offset ''intervals'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Cannot access offset ''subtotals'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Cannot access offset ''total'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Cannot access offset ''value'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Cannot access property \$items_sold on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Cannot access property \$net_revenue on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Default value of the parameter \#1 \$id \(string\) of method WC_Admin_Dashboard\:\:get_sales_sparkline\(\) is incompatible with type int\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Method WC_Admin_Dashboard\:\:get_wc_admin_performance_data\(\) never returns WP_REST_Response so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Method WC_Admin_Dashboard\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Method WC_Admin_Dashboard\:\:network_orders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Method WC_Admin_Dashboard\:\:recent_reviews\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Method WC_Admin_Dashboard\:\:register_network_order_widget\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Method WC_Admin_Dashboard\:\:status_widget\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Method WC_Admin_Dashboard\:\:status_widget_content\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Method WC_Admin_Dashboard\:\:status_widget_order_rows\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Method WC_Admin_Dashboard\:\:status_widget_stock_rows\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#1 \$time of function strtotime expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#2 \$size of function get_avatar expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#2 \.\.\.\$values of function printf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#3 \$number of function _n expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#3 \$total of method WC_Admin_Dashboard\:\:sales_sparkline_markup\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#4 \$sparkline_data of method WC_Admin_Dashboard\:\:sales_sparkline_markup\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#4 \$ver of function wp_enqueue_script expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 1
path: includes/admin/class-wc-admin-dashboard.php
-
message: '#^Access to an undefined property object\:\:\$ID\.$#'
identifier: property.notFound
count: 2
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Access to an undefined property object\:\:\$post_parent\.$#'
identifier: property.notFound
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Access to an undefined property object\:\:\$post_type\.$#'
identifier: property.notFound
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Cannot call method get_global_unique_id\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Cannot call method get_sku\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Cannot call method read_meta_data\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Cannot clone non\-object variable \$child of type WC_Product\|false\|null\.$#'
identifier: clone.nonObject
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Method WC_Admin_Duplicate_Product\:\:dupe_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Method WC_Admin_Duplicate_Product\:\:duplicate_product_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Method WC_Admin_Duplicate_Product\:\:generate_unique_slug\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Method WC_Admin_Duplicate_Product\:\:product_duplicate\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Parameter \#1 \$counts of method WC_Product\:\:set_rating_counts\(\) expects array, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Parameter \#1 \$product of method WC_Admin_Duplicate_Product\:\:product_duplicate\(\) expects WC_Product, WC_Product\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-duplicate-product.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 3
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Method WC_Admin_Exporters\:\:add_to_menus\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Method WC_Admin_Exporters\:\:admin_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Method WC_Admin_Exporters\:\:do_ajax_product_export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Method WC_Admin_Exporters\:\:download_export_file\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Method WC_Admin_Exporters\:\:hide_from_menus\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Method WC_Admin_Exporters\:\:menu_highlight_for_product_export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Method WC_Admin_Exporters\:\:product_exporter\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Offset ''callback'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Offset ''capability'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Offset ''menu'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 4
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Offset ''name'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 2
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Parameter \#1 \$column_names of method WC_CSV_Exporter\:\:set_column_names\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Parameter \#1 \$columns of method WC_CSV_Exporter\:\:set_columns_to_export\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Parameter \#1 \$filename of method WC_CSV_Exporter\:\:set_filename\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Parameter \#1 \$product_category_to_export of method WC_Product_CSV_Exporter\:\:set_product_category_to_export\(\) expects string, list\ given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Parameter \#1 \$product_types_to_export of method WC_Product_CSV_Exporter\:\:set_product_types_to_export\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Property WC_Admin_Exporters\:\:\$exporters \(array\\) does not accept array\\|string\>\|string\>\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/class-wc-admin-exporters.php
-
message: '#^Method WC_Admin_Help\:\:add_tabs\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-help.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 3
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Method WC_Admin_Importers\:\:add_to_menus\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Method WC_Admin_Importers\:\:admin_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Method WC_Admin_Importers\:\:do_ajax_product_import\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Method WC_Admin_Importers\:\:hide_from_menus\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Method WC_Admin_Importers\:\:menu_highlight_for_product_import\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Method WC_Admin_Importers\:\:post_importer_compatibility\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Method WC_Admin_Importers\:\:product_importer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Method WC_Admin_Importers\:\:register_importers\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Method WC_Admin_Importers\:\:tax_rates_importer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Offset ''callback'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Offset ''capability'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Offset ''menu'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 4
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Offset ''name'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 2
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Property WC_Admin_Importers\:\:\$importers \(array\\) does not accept array\\|string\>\|string\>\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/class-wc-admin-importers.php
-
message: '#^Cannot access an offset on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Cannot access offset ''value'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Cannot access offset ''version'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Method WC_Admin_Log_Table_List\:\:column_context\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Method WC_Admin_Log_Table_List\:\:extra_tablenav\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Method WC_Admin_Log_Table_List\:\:get_total_items_count\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Method WC_Admin_Log_Table_List\:\:level_dropdown\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Method WC_Admin_Log_Table_List\:\:prepare_column_headers\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Method WC_Admin_Log_Table_List\:\:prepare_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Method WC_Admin_Log_Table_List\:\:source_dropdown\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: int, per_page\: int, total_pages\: float\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:get_level_severity\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:is_valid_level\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Parameter \#1 \$str of function strtolower expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Part \$by \(non\-empty\-array\|string\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 1
path: includes/admin/class-wc-admin-log-table-list.php
-
message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/class-wc-admin-marketplace-promotions.php
-
message: '#^Found usage of constant DOING_AJAX\. Use wp_doing_ajax\(\) instead\.$#'
identifier: phpstanWP.wpConstant.fetch
count: 1
path: includes/admin/class-wc-admin-marketplace-promotions.php
-
message: '#^Found usage of constant DOING_CRON\. Use wp_doing_cron\(\) instead\.$#'
identifier: phpstanWP.wpConstant.fetch
count: 1
path: includes/admin/class-wc-admin-marketplace-promotions.php
-
message: '#^Method WC_Admin_Marketplace_Promotions\:\:clear_deprecated_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-marketplace-promotions.php
-
message: '#^Method WC_Admin_Marketplace_Promotions\:\:get_active_promotions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-marketplace-promotions.php
-
message: '#^Method WC_Admin_Marketplace_Promotions\:\:merge_promos\(\) should return array but returns array\|null\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-marketplace-promotions.php
-
message: '#^Parameter \#1 \$promotions of static method WC_Admin_Marketplace_Promotions\:\:get_promotions_of_format\(\) expects array\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-marketplace-promotions.php
-
message: '#^Parameter \#1 \$promotions of static method WC_Admin_Marketplace_Promotions\:\:merge_promos\(\) expects array\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-marketplace-promotions.php
-
message: '#^Parameter \#1 \$timestamp of function wp_unschedule_event expects int, int\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-marketplace-promotions.php
-
message: '#^Argument of an invalid type int supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:add_nav_menu_meta_boxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:addons_menu\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:addons_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:admin_bar_menus\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:admin_menu\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:attributes_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:can_view_woocommerce_menu_item\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:hide_submenu_element\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:maybe_add_new_product_management_experience\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:menu_highlight\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:menu_order_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:nav_menu_links\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:reports_menu\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:reports_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:set_screen_option\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:settings_menu\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:settings_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:settings_page_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:status_menu\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Method WC_Admin_Menus\:\:status_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int\ given\.$#'
identifier: argument.type
count: 6
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Parameter \#2 \$haystack of function array_search expects array, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Parameter \#3 \$menu_title of function add_submenu_page expects string, null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Parameter \#5 \$callback of function add_menu_page expects ''''\|\(callable\(\)\: mixed\), null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Parameter \#7 \$position of function add_menu_page expects float\|int\|null, string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-menus.php
-
message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Method WC_Admin_Meta_Boxes\:\:add_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Method WC_Admin_Meta_Boxes\:\:add_meta_boxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Method WC_Admin_Meta_Boxes\:\:add_product_boxes_sort_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Method WC_Admin_Meta_Boxes\:\:append_to_error_store\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Method WC_Admin_Meta_Boxes\:\:output_errors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Method WC_Admin_Meta_Boxes\:\:remove_meta_boxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Method WC_Admin_Meta_Boxes\:\:rename_meta_boxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Method WC_Admin_Meta_Boxes\:\:save_errors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Method WC_Admin_Meta_Boxes\:\:save_meta_boxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Parameter \#2 \$object_id of function metadata_exists expects int, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-meta-boxes.php
-
message: '#^Binary operation "\." between ''woocommerce_admin…'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Cannot access offset ''enabled'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Cannot access offset ''license_key'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Constant WC_NOTICE_MIN_PHP_VERSION not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Constant WC_NOTICE_MIN_WP_VERSION not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Constant WC_PHP_MIN_REQUIREMENTS_NOTICE not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:add_custom_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:add_maxmind_missing_license_key_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:add_min_version_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:add_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:add_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:add_redirect_download_method_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:base_tables_missing_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:download_directories_sync_complete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:get_notices\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:hide_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:hide_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:install_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:legacy_shipping_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:maxmind_missing_license_key_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:maybe_add_legacy_api_removal_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:maybe_remove_legacy_api_removal_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:no_shipping_methods_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:output_custom_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:redirect_download_method_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:regenerating_lookup_table_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:regenerating_thumbnails_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:remove_all_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:remove_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:reset_admin_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:secure_connection_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:set_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:simplify_commerce_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:store_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:template_file_check_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:theme_check_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:update_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Notices\:\:uploads_directory_is_unprotected_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Parameter \#1 \$arr1 of function array_diff expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Parameter \#1 \$notices of static method WC_Admin_Notices\:\:set_notices\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{''WC_Admin_Notices'', mixed\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 1
path: includes/admin/class-wc-admin-notices.php
-
message: '#^Method WC_Admin_Permalink_Settings\:\:product_attribute_slug_input\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-permalink-settings.php
-
message: '#^Method WC_Admin_Permalink_Settings\:\:product_category_slug_input\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-permalink-settings.php
-
message: '#^Method WC_Admin_Permalink_Settings\:\:product_tag_slug_input\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-permalink-settings.php
-
message: '#^Method WC_Admin_Permalink_Settings\:\:settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-permalink-settings.php
-
message: '#^Method WC_Admin_Permalink_Settings\:\:settings_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-permalink-settings.php
-
message: '#^Method WC_Admin_Permalink_Settings\:\:settings_save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-permalink-settings.php
-
message: '#^Parameter \#1 \$str of function urldecode expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-permalink-settings.php
-
message: '#^Parameter \#1 \$value of function trailingslashit expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-permalink-settings.php
-
message: '#^Parameter \#1 \$value of function wc_sanitize_permalink expects string, array\|string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-permalink-settings.php
-
message: '#^Method WC_Admin_Pointers\:\:create_product_tutorial\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-pointers.php
-
message: '#^Method WC_Admin_Pointers\:\:create_variable_product_tutorial\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-pointers.php
-
message: '#^Method WC_Admin_Pointers\:\:create_wc_addons_tutorial\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-pointers.php
-
message: '#^Method WC_Admin_Pointers\:\:setup_pointers_for_screen\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-pointers.php
-
message: '#^Access to an undefined property object\:\:\$base\.$#'
identifier: property.notFound
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Access to an undefined property object\:\:\$post_type\.$#'
identifier: property.notFound
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Action callback returns int but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Binary operation "\+" between float and non\-falsy\-string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Binary operation "\-" between float and non\-falsy\-string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Binary operation "/" between string and 100 results in an error\.$#'
identifier: binaryOp.invalid
count: 3
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Call to an undefined method object\:\:get_shipping_class_id_by_slug\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Cannot access property \$post_password on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Cannot access property \$post_type on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Cannot call method get_catalog_visibility\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Cannot call method get_featured\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Cannot call method set_stock_status\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Cannot cast array\|string to string\.$#'
identifier: cast.string
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:add_display_post_states\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:bulk_and_quick_edit_hook\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:bulk_edit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:bulk_edit_save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:disable_autosave\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:edit_form_after_title\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:edit_form_top\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:maybe_display_warning_for_password_protected_coupon\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:maybe_update_cogs_value\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:process_product_file_download_paths\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:product_data_visibility\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:quick_edit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:quick_edit_save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:setup_screen\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Method WC_Admin_Post_Types\:\:show_cpt_archive_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_shipping…'' given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$backorders of method WC_Product\:\:set_backorders\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$class of method WC_Product\:\:set_tax_class\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$haystack of function strstr expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$height of method WC_Product\:\:set_height\(\) expects float\|string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$length of method WC_Product\:\:set_length\(\) expects float\|string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$sold_individually of method WC_Product\:\:set_sold_individually\(\) expects bool, string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$status of method WC_Product\:\:set_tax_status\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$visibility of method WC_Product\:\:set_catalog_visibility\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$weight of method WC_Product\:\:set_weight\(\) expects float\|string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#1 \$width of method WC_Product\:\:set_width\(\) expects float\|string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#2 \$product of method WC_Admin_Post_Types\:\:bulk_edit_save\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#2 \$product of method WC_Admin_Post_Types\:\:quick_edit_save\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#2 \$stock_quantity of function wc_update_product_stock expects int\|null, float\|int\|null given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Parameter \#2 \$stock_status of method WC_Admin_Post_Types\:\:maybe_update_stock_status\(\) expects string\|null, array\|string\|null given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Unable to resolve the template type T in call to function wp_unslash$#'
identifier: argument.templateType
count: 1
path: includes/admin/class-wc-admin-post-types.php
-
message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/class-wc-admin-profile.php
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
path: includes/admin/class-wc-admin-profile.php
-
message: '#^Method WC_Admin_Profile\:\:add_customer_meta_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-profile.php
-
message: '#^Method WC_Admin_Profile\:\:get_user_meta\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-profile.php
-
message: '#^Method WC_Admin_Profile\:\:save_customer_meta_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-profile.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-profile.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-profile.php
-
message: '#^Call to an undefined method object\:\:output_report\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/class-wc-admin-reports.php
-
message: '#^Method WC_Admin_Reports\:\:get_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-reports.php
-
message: '#^Method WC_Admin_Reports\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-reports.php
-
message: '#^Method WC_Admin_Reports\:\:register_hook_handlers\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-reports.php
-
message: '#^Method WC_Admin_Reports\:\:replace_dashboard_status_widget_reports\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-reports.php
-
message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-reports.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-reports.php
-
message: '#^Property WC_Admin_Report\:\:\$end_date \(int\) does not accept int\|false\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/class-wc-admin-reports.php
-
message: '#^Property WC_Admin_Report\:\:\$start_date \(int\) does not accept int\|false\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/class-wc-admin-reports.php
-
message: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
identifier: property.notFound
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Cannot access offset mixed on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Cannot access property \$post_title on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Cannot call method remove_help_tabs\(\) on WP_Screen\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Method WC_Admin_Settings\:\:add_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Method WC_Admin_Settings\:\:add_message\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Method WC_Admin_Settings\:\:check_download_folder_protection\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Method WC_Admin_Settings\:\:get_settings_pages\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Method WC_Admin_Settings\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Method WC_Admin_Settings\:\:output_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Method WC_Admin_Settings\:\:reset_settings_pages_on_feature_change\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Method WC_Admin_Settings\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Method WC_Admin_Settings\:\:show_messages\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Parameter \#1 \$array_arg of function key expects array\|object, array\\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Parameter \#1 \$option of function get_option expects string, int\|string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Parameter \#1 \$str of function stripslashes expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Parameter \#3 \$autoload of function update_option expects bool\|null, string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Variable \$option_display_name might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/class-wc-admin-settings.php
-
message: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
identifier: property.notFound
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Call to function is_callable\(\) with ''fastcgi_finish…'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Cannot access offset mixed on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:admin_menus\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:close_http_connection\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:display_recommended_item\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:display_recommended_item\(\) has parameter \$item_info with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:display_service_item\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:enqueue_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:get_activate_error_message\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:get_activate_error_message\(\) has parameter \$code with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:get_all_activate_errors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:get_product_dimension_selection\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:get_product_weight_selection\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:install_jetpack\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:install_plugin\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:install_theme\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:install_woocommerce_services\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:is_eway_payments_supported_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:is_klarna_checkout_supported_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:is_klarna_payments_supported_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:is_shipstation_supported_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:is_square_supported_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:is_stripe_supported_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:is_wcs_shipping_labels_supported_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:plugin_install_info\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:run_deferred_actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard_content\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard_footer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard_header\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard_steps\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:shipping_method_selection_form\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:should_show_automated_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:tracking_modal\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate_actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate_get_feature_list\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate_get_feature_list_str\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate_save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_new_onboarding\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_new_onboarding_save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_payment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_payment_save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_ready\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_recommended\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_recommended_save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_shipping_save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_store_setup\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_store_setup_save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
identifier: argument.type
count: 4
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, float given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Property WC_Admin_Setup_Wizard\:\:\$step \(string\) does not accept int\|string\|false\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Property WC_Admin_Setup_Wizard\:\:\$tweets is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: includes/admin/class-wc-admin-setup-wizard.php
-
message: '#^Access to an undefined property object\:\:\$Author URI\.$#'
identifier: property.notFound
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Access to an undefined property object\:\:\$Name\.$#'
identifier: property.notFound
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Binary operation "\." between mixed and ''\.0'' results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Call to an undefined method object\:\:get_stylesheet\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Cannot access offset ''version'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Cannot access offset 0 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:flush_db_logs\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:log_table_bulk_actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:output_tables_info\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:remove_log\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:status_logs\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:status_logs_db\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:status_logs_file\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:status_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Method WC_Admin_Status\:\:status_tools\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#1 \$fp of function fclose expects resource, resource\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#1 \$fp of function fread expects resource, resource\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#3 \$length of function substr expects int, int\<0, max\>\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Static method WC_Admin_Status\:\:output_plugins_info\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Static method WC_Admin_Status\:\:output_tables_info\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/admin/class-wc-admin-status.php
-
message: '#^Access to an undefined property object\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Access to an undefined property object\:\:\$term_id\.$#'
identifier: property.notFound
count: 4
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Cannot access offset ''cb'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Cannot access property \$term_id on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Constant WC_VERSION not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:add_category_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:create_term\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:delete_term\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:edit_category_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:get_instance\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:handle_product_cat_row_actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:product_attribute_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:product_cat_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:product_cat_notes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Taxonomies\:\:save_category_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Parameter \#1 \$post_id of function wp_get_attachment_thumb_url expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Parameter \#1 \$term of function get_term expects int\|object, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Parameter \#1 \$term_id of function update_term_meta expects int, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Property WC_Admin_Taxonomies\:\:\$default_cat_id \(int\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Static property WC_Admin_Taxonomies\:\:\$instance \(WC_Admin_Taxonomies\) does not accept default value of type false\.$#'
identifier: property.defaultValue
count: 1
path: includes/admin/class-wc-admin-taxonomies.php
-
message: '#^Method WC_Admin_Upload_Downloadable_Product\:\:woocommerce_media_upload_downloadable_product\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-upload-downloadable-product.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: includes/admin/class-wc-admin-upload-downloadable-product.php
-
message: '#^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{\$this\(WC_Admin_Upload_Downloadable_Product\), ''media_upload…''\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-upload-downloadable-product.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_count_webhooks_by_status\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:search_webhooks\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Method WC_Admin_Webhooks_Table_List\:\:display_tablenav\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Method WC_Admin_Webhooks_Table_List\:\:no_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Method WC_Admin_Webhooks_Table_List\:\:prepare_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Method WC_Admin_Webhooks_Table_List\:\:process_bulk_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Parameter \#1 \$which of method WP_List_Table\:\:bulk_actions\(\) expects ''bottom''\|''top'', string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Parameter \#1 \$which of method WP_List_Table\:\:pagination\(\) expects ''bottom''\|''top'', string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-webhooks-table-list.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_count_webhooks_by_status\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Default value of the parameter \#1 \$webhook \(string\) of method WC_Admin_Webhooks\:\:logs_output\(\) is incompatible with type WC_Webhook\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:bulk_delete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:delete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:get_logs_navigation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:logs_output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:maybe_display_legacy_rest_api_warning\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:page_output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:screen_option\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Method WC_Admin_Webhooks\:\:table_list_output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 7
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin-webhooks.php
-
message: '#^Binary operation "\." between ''plugin\-install\.php…'' and array\|string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Constant WC_VERSION not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Method WC_Admin\:\:admin_redirects\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Method WC_Admin\:\:buffer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Method WC_Admin\:\:conditional_includes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Method WC_Admin\:\:includes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Method WC_Admin\:\:init_page_controller\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Method WC_Admin\:\:prevent_admin_access\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Method WC_Admin\:\:preview_emails\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Method WC_Admin\:\:setup_wizard_check_jetpack\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/class-wc-admin.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/class-wc-admin.php
-
message: '#^Cannot access offset ''connected_notice'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Cannot access offset ''connection_url_notice'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Cannot access offset ''disconnected_notice'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Cannot access offset ''email'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Cannot access offset ''has_host_plan_orders'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Cannot access offset ''subscription_expired_notice'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Cannot access offset ''subscription_expiring_notice'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Cannot access offset ''subscription_missing_notice'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Cannot access offset ''wccomHelper'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Cannot access offset ''woocomConnectNoticeType'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Method WC_Helper_Admin\:\:get_featured\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Method WC_Helper_Admin\:\:get_permission\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Method WC_Helper_Admin\:\:get_product_preview\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Method WC_Helper_Admin\:\:get_product_preview\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Method WC_Helper_Admin\:\:register_rest_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Method WC_Helper_Admin\:\:run_clear_cache_tool\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Parameter \#1 \$user_email of static method Automattic\\WooCommerce\\Admin\\PluginsHelper\:\:get_wccom_connected_notice\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Parameter \#2 \$args of function get_avatar_url expects array\{size\?\: int, default\?\: string, force_default\?\: bool, rating\?\: string, scheme\?\: string, processed_args\?\: array\}\|null, array\{size\: ''48''\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-admin.php
-
message: '#^Binary operation "\." between ''Bearer '' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Cannot access offset ''access_token'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 2
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Method WC_Helper_API\:\:add_auth_parameters\(\) should return string but returns false\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Method WC_Helper_API\:\:get\(\) should return array but returns array\|WP_Error\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Method WC_Helper_API\:\:load\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Method WC_Helper_API\:\:post\(\) should return array but returns array\|WP_Error\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Method WC_Helper_API\:\:put\(\) should return array but returns array\|WP_Error\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^PHPDoc tag @var has invalid value \(\$api_base\)\: Unexpected token "\$api_base", expected type at offset 47 on line 4$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Parameter \#2 \$data of function hash_hmac expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Property WC_Helper_API\:\:\$api_base has no type specified\.$#'
identifier: missingType.property
count: 1
path: includes/admin/helper/class-wc-helper-api.php
-
message: '#^Cannot access offset ''access_token'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Cannot access offset ''site_id'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Cannot access offset ''user_id'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Cannot access property \$admin on mixed\.$#'
identifier: property.nonObject
count: 4
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Method WC_Helper_Compat\:\:admin_menu\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Method WC_Helper_Compat\:\:deactivate_plugin\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Method WC_Helper_Compat\:\:helper_loaded\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Method WC_Helper_Compat\:\:load\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Method WC_Helper_Compat\:\:migrate_connection\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Method WC_Helper_Compat\:\:plugin_deactivation_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Method WC_Helper_Compat\:\:remove_actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Method WC_Helper_Compat\:\:render_compat_menu\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-compat.php
-
message: '#^Cannot access offset string on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-options.php
-
message: '#^Method WC_Helper_Orders_API\:\:create_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/admin/helper/class-wc-helper-orders-api.php
-
message: '#^Method WC_Helper_Orders_API\:\:register_rest_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-orders-api.php
-
message: '#^Parameter \#2 \$status of class WP_REST_Response constructor expects int, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-orders-api.php
-
message: '#^Method WC_Helper_Sanitization\:\:wc_pre_sanitize_svg\(\) should return string but returns string\|null\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper-sanitization.php
-
message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, string\|null given\.$#'
identifier: argument.type
count: 4
path: includes/admin/helper/class-wc-helper-sanitization.php
-
message: '#^Parameter \#3 \$subject of function preg_replace_callback expects array\\|string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-sanitization.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, string\|null given\.$#'
identifier: argument.type
count: 2
path: includes/admin/helper/class-wc-helper-sanitization.php
-
message: '#^Cannot access offset ''local'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Cannot access offset ''product_key'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Cannot access offset ''product_slug'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:activate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:activate\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:activate_plugin\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:activate_plugin\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:connect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:connect\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:disconnect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:disconnect\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:get_permission\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:get_subscriptions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:install_url\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:install_url\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:refresh\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Method WC_Helper_Subscriptions_API\:\:register_rest_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-subscriptions-api.php
-
message: '#^Access to an undefined property object\:\:\$checked\.$#'
identifier: property.notFound
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Access to an undefined property object\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Access to an undefined property object\:\:\$response\.$#'
identifier: property.notFound
count: 2
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Action callback returns WP_Error\|false but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Action callback returns object but should not return anything\.$#'
identifier: return.void
count: 2
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Cannot access offset ''data'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Cannot access offset ''last_modified'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Cannot access offset ''package'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Cannot access offset ''products'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Cannot access offset ''version'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Cannot access offset ''wp_locale'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:_update_check\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 2
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:add_connect_woocom_plugin_message\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:add_hook_for_modifying_update_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:add_install_marketplace_plugin_message\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:block_expired_updates\(\) should return WP_Error\|false but returns true\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:display_notice_for_expired_and_expiring_subscriptions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:display_notice_for_plugins_without_subscription\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:flush_updates_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:get_updates_count\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:load\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:setup_message_for_expired_and_expiring_subscriptions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:setup_message_for_plugins_without_subscription\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:setup_update_plugins_messages\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Method WC_Helper_Updater\:\:upgrader_process_complete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 141 on line 4$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 142 on line 4$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 289 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 369 on line 8$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 388 on line 9$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Parameter \#1 \$datetime of class DateTime constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Parameter \#1 \$product_id of static method WC_Helper\:\:has_product_subscription\(\) expects int, \(array\\|string\|null\) given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Parameter \#2 \$args of function wp_remote_post expects array\{method\?\: string, timeout\?\: float, redirection\?\: int, httpversion\?\: string, user\-agent\?\: string, reject_unsafe_urls\?\: bool, blocking\?\: bool, headers\?\: array\|string, \.\.\.\}, array\{body\: non\-empty\-string\|false, headers\: array\{''Content\-Type\:…''\}, timeout\: int\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Parameter \#2 \$arr2 of function array_intersect expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Parameter \#2 \$search of function array_key_exists expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 1
path: includes/admin/helper/class-wc-helper-updater.php
-
message: '#^@param int \$product_id does not accept actual type of parameter\: string\.$#'
identifier: parameter.phpDocType
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^@param string \$product_key does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 4
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Access to an undefined property object\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Anonymous function has an unused use \$site_id\.$#'
identifier: closure.unusedUse
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Argument of an invalid type array\|true supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Binary operation "\." between ''activate\:'' and array\|string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Binary operation "\." between ''deactivate\:'' and array\|string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''_filename'' on array\|bool\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''_filename'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''_type'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''access_token'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''code'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''email'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''message'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''name'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''product_id'' on array\|bool\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''product_id'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''product_key'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''product_name'' on array\|bool\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 7
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''site_id'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 6
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''success'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''url'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access offset ''user_id'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access property \$file on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access property \$file_id on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access property \$product_id on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Cannot access property \$response on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_filter\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_flush_authentication_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_flush_subscriptions_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_flush_updates_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_get_extensions_update_notice\(\) never returns null so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_get_extensions_update_notice\(\) should return string\|null but empty return statement found\.$#'
identifier: return.empty
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_helper_auth_connect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_helper_auth_disconnect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_helper_auth_refresh\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_helper_auth_return\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_helper_plugin_deactivate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:_helper_subscription_activate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:activated_plugin\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:add_api_error_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:admin_enqueue_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:admin_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:connect_theme\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:current_screen\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:deactivated_plugin\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:fetch_helper_connection_info\(\) should return array\|WP_Error but returns array\|true\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:fetch_helper_connection_info\(\) should return array\|WP_Error but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:flush_connection_data_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:flush_product_usage_notice_rules_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:get_cached_connection_data\(\) should return array\|bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:get_current_filter\(\) should return string but returns array\|string\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:get_local_woo_plugins\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:get_local_woo_themes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:get_notices\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:get_product_usage_notice_rules\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:get_subscriptions\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:helper_subscription_deactivate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:includes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:load\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:log\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:maybe_redirect_to_new_marketplace_installer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:refresh_helper_subscriptions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:remove_api_error_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Helper\:\:render_helper_output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^PHPDoc tag @var has invalid value \(\$log\)\: Unexpected token "\$log", expected type at offset 63 on line 4$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$access_token of static method WC_Helper\:\:update_auth_option\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''esc_html'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$code of static method WC_Helper\:\:get_message_for_response_code\(\) expects int, int\\|int\<201, max\>\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$haystack of function stripos expects string, mixed given\.$#'
identifier: argument.type
count: 5
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 13
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$message of class Exception constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
identifier: argument.type
count: 7
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$product_id of static method WC_Helper\:\:_get_subscriptions_from_product_id\(\) expects int, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$product_key of static method WC_Helper\:\:activate_helper_subscription\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$product_key of static method WC_Helper\:\:deactivate_helper_subscription\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$product_key of static method WC_Helper\:\:wccom_activate\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$str of function rawurlencode expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$str of function urldecode expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 5
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#2 \$access_token_secret of static method WC_Helper\:\:update_auth_option\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#2 \$code of class Exception constructor expects int, int\\|int\<201, max\>\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#2 \$subject of function preg_split expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#3 \$site_id of static method WC_Helper\:\:update_auth_option\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#4 \$data of class WC_Data_Exception constructor expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Property WC_Helper\:\:\$log has no type specified\.$#'
identifier: missingType.property
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Static method WC_Helper\:\:activate_helper_subscription\(\) invoked with 2 parameters, 1 required\.$#'
identifier: arguments.count
count: 1
path: includes/admin/helper/class-wc-helper.php
-
message: '#^Method WC_Plugin_Api_Updater\:\:load\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-plugin-api-updater.php
-
message: '#^Method WC_Plugin_Api_Updater\:\:override_products_api_response\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-plugin-api-updater.php
-
message: '#^Method WC_Plugin_Api_Updater\:\:themes_api\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-plugin-api-updater.php
-
message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/helper/class-wc-product-usage-notice.php
-
message: '#^Method WC_Product_Usage_Notice\:\:ajax_dismiss\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-product-usage-notice.php
-
message: '#^Method WC_Product_Usage_Notice\:\:ajax_remind_later\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-product-usage-notice.php
-
message: '#^Method WC_Product_Usage_Notice\:\:enqueue_product_usage_notice_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-product-usage-notice.php
-
message: '#^Method WC_Product_Usage_Notice\:\:maybe_show_product_usage_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/helper/class-wc-product-usage-notice.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 7
path: includes/admin/helper/class-wc-product-usage-notice.php
-
message: '#^Parameter \#1 \$message of function wp_die expects string\|WP_Error, int given\.$#'
identifier: argument.type
count: 8
path: includes/admin/helper/class-wc-product-usage-notice.php
-
message: '#^Cannot access offset ''alert_url_mismatch'' on array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-woo-helper-connection.php
-
message: '#^Cannot access offset ''url'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/helper/class-wc-woo-helper-connection.php
-
message: '#^PHPDoc tag @return with type bool is incompatible with native type string\.$#'
identifier: return.phpDocType
count: 1
path: includes/admin/helper/class-wc-woo-helper-connection.php
-
message: '#^Parameter \#1 \$str of function rtrim expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/helper/class-wc-woo-helper-connection.php
-
message: '#^Method WC_Woo_Update_Manager_Plugin\:\:activate_admin_notice_dismissed\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-woo-update-manager-plugin.php
-
message: '#^Method WC_Woo_Update_Manager_Plugin\:\:install_admin_notice_dismissed\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/helper/class-wc-woo-update-manager-plugin.php
-
message: '#^PHPDoc tag @return with type int is incompatible with native type string\.$#'
identifier: return.phpDocType
count: 1
path: includes/admin/helper/class-wc-woo-update-manager-plugin.php
-
message: '#^Variable \$helper_url might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/helper/views/html-helper-compat.php
-
message: '#^Variable \$connect_url might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/helper/views/html-oauth-start.php
-
message: '#^Variable \$auth_user_data might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/helper/views/html-section-account.php
-
message: '#^Variable \$disconnect_url might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/helper/views/html-section-account.php
-
message: '#^Variable \$refresh_url might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/helper/views/html-section-account.php
-
message: '#^Variable \$notices might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/helper/views/html-section-notices.php
-
message: '#^Binary operation "\." between string and non\-empty\-array\|non\-falsy\-string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:add_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:dispatch\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:dispatch_ajax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:done\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:get_importer\(\) should return WC_Product_CSV_Importer but returns object\.$#'
identifier: return.type
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:import\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:mapping_form\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:output_errors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:output_footer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:output_header\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:output_steps\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:upload_form\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Method WC_Product_CSV_Importer_Controller\:\:upload_form_handler\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Parameter \#1 \$file of static method WC_Product_CSV_Importer_Controller\:\:get_importer\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 6
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Parameter \#1 \$path of static method WC_Product_CSV_Importer_Controller\:\:validate_file_path\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 9
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Property WC_Product_CSV_Importer_Controller\:\:\$character_encoding \(string\) does not accept array\|string\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Property WC_Product_CSV_Importer_Controller\:\:\$delimiter \(string\) does not accept array\|string\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Property WC_Product_CSV_Importer_Controller\:\:\$file \(string\) does not accept array\|string\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Property WC_Product_CSV_Importer_Controller\:\:\$step \(string\) does not accept int\|string\|false\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/importers/class-wc-product-csv-importer-controller.php
-
message: '#^Binary operation "\." between string and non\-empty\-array\|non\-falsy\-string results in an error\.$#'
identifier: binaryOp.invalid
count: 3
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Cannot cast array\|string to string\.$#'
identifier: cast.string
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Cannot use array destructuring on list\\|null\.$#'
identifier: offsetAccess.nonArray
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:dispatch\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:footer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:format_data_from_csv\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:greet\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:header\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:import\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:import_end\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:import_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:import_start\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Method WC_Tax_Rate_Importer\:\:set_import_error_message\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#1 \$data of function utf8_encode expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#1 \$filename of function fopen expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#1 \$filename of function is_file expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#1 \$haystack of function stripos expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, string\|null given\.$#'
identifier: argument.type
count: 2
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/class-wc-tax-rate-importer.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/admin/importers/mappings/default.php
-
message: '#^Array has 2 duplicate keys with value ''Variant SKU'' \(''Variant SKU'', ''Variant SKU''\)\.$#'
identifier: array.duplicateKey
count: 1
path: includes/admin/importers/mappings/shopify.php
-
message: '#^Cannot access offset ''row'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/importers/views/html-csv-import-done.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/views/html-csv-import-done.php
-
message: '#^Variable \$errors might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-csv-import-done.php
-
message: '#^Variable \$failed might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-csv-import-done.php
-
message: '#^Variable \$imported might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-csv-import-done.php
-
message: '#^Variable \$imported_variations might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-csv-import-done.php
-
message: '#^Variable \$skipped might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-csv-import-done.php
-
message: '#^Variable \$updated might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-csv-import-done.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/importers/views/html-csv-import-mapping.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/importers/views/html-csv-import-mapping.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/importers/views/html-csv-import-mapping.php
-
message: '#^Variable \$args might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/importers/views/html-csv-import-mapping.php
-
message: '#^Variable \$headers might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-csv-import-mapping.php
-
message: '#^Variable \$mapped_items might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-csv-import-mapping.php
-
message: '#^Variable \$this might not be defined\.$#'
identifier: variable.undefined
count: 5
path: includes/admin/importers/views/html-csv-import-mapping.php
-
message: '#^Variable \$this might not be defined\.$#'
identifier: variable.undefined
count: 5
path: includes/admin/importers/views/html-csv-import-steps.php
-
message: '#^Variable \$bytes might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-product-csv-import-form.php
-
message: '#^Variable \$size might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/importers/views/html-product-csv-import-form.php
-
message: '#^Method WC_Admin_List_Table\:\:get_primary_column\(\) should return array but returns string\.$#'
identifier: return.type
count: 1
path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
-
message: '#^Method WC_Admin_List_Table\:\:list_table_primary_column\(\) should return string but returns array\.$#'
identifier: return.type
count: 1
path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
-
message: '#^Method WC_Admin_List_Table\:\:maybe_render_blank_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
-
message: '#^Method WC_Admin_List_Table\:\:prepare_row_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
-
message: '#^Method WC_Admin_List_Table\:\:render_blank_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
-
message: '#^Method WC_Admin_List_Table\:\:render_columns\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
-
message: '#^Method WC_Admin_List_Table\:\:render_filters\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
-
message: '#^Method WC_Admin_List_Table\:\:restrict_manage_posts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
-
message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Cannot call method get_amount\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Cannot call method get_code\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Cannot call method get_date_expires\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Cannot call method get_description\(\) on object\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Cannot call method get_discount_type\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Cannot call method get_id\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Cannot call method get_product_ids\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Cannot call method get_usage_count\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Cannot call method get_usage_limit\(\) on object\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:prepare_row_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_amount_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_blank_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_coupon_code_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_description_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_expiry_date_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_filters\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_products_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_type_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_usage_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Method WC_Admin_List_Table_Coupons\:\:render_usage_limit_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Return type \(string\) of method WC_Admin_List_Table_Coupons\:\:get_primary_column\(\) should be compatible with return type \(array\) of method WC_Admin_List_Table\:\:get_primary_column\(\)$#'
identifier: method.childReturnType
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
-
message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
identifier: property.notFound
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Cannot access an offset on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Cannot access property \$cap on WP_Post_Type\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Cannot call method get_product\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Cannot call method update_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Expected 2 @param tags, found 1\.$#'
identifier: paramTag.count
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:add_custom_query_var\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:bulk_admin_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:order_preview_template\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:prepare_row_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:render_billing_address_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:render_blank_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:render_filters\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:render_order_date_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:render_order_number_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:render_order_status_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:render_order_total_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:render_shipping_address_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:render_wc_actions_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:restrict_manage_posts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:search_custom_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:search_label\(\) should return string but returns array\|string\.$#'
identifier: return.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Method WC_Admin_List_Table_Orders\:\:search_label\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_billing_address_column\(\) expects WC_Order, object\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_order_date_column\(\) expects WC_Order, object\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_order_number_column\(\) expects WC_Order, object\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_order_status_column\(\) expects WC_Order, object\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_order_total_column\(\) expects WC_Order, object\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_shipping_address_column\(\) expects WC_Order, object\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_wc_actions_column\(\) expects WC_Order, object\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$term of function wc_order_search expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Part \$date_query \(array\|string\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 2
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Property WC_Admin_List_Table\:\:\$object \(object\|null\) does not accept bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Return type \(string\) of method WC_Admin_List_Table_Orders\:\:get_primary_column\(\) should be compatible with return type \(array\) of method WC_Admin_List_Table\:\:get_primary_column\(\)$#'
identifier: method.childReturnType
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Variable \$report_action might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
-
message: '#^Argument of an invalid type array\\|WP_Error supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:search_products\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Call to function is_array\(\) with array\{\} will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot access an offset on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_backorders\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_catalog_visibility\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_cogs_value\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_cogs_value_html\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_featured\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_global_unique_id\(\) on object\|null\.$#'
identifier: method.nonObject
count: 3
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_height\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_id\(\) on object\|null\.$#'
identifier: method.nonObject
count: 8
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_image\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_length\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_low_stock_amount\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_manage_stock\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_menu_order\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_parent_id\(\) on object\|null\.$#'
identifier: method.nonObject
count: 3
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_price_html\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_regular_price\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_sale_price\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_shipping_class\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_sku\(\) on object\|null\.$#'
identifier: method.nonObject
count: 3
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_stock_quantity\(\) on object\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_stock_status\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_tax_class\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_tax_status\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_type\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_virtual\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_weight\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method get_width\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method is_featured\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method is_in_stock\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method is_on_backorder\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot call method managing_stock\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
identifier: cast.int
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:add_custom_query_var\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:add_sample_product_badge\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:prepare_row_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_blank_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_cogs_value_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_featured_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_filters\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_global_unique_id_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_is_in_stock_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_name_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_price_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_product_cat_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_product_tag_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_products_category_filter\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_products_stock_status_filter\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_products_type_filter\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_sku_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:render_thumb_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Method WC_Admin_List_Table_Products\:\:search_label\(\) should return string but returns array\|string\.$#'
identifier: return.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_cat'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|null given\.$#'
identifier: argument.type
count: 3
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 5
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Property WC_Admin_List_Table\:\:\$object \(object\|null\) does not accept WC_Product\|false\|null\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Return type \(string\) of method WC_Admin_List_Table_Products\:\:get_primary_column\(\) should be compatible with return type \(array\) of method WC_Admin_List_Table\:\:get_primary_column\(\)$#'
identifier: method.childReturnType
count: 1
path: includes/admin/list-tables/class-wc-admin-list-table-products.php
-
message: '#^Action callback returns array but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Cannot access offset ''suggestions'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Cannot access offset ''updated'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Method WC_Marketplace_Suggestions\:\:get_dismissed_suggestions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Method WC_Marketplace_Suggestions\:\:get_suggestions_api_data\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Method WC_Marketplace_Suggestions\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Method WC_Marketplace_Suggestions\:\:maybe_trigger_suggestions_fetch\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Method WC_Marketplace_Suggestions\:\:post_add_dismissed_suggestion_handler\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Method WC_Marketplace_Suggestions\:\:product_data_panels\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Method WC_Marketplace_Suggestions\:\:render_orders_list_empty_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Method WC_Marketplace_Suggestions\:\:render_suggestions_container\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
-
message: '#^Cannot access offset ''suggestions'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
-
message: '#^Cannot access offset ''updated'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
-
message: '#^Method WC_Marketplace_Updater\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
-
message: '#^Method WC_Marketplace_Updater\:\:load\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
-
message: '#^Method WC_Marketplace_Updater\:\:retry\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
-
message: '#^Method WC_Marketplace_Updater\:\:update_marketplace_suggestions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
-
message: '#^Variable \$context might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/marketplace-suggestions/views/container.php
-
message: '#^Argument of an invalid type array\\|WP_Error supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Method WC_Meta_Box_Coupon_Data\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Method WC_Meta_Box_Coupon_Data\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_cat'' given\.$#'
identifier: argument.type
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''intval'' given\.$#'
identifier: argument.type
count: 4
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_order_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Call to an undefined method WC_Email\:\:trigger\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Cannot call method add_order_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Method WC_Meta_Box_Order_Actions\:\:get_trash_or_delete_order_link\(\) should return string but returns string\|null\.$#'
identifier: return.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Method WC_Meta_Box_Order_Actions\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Method WC_Meta_Box_Order_Actions\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Parameter \#1 \$order of method WC_Emails\:\:customer_invoice\(\) expects int\|WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
-
message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
identifier: property.notFound
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Cannot call method get_customer_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Cannot call method get_order_key\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Cannot call method get_payment_method\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Cannot call method save\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Cannot call method set_props\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Cannot call method set_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Cannot call method update_meta_data\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Default value of the parameter \#1 \$order \(false\) of method WC_Meta_Box_Order_Data\:\:get_billing_fields\(\) is incompatible with type WC_Order\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Default value of the parameter \#1 \$order \(false\) of method WC_Meta_Box_Order_Data\:\:get_shipping_fields\(\) is incompatible with type WC_Order\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Method WC_Meta_Box_Order_Data\:\:get_billing_fields\(\) should return array but returns WC_Order\|false\.$#'
identifier: return.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Method WC_Meta_Box_Order_Data\:\:get_shipping_fields\(\) should return array but returns WC_Order\|false\.$#'
identifier: return.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Method WC_Meta_Box_Order_Data\:\:init_address_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Method WC_Meta_Box_Order_Data\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Method WC_Meta_Box_Order_Data\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 5
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^PHPDoc tag @param has invalid value \(array @user_info An array containing one item with the name and email of the user currently selected as the customer for the order\.\)\: Unexpected token "@user", expected variable at offset 317 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^PHPDoc tag @param has invalid value \(array Billing fields\.\)\: Unexpected token "Billing", expected variable at offset 146 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^PHPDoc tag @param has invalid value \(array Shipping fields\.\)\: Unexpected token "Shipping", expected variable at offset 147 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^PHPDoc tag @param has invalid value \(bool TRUE if the note should be displayed\. FALSE otherwise\.\)\: Unexpected token "TRUE", expected variable at offset 167 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Parameter \#1 \$order of static method WC_Meta_Box_Order_Data\:\:get_billing_fields\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Parameter \#1 \$order of static method WC_Meta_Box_Order_Data\:\:get_shipping_fields\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Parameter \#2 \$format of function wc_format_datetime expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Parameter \#2 \$timestamp of function gmdate expects int, int\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
-
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
-
message: '#^Method WC_Meta_Box_Order_Downloads\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
-
message: '#^Method WC_Meta_Box_Order_Downloads\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
-
message: '#^Parameter \#1 \$date of method WC_Customer_Download\:\:set_access_expires\(\) expects int\|string\|null, int\|string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
-
message: '#^Parameter \#1 \$download of class WC_Customer_Download constructor expects array\|int\|object, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
-
message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
-
message: '#^Parameter \#1 \$value of method WC_Customer_Download\:\:set_downloads_remaining\(\) expects int\|string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
-
message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, list\ given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
-
message: '#^Method WC_Meta_Box_Order_Items\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-items.php
-
message: '#^Method WC_Meta_Box_Order_Items\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-items.php
-
message: '#^Method WC_Meta_Box_Order_Notes\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-order-notes.php
-
message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
identifier: cast.int
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-categories.php
-
message: '#^Method WC_Meta_Box_Product_Categories\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-categories.php
-
message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_cat'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-categories.php
-
message: '#^Call to an undefined method object\:\:delete_meta_data\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Call to an undefined method object\:\:get_data_store\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Call to an undefined method object\:\:get_stock_quantity\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Call to an undefined method object\:\:is_type\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Call to an undefined method object\:\:save\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Call to an undefined method object\:\:set_cogs_value\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Call to an undefined method object\:\:set_props\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Call to an undefined method object\:\:sort_all_product_variations\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Cannot access offset int on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Cannot call method get_data_store\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Cannot call method set_default_attributes\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Default value of the parameter \#1 \$data \(false\) of method WC_Meta_Box_Product_Data\:\:prepare_attributes\(\) is incompatible with type array\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Method WC_Meta_Box_Product_Data\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Method WC_Meta_Box_Product_Data\:\:output_tabs\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Method WC_Meta_Box_Product_Data\:\:output_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Method WC_Meta_Box_Product_Data\:\:product_data_tabs_sort\(\) should return bool but returns int\.$#'
identifier: return.type
count: 3
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Method WC_Meta_Box_Product_Data\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Method WC_Meta_Box_Product_Data\:\:save_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''intval'' given\.$#'
identifier: argument.type
count: 3
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$file_names of static method WC_Meta_Box_Product_Data\:\:prepare_downloads\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$name of function wc_attribute_taxonomy_id_by_name expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$string of function substr expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$time of function strtotime expects string, array\|string given\.$#'
identifier: argument.type
count: 4
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 19
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, list\ given\.$#'
identifier: argument.type
count: 2
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#2 \$file_urls of static method WC_Meta_Box_Product_Data\:\:prepare_downloads\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
identifier: argument.type
count: 4
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Parameter \#3 \$file_hashes of static method WC_Meta_Box_Product_Data\:\:prepare_downloads\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Static method WC_Meta_Box_Product_Data\:\:filter_non_variation_attributes\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Static method WC_Meta_Box_Product_Data\:\:get_product_data_tabs\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Static method WC_Meta_Box_Product_Data\:\:get_product_type_options\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Static method WC_Meta_Box_Product_Data\:\:output_tabs\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
-
message: '#^Call to an undefined method object\:\:save\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
-
message: '#^Call to an undefined method object\:\:set_gallery_image_ids\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
-
message: '#^Cannot call method get_gallery_image_ids\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
-
message: '#^Method WC_Meta_Box_Product_Images\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
-
message: '#^Method WC_Meta_Box_Product_Images\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
-
message: '#^Parameter \#1 \$str of function stripslashes expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
-
message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
-
message: '#^Access to an undefined property object\:\:\$comment_ID\.$#'
identifier: property.notFound
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
-
message: '#^Cannot access offset ''comment_ID'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
-
message: '#^Method WC_Meta_Box_Product_Reviews\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
-
message: '#^Parameter \#1 \$comment_id of function update_comment_meta expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
-
message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
-
message: '#^Method WC_Meta_Box_Product_Short_Description\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/meta-boxes/class-wc-meta-box-product-short-description.php
-
message: '#^Variable \$download might not be defined\.$#'
identifier: variable.undefined
count: 19
path: includes/admin/meta-boxes/views/html-order-download-permission.php
-
message: '#^Variable \$file_count might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-order-download-permission.php
-
message: '#^Variable \$loop might not be defined\.$#'
identifier: variable.undefined
count: 3
path: includes/admin/meta-boxes/views/html-order-download-permission.php
-
message: '#^Variable \$product might not be defined\.$#'
identifier: variable.undefined
count: 3
path: includes/admin/meta-boxes/views/html-order-download-permission.php
-
message: '#^Call to an undefined method object\:\:get_name\(\)\.$#'
identifier: method.notFound
count: 4
path: includes/admin/meta-boxes/views/html-order-fee.php
-
message: '#^Call to an undefined method object\:\:get_tax_class\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-fee.php
-
message: '#^Call to an undefined method object\:\:get_taxes\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-fee.php
-
message: '#^Call to an undefined method object\:\:get_total\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/admin/meta-boxes/views/html-order-fee.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/meta-boxes/views/html-order-fee.php
-
message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
identifier: argument.type
count: 4
path: includes/admin/meta-boxes/views/html-order-fee.php
-
message: '#^Variable \$order might not be defined\.$#'
identifier: variable.undefined
count: 7
path: includes/admin/meta-boxes/views/html-order-fee.php
-
message: '#^Variable \$order_taxes might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-order-fee.php
-
message: '#^Variable \$tax_item_total in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable
count: 1
path: includes/admin/meta-boxes/views/html-order-fee.php
-
message: '#^Call to an undefined method object\:\:get_all_formatted_meta_data\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-item-meta.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/meta-boxes/views/html-order-item-meta.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
identifier: method.notFound
count: 4
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
identifier: method.notFound
count: 6
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
identifier: method.notFound
count: 4
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 4
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, \(float\|int\\|int\<1, max\>\) given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
identifier: argument.type
count: 6
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Variable \$order might not be defined\.$#'
identifier: variable.undefined
count: 10
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Variable \$order_taxes might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-order-item.php
-
message: '#^Cannot access offset 0 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/meta-boxes/views/html-order-items.php
-
message: '#^Cannot call method can_refund_order\(\) on WC_Payment_Gateway\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/views/html-order-items.php
-
message: '#^Cannot call method get_title\(\) on WC_Payment_Gateway\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/views/html-order-items.php
-
message: '#^Variable \$order might not be defined\.$#'
identifier: variable.undefined
count: 76
path: includes/admin/meta-boxes/views/html-order-items.php
-
message: '#^Variable \$notes might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-order-notes.php
-
message: '#^Binary operation "\." between mixed and '', '' results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Call to an undefined method object\:\:get_amount\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Call to an undefined method object\:\:get_currency\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Call to an undefined method object\:\:get_date_created\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 5
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Call to an undefined method object\:\:get_reason\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Call to an undefined method object\:\:get_refunded_by\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Variable \$order_taxes might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-order-refund.php
-
message: '#^Call to an undefined method object\:\:get_method_id\(\)\.$#'
identifier: method.notFound
count: 3
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Call to an undefined method object\:\:get_name\(\)\.$#'
identifier: method.notFound
count: 3
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Call to an undefined method object\:\:get_taxes\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Call to an undefined method object\:\:get_total\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 5
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
identifier: argument.type
count: 4
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Variable \$order might not be defined\.$#'
identifier: variable.undefined
count: 7
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Variable \$order_taxes might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Variable \$shipping_methods might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Variable \$tax_item_total in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable
count: 1
path: includes/admin/meta-boxes/views/html-order-shipping.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-product-attribute-inner.php
-
message: '#^Variable \$attribute might not be defined\.$#'
identifier: variable.undefined
count: 15
path: includes/admin/meta-boxes/views/html-product-attribute-inner.php
-
message: '#^Variable \$i might not be defined\.$#'
identifier: variable.undefined
count: 9
path: includes/admin/meta-boxes/views/html-product-attribute-inner.php
-
message: '#^Variable \$attribute might not be defined\.$#'
identifier: variable.undefined
count: 5
path: includes/admin/meta-boxes/views/html-product-attribute.php
-
message: '#^Variable \$metabox_class might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-product-attribute.php
-
message: '#^Variable \$product_object might not be defined\.$#'
identifier: variable.undefined
count: 3
path: includes/admin/meta-boxes/views/html-product-data-advanced.php
-
message: '#^Variable \$product_object might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-product-data-attributes.php
-
message: '#^Cannot call method get_button_text\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/views/html-product-data-general.php
-
message: '#^Cannot call method get_product_url\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/views/html-product-data-general.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-product-data-general.php
-
message: '#^Variable \$product_object might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-product-data-general.php
-
message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/meta-boxes/views/html-product-data-inventory.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 2
path: includes/admin/meta-boxes/views/html-product-data-inventory.php
-
message: '#^PHPDoc tag @param has invalid value \(bool If false, "Allow backorders\?" will be shown as a select\. Default\: it will use radio buttons\.\)\: Unexpected token "If", expected variable at offset 158 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/meta-boxes/views/html-product-data-inventory.php
-
message: '#^PHPDoc tag @param has invalid value \(bool If false, the "Stock status" will be shown as a select\. Default\: it will use radio buttons\.\)\: Unexpected token "If", expected variable at offset 153 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/admin/meta-boxes/views/html-product-data-inventory.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-product-data-inventory.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-product-data-inventory.php
-
message: '#^Variable \$product_object might not be defined\.$#'
identifier: variable.undefined
count: 9
path: includes/admin/meta-boxes/views/html-product-data-inventory.php
-
message: '#^Variable \$post might not be defined\.$#'
identifier: variable.undefined
count: 3
path: includes/admin/meta-boxes/views/html-product-data-linked-products.php
-
message: '#^Variable \$product_object might not be defined\.$#'
identifier: variable.undefined
count: 4
path: includes/admin/meta-boxes/views/html-product-data-linked-products.php
-
message: '#^Calling self\:\:get_product_data_tabs\(\) outside of class scope\.$#'
identifier: outOfClass.self
count: 1
path: includes/admin/meta-boxes/views/html-product-data-panel.php
-
message: '#^Calling self\:\:get_product_type_options\(\) outside of class scope\.$#'
identifier: outOfClass.self
count: 1
path: includes/admin/meta-boxes/views/html-product-data-panel.php
-
message: '#^Calling self\:\:output_tabs\(\) outside of class scope\.$#'
identifier: outOfClass.self
count: 1
path: includes/admin/meta-boxes/views/html-product-data-panel.php
-
message: '#^Calling self\:\:output_variations\(\) outside of class scope\.$#'
identifier: outOfClass.self
count: 1
path: includes/admin/meta-boxes/views/html-product-data-panel.php
-
message: '#^Variable \$post might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/meta-boxes/views/html-product-data-panel.php
-
message: '#^Variable \$product_object might not be defined\.$#'
identifier: variable.undefined
count: 3
path: includes/admin/meta-boxes/views/html-product-data-panel.php
-
message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-product-data-shipping.php
-
message: '#^Parameter \#1 \$value of function wc_format_localized_decimal expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-product-data-shipping.php
-
message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-product-data-shipping.php
-
message: '#^Variable \$product_object might not be defined\.$#'
identifier: variable.undefined
count: 5
path: includes/admin/meta-boxes/views/html-product-data-shipping.php
-
message: '#^Cannot call method get_name\(\) on mixed\.$#'
identifier: method.nonObject
count: 6
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Cannot call method get_options\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Cannot call method get_terms\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Cannot call method is_taxonomy\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
identifier: constant.notFound
count: 3
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Variable \$modal_title might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Variable \$product_object might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Variable \$variations_count might not be defined\.$#'
identifier: variable.undefined
count: 5
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Variable \$variations_total_pages might not be defined\.$#'
identifier: variable.undefined
count: 5
path: includes/admin/meta-boxes/views/html-product-data-variations.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 3
path: includes/admin/meta-boxes/views/html-product-variation-download.php
-
message: '#^Class WP_Post referenced with incorrect case\: WP_POST\.$#'
identifier: class.nameCase
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
identifier: argument.type
count: 2
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$post_id of function wp_get_attachment_thumb_url expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 4
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Variable \$base_cost might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Variable \$loop might not be defined\.$#'
identifier: variable.undefined
count: 51
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Variable \$product_object might not be defined\.$#'
identifier: variable.undefined
count: 10
path: includes/admin/meta-boxes/views/html-variation-admin.php
-
message: '#^Access to an undefined property object\:\:\$label\.$#'
identifier: property.notFound
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Call to an undefined method object\:\:get_action\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Call to an undefined method object\:\:get_content\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Call to an undefined method object\:\:get_title\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Call to an undefined method object\:\:save\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Method WC_Notes_Refund_Returns\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Method WC_Notes_Refund_Returns\:\:possibly_add_note\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Result of \|\| is always true\.$#'
identifier: booleanOr.alwaysTrue
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Strict comparison using \!\=\= between false and Automattic\\WooCommerce\\Admin\\Notes\\Note will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: includes/admin/notes/class-wc-notes-refund-returns.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:add_action\(\) invoked with 7 parameters, 2\-6 required\.$#'
identifier: arguments.count
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method WC_Notes_Run_Db_Update\:\:add_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method WC_Notes_Run_Db_Update\:\:get_current_notice\(\) never returns null so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method WC_Notes_Run_Db_Update\:\:get_current_notice\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note\|null but empty return statement found\.$#'
identifier: return.empty
count: 2
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method WC_Notes_Run_Db_Update\:\:set_notice_actioned\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method WC_Notes_Run_Db_Update\:\:show_reminder\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method WC_Notes_Run_Db_Update\:\:update_done_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method WC_Notes_Run_Db_Update\:\:update_in_progress_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method WC_Notes_Run_Db_Update\:\:update_needed_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Offset ''nonce_action'' on array\{name\: ''update\-db_done'', label\: mixed, url\: string, status\: ''actioned'', primary\: true, nonce_action\: ''woocommerce_hide…'', nonce_name\: ''_wc_notice_nonce''\} in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
count: 1
path: includes/admin/notes/class-wc-notes-run-db-update.php
-
message: '#^Method WC_Plugin_Updates\:\:generic_modal_js\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/plugin-updates/class-wc-plugin-updates.php
-
message: '#^Method WC_Plugin_Updates\:\:get_extensions_inline_warning_major\(\) should return string but empty return statement found\.$#'
identifier: return.empty
count: 1
path: includes/admin/plugin-updates/class-wc-plugin-updates.php
-
message: '#^Method WC_Plugin_Updates\:\:get_extensions_inline_warning_major\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/admin/plugin-updates/class-wc-plugin-updates.php
-
message: '#^Method WC_Plugin_Updates\:\:get_extensions_modal_warning\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/admin/plugin-updates/class-wc-plugin-updates.php
-
message: '#^Method WC_Plugins_Screen_Updates\:\:get_upgrade_notice\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
-
message: '#^Method WC_Plugins_Screen_Updates\:\:in_plugin_update_message\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
-
message: '#^Method WC_Plugins_Screen_Updates\:\:plugin_screen_modal_js\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
-
message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
-
message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
-
message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
-
message: '#^Method WC_Updates_Screen_Updates\:\:update_screen_modal\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/plugin-updates/class-wc-updates-screen-updates.php
-
message: '#^Method WC_Updates_Screen_Updates\:\:update_screen_modal_js\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/plugin-updates/class-wc-updates-screen-updates.php
-
message: '#^Parameter \#1 \$new_version of method WC_Plugin_Updates\:\:get_untested_plugins\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/plugin-updates/class-wc-updates-screen-updates.php
-
message: '#^Property WC_Plugin_Updates\:\:\$new_version \(string\) does not accept array\|string\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/plugin-updates/class-wc-updates-screen-updates.php
-
message: '#^Variable \$message might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/plugin-updates/views/html-notice-untested-extensions-inline.php
-
message: '#^Variable \$plugins might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/plugin-updates/views/html-notice-untested-extensions-inline.php
-
message: '#^Variable \$upgrade_type might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/plugin-updates/views/html-notice-untested-extensions-inline.php
-
message: '#^Variable \$new_version might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/plugin-updates/views/html-notice-untested-extensions-modal.php
-
message: '#^Variable \$plugins might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/plugin-updates/views/html-notice-untested-extensions-modal.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Binary operation "\." between mixed and ''_array'' results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Cannot access property \$sparkline_value on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Default value of the parameter \#1 \$id \(string\) of method WC_Admin_Report\:\:get_sales_sparkline\(\) is incompatible with type int\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Default value of the parameter \#1 \$id \(string\) of method WC_Admin_Report\:\:sales_sparkline\(\) is incompatible with type int\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Method WC_Admin_Report\:\:add_update_transients_hook\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Method WC_Admin_Report\:\:calculate_current_range\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Method WC_Admin_Report\:\:check_current_range_nonce\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Method WC_Admin_Report\:\:enable_big_selects\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Method WC_Admin_Report\:\:get_export_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Method WC_Admin_Report\:\:get_main_chart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Method WC_Admin_Report\:\:maybe_update_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Method WC_Admin_Report\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Method WC_Admin_Report\:\:set_cached_query\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#1 \$data of method WC_Admin_Report\:\:prepare_chart_data\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#1 \$input of function str_pad expects string, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#2 \$now of function strtotime expects int, int\|false given\.$#'
identifier: argument.type
count: 4
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#2 \$now of function strtotime expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
identifier: argument.type
count: 3
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#2 \$timestamp of function date expects int, string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Part \$join_type \(mixed\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 3
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Part \$value\[''meta_key''\] \(mixed\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 2
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Property WC_Admin_Report\:\:\$end_date \(int\) does not accept int\|false\.$#'
identifier: assign.propertyType
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Property WC_Admin_Report\:\:\$start_date \(int\) does not accept int\|false\.$#'
identifier: assign.propertyType
count: 3
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$debug might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$filter_range might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$group_by might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$limit might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$nocache might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$order_by might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$order_status might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$order_types might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$query_type might not be defined\.$#'
identifier: variable.undefined
count: 3
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Variable \$where might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/reports/class-wc-admin-report.php
-
message: '#^Cannot access property \$coupon_code on mixed\.$#'
identifier: property.nonObject
count: 6
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Cannot access property \$coupon_count on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Cannot access property \$discount_amount on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Method WC_Report_Coupon_Usage\:\:coupons_widget\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Method WC_Report_Coupon_Usage\:\:get_export_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Method WC_Report_Coupon_Usage\:\:get_main_chart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Method WC_Report_Coupon_Usage\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$data of method WC_Admin_Report\:\:prepare_chart_data\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 7
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$text of function esc_js expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#1 \$value of function wc_selected expects int\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-coupon-usage.php
-
message: '#^Access to an undefined property WP_User_Query\:\:\$total_users\.$#'
identifier: property.notFound
count: 2
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Action callback returns WP_User_Query but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Cannot access offset 0 on non\-empty\-array\\|stdClass\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Method WC_Report_Customer_List\:\:column_default\(\) should return string but returns int\.$#'
identifier: return.type
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Method WC_Report_Customer_List\:\:column_default\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Method WC_Report_Customer_List\:\:no_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Method WC_Report_Customer_List\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Method WC_Report_Customer_List\:\:prepare_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: mixed, per_page\: 20, total_pages\: float\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: includes/admin/reports/class-wc-report-customer-list.php
-
message: '#^Cannot access property \$total_orders on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Method WC_Report_Customers\:\:customers_vs_guests\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Method WC_Report_Customers\:\:get_export_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Method WC_Report_Customers\:\:get_main_chart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Method WC_Report_Customers\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Parameter \#1 \$data of method WC_Admin_Report\:\:prepare_chart_data\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int given\.$#'
identifier: argument.type
count: 3
path: includes/admin/reports/class-wc-report-customers.php
-
message: '#^Access to an undefined property WC_Customer_Download\:\:\$order_id\.$#'
identifier: property.notFound
count: 2
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Access to an undefined property WC_Customer_Download\:\:\$product_id\.$#'
identifier: property.notFound
count: 2
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Access to an undefined property object\:\:\$download_id\.$#'
identifier: property.notFound
count: 2
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Access to an undefined property object\:\:\$order_id\.$#'
identifier: property.notFound
count: 2
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Access to an undefined property object\:\:\$permission_id\.$#'
identifier: property.notFound
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Access to an undefined property object\:\:\$product_id\.$#'
identifier: property.notFound
count: 2
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Access to an undefined property object\:\:\$user_id\.$#'
identifier: property.notFound
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Access to an undefined property object\:\:\$user_ip_address\.$#'
identifier: property.notFound
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Argument of an invalid type object supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Cannot access property \$permission_id on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Cannot access property \$timestamp on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Cannot access property \$user_id on mixed\.$#'
identifier: property.nonObject
count: 4
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Cannot access property \$user_ip_address on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Cannot call method get_file\(\) on array\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Cannot call method get_name\(\) on array\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 2
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Method WC_Report_Downloads\:\:column_default\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Method WC_Report_Downloads\:\:display_tablenav\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Method WC_Report_Downloads\:\:get_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Method WC_Report_Downloads\:\:no_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Method WC_Report_Downloads\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Method WC_Report_Downloads\:\:prepare_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: int, per_page\: mixed, total_pages\: float\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 5
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Parameter \#1 \$which of method WP_List_Table\:\:display_tablenav\(\) expects ''bottom''\|''top'', string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Variable \$permission in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 2
path: includes/admin/reports/class-wc-report-downloads.php
-
message: '#^Method WC_Report_Low_In_Stock\:\:get_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-low-in-stock.php
-
message: '#^Method WC_Report_Low_In_Stock\:\:no_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-low-in-stock.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-low-in-stock.php
-
message: '#^Method WC_Report_Most_Stocked\:\:get_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-most-stocked.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-most-stocked.php
-
message: '#^Method WC_Report_Out_Of_Stock\:\:get_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-out-of-stock.php
-
message: '#^Method WC_Report_Out_Of_Stock\:\:no_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-out-of-stock.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-out-of-stock.php
-
message: '#^Cannot access an offset on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Cannot access property \$order_item_amount on mixed\.$#'
identifier: property.nonObject
count: 4
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Cannot access property \$post_date on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Cannot access property \$product_id on mixed\.$#'
identifier: property.nonObject
count: 6
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Cannot access property \$term_id on WP_Error\|WP_Term\|null\.$#'
identifier: property.nonObject
count: 4
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Method WC_Report_Sales_By_Category\:\:category_widget\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Method WC_Report_Sales_By_Category\:\:get_export_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Method WC_Report_Sales_By_Category\:\:get_main_chart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Method WC_Report_Sales_By_Category\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_cat'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Parameter \#1 \$term_ids of function get_objects_in_term expects array\\|int, array\|\(ArrayAccess&WP_Error\) given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 6
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
identifier: echo.nonString
count: 1
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Parameter \#2 \$timestamp of function gmdate expects int, int\|false given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-category.php
-
message: '#^Binary operation "\-" between string and string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Binary operation "/" between string and int results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Cannot access property \$net_refund on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Cannot access property \$order_item_count on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Cannot access property \$total_refund on mixed\.$#'
identifier: property.nonObject
count: 4
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Cannot access property \$total_shipping on mixed\.$#'
identifier: property.nonObject
count: 6
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Cannot access property \$total_shipping_tax on mixed\.$#'
identifier: property.nonObject
count: 6
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Cannot access property \$total_tax on mixed\.$#'
identifier: property.nonObject
count: 6
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Method WC_Report_Sales_By_Date\:\:get_export_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Method WC_Report_Sales_By_Date\:\:get_main_chart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Method WC_Report_Sales_By_Date\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Method WC_Report_Sales_By_Date\:\:query_report_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Parameter \#1 \$text of function esc_js expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Parameter \#1 \$text of function esc_js expects string, int\|string\|false given\.$#'
identifier: argument.type
count: 4
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, list\ given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Parameter \#1 \.\.\.\$arg1 of function min expects non\-empty\-array, list\ given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int given\.$#'
identifier: argument.type
count: 9
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Property WC_Report_Sales_By_Date\:\:\$report_data \(stdClass\) in empty\(\) is not falsy\.$#'
identifier: empty.property
count: 1
path: includes/admin/reports/class-wc-report-sales-by-date.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 3
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Cannot access property \$order_item_qty on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Cannot access property \$order_item_total on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Cannot access property \$product_id on mixed\.$#'
identifier: property.nonObject
count: 12
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Method WC_Report_Sales_By_Product\:\:current_filters\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Method WC_Report_Sales_By_Product\:\:get_export_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Method WC_Report_Sales_By_Product\:\:get_main_chart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Method WC_Report_Sales_By_Product\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Method WC_Report_Sales_By_Product\:\:products_widget\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Parameter \#1 \$data of method WC_Admin_Report\:\:prepare_chart_data\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 6
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-sales-by-product.php
-
message: '#^Call to an undefined method WC_Report_Stock\:\:get_items\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Cannot access property \$id on mixed\.$#'
identifier: property.nonObject
count: 3
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Cannot access property \$parent on mixed\.$#'
identifier: property.nonObject
count: 3
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Method WC_Report_Stock\:\:column_default\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Method WC_Report_Stock\:\:display_tablenav\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Method WC_Report_Stock\:\:no_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Method WC_Report_Stock\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Method WC_Report_Stock\:\:prepare_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: int, per_page\: mixed, total_pages\: float\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Parameter \#1 \$which of method WP_List_Table\:\:display_tablenav\(\) expects ''bottom''\|''top'', string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-stock.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Cannot access property \$shipping_tax_amount on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Cannot access property \$tax_amount on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Cannot access property \$tax_rate on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Method WC_Report_Taxes_By_Code\:\:get_export_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Method WC_Report_Taxes_By_Code\:\:get_main_chart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Method WC_Report_Taxes_By_Code\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-code.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 3
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Binary operation "\*" between string and \-1 results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot access property \$post_date on mixed\.$#'
identifier: property.nonObject
count: 3
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot access property \$post_parent on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot access property \$shipping_tax_amount on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot access property \$tax_amount on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot access property \$total_orders on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot access property \$total_sales on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot access property \$total_shipping on mixed\.$#'
identifier: property.nonObject
count: 2
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot call method get_cart_tax\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot call method get_shipping_tax\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot call method get_shipping_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Method WC_Report_Taxes_By_Date\:\:get_export_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Method WC_Report_Taxes_By_Date\:\:get_main_chart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Method WC_Report_Taxes_By_Date\:\:output_report\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Parameter \#1 \$format of function date_i18n expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Parameter \#1 \$time of function strtotime expects string, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/reports/class-wc-report-taxes-by-date.php
-
message: '#^Constant WC_VERSION not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/settings/class-wc-settings-accounts.php
-
message: '#^Method WC_Settings_Accounts\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-accounts.php
-
message: '#^Method WC_Settings_Advanced\:\:notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-advanced.php
-
message: '#^Method WC_Settings_Advanced\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-advanced.php
-
message: '#^Method WC_Settings_Advanced\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-advanced.php
-
message: '#^Access to an undefined property object\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Call to an undefined method object\:\:admin_options\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Call to an undefined method object\:\:get_title\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^If condition is always false\.$#'
identifier: if.alwaysFalse
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:delete_transient_email_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:email_color_palette\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:email_font_family\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:email_image_url\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:email_notification_setting\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:email_notification_setting_block_emails\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:email_preview\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:email_preview_single\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:enable_email_improvements_when_trying_new_templates\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:get_custom_fonts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:run_email_admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Method WC_Settings_Emails\:\:track_email_improvements_feature_change\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
identifier: argument.type
count: 6
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-emails.php
-
message: '#^Constant WC_VERSION not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/settings/class-wc-settings-general.php
-
message: '#^Method WC_Settings_General\:\:color_picker\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-general.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-general.php
-
message: '#^Method WC_Settings_Integrations\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-integrations.php
-
message: '#^Property WooCommerce\:\:\$integrations \(WC_Integrations\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: includes/admin/settings/class-wc-settings-integrations.php
-
message: '#^Default value of the parameter \#2 \$section_id \(false\) of method WC_Settings_Page\:\:get_custom_view\(\) is incompatible with type string\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Method WC_Settings_Page\:\:add_settings_slot\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Method WC_Settings_Page\:\:do_update_options_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Method WC_Settings_Page\:\:get_custom_view\(\) should return string but returns array\\.$#'
identifier: return.type
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Method WC_Settings_Page\:\:get_custom_view\(\) should return string but returns null\.$#'
identifier: return.type
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Method WC_Settings_Page\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Method WC_Settings_Page\:\:output_sections\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Method WC_Settings_Page\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Method WC_Settings_Page\:\:save_settings_for_current_section\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Parameter \#1 \$section_id of method WC_Settings_Page\:\:get_settings_for_section\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/admin/settings/class-wc-settings-page.php
-
message: '#^Call to an undefined method object\:\:admin_options\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Expected 0 @param tags, found 1\.$#'
identifier: paramTag.count
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Method WC_Settings_Payment_Gateways\:\:hide_help_tabs\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Method WC_Settings_Payment_Gateways\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Method WC_Settings_Payment_Gateways\:\:render_classic_gateway_settings_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Method WC_Settings_Payment_Gateways\:\:render_react_section\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Method WC_Settings_Payment_Gateways\:\:run_gateway_admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Method WC_Settings_Payment_Gateways\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Method WC_Settings_Payment_Gateways\:\:suppress_admin_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, class\-string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Parameter \#2 \$callback of function remove_action expects array\|\(callable\(\)\: mixed\)\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-payment-gateways.php
-
message: '#^Method WC_Settings_Products\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-products.php
-
message: '#^Argument of an invalid type int supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Cannot access offset mixed on int\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Cannot call method display_errors\(\) on WC_Shipping_Method\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Cannot call method get_id\(\) on WC_Shipping_Zone\|true\.$#'
identifier: method.nonObject
count: 2
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Cannot call method get_shipping_methods\(\) on WC_Shipping_Zone\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Cannot call method get_zone_locations\(\) on WC_Shipping_Zone\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Cannot call method get_zone_name\(\) on WC_Shipping_Zone\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Cannot call method has_settings\(\) on WC_Shipping_Method\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Cannot call method process_admin_options\(\) on WC_Shipping_Method\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Method WC_Settings_Shipping\:\:get_region_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Method WC_Settings_Shipping\:\:instance_settings_screen\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Method WC_Settings_Shipping\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Method WC_Settings_Shipping\:\:output_shipping_class_screen\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Method WC_Settings_Shipping\:\:output_zones_screen\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Method WC_Settings_Shipping\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Method WC_Settings_Shipping\:\:zone_methods_screen\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Method WC_Settings_Shipping\:\:zones_screen\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Parameter \#1 \$allowed_countries of method WC_Settings_Shipping\:\:get_region_options\(\) expects int, array given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Parameter \#1 \$arr1 of function array_intersect expects array, null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Parameter \#1 \$input of function array_keys expects array, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, class\-string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Parameter \#1 \$zone_id of method WC_Settings_Shipping\:\:zone_methods_screen\(\) expects int, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Parameter \#2 \$shipping_continents of method WC_Settings_Shipping\:\:get_region_options\(\) expects int, array given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-shipping.php
-
message: '#^Argument of an invalid type array\|string supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Cannot access offset string on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Method WC_Settings_Tax\:\:conflict_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Method WC_Settings_Tax\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Method WC_Settings_Tax\:\:output_tax_rates\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Method WC_Settings_Tax\:\:save\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Method WC_Settings_Tax\:\:save_tax_rates\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Parameter \#1 \$array_arg of function key expects array\|object, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Parameter \#1 \$input of function array_values expects array, array\|object\|null given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Parameter \#1 \$raw_tax_classes of method WC_Settings_Tax\:\:save_tax_classes\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/class-wc-settings-tax.php
-
message: '#^Variable \$shipping_class_columns might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/settings/views/html-admin-page-shipping-classes.php
-
message: '#^Variable \$zone might not be defined\.$#'
identifier: variable.undefined
count: 6
path: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php
-
message: '#^Variable \$shipping_method might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/settings/views/html-admin-page-shipping-zones-instance.php
-
message: '#^Variable \$zone might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/settings/views/html-admin-page-shipping-zones-instance.php
-
message: '#^Variable \$method_count might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/settings/views/html-admin-page-shipping-zones.php
-
message: '#^Cannot access property \$ID on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/settings/views/html-keys-edit.php
-
message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/settings/views/html-keys-edit.php
-
message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/admin/settings/views/html-keys-edit.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/views/html-keys-edit.php
-
message: '#^Variable \$key_data might not be defined\.$#'
identifier: variable.undefined
count: 4
path: includes/admin/settings/views/html-keys-edit.php
-
message: '#^Variable \$key_id might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/settings/views/html-keys-edit.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/settings/views/html-settings-tax.php
-
message: '#^Variable \$current_class might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/settings/views/html-settings-tax.php
-
message: '#^Variable \$webhook might not be defined\.$#'
identifier: variable.undefined
count: 17
path: includes/admin/settings/views/html-webhooks-edit.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, \(float\|int\) given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-admin-dashboard-setup.php
-
message: '#^Variable \$button_link might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-admin-dashboard-setup.php
-
message: '#^Variable \$circle_dashoffset might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-admin-dashboard-setup.php
-
message: '#^Variable \$step_number might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/views/html-admin-dashboard-setup.php
-
message: '#^Variable \$tasks_count might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/views/html-admin-dashboard-setup.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-admin-page-product-export.php
-
message: '#^Variable \$current_report might not be defined\.$#'
identifier: variable.undefined
count: 4
path: includes/admin/views/html-admin-page-reports.php
-
message: '#^Variable \$current_tab might not be defined\.$#'
identifier: variable.undefined
count: 6
path: includes/admin/views/html-admin-page-reports.php
-
message: '#^Variable \$reports might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-admin-page-reports.php
-
message: '#^Variable \$log_table_list might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/views/html-admin-page-status-logs-db.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-admin-page-status-logs.php
-
message: '#^Parameter \#2 \$timestamp of function wp_date expects int\|null, int\<0, max\>\|false given\.$#'
identifier: argument.type
count: 3
path: includes/admin/views/html-admin-page-status-logs.php
-
message: '#^Variable \$logs might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-admin-page-status-logs.php
-
message: '#^Variable \$viewed_log might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-admin-page-status-logs.php
-
message: '#^Access to private property WooCommerce\:\:\$api\.$#'
identifier: property.private
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Call to method get_rest_api_package_path\(\) on an unknown class WC_API\.$#'
identifier: class.notFound
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Calling self\:\:output_plugins_info\(\) outside of class scope\.$#'
identifier: outOfClass.self
count: 2
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Calling self\:\:output_tables_info\(\) outside of class scope\.$#'
identifier: outOfClass.self
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''active_plugins'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''database'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''dropins_mu_plugins'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''environment'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''inactive_plugins'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''logging'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''offers'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''pages'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''post_type_counts'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''security'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''settings'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''theme'' on array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset ''version'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Cannot access offset 0 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Expression "\$dropins_count" on a separate line does not do anything\.$#'
identifier: expr.resultUnused
count: 2
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
identifier: argument.type
count: 4
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<1, max\> given\.$#'
identifier: argument.type
count: 2
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, \(array\|float\|int\) given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, string\|false given\.$#'
identifier: argument.type
count: 4
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Parameter \#2 \$release of method WC_Plugin_Updates\:\:get_untested_plugins\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Variable \$path might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-admin-page-status-report.php
-
message: '#^Variable \$tools might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-admin-page-status-tools.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-admin-page-status.php
-
message: '#^Variable \$tabs might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-admin-settings.php
-
message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-bulk-edit-product.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-bulk-edit-product.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string given\.$#'
identifier: argument.type
count: 6
path: includes/admin/views/html-bulk-edit-product.php
-
message: '#^Parameter \#1 \$value of function wc_format_localized_decimal expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-bulk-edit-product.php
-
message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-bulk-edit-product.php
-
message: '#^Variable \$shipping_class might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-bulk-edit-product.php
-
message: '#^Parameter \#2 \$pieces of function implode expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/views/html-notice-base-table-missing.php
-
message: '#^Variable \$notice might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-notice-custom.php
-
message: '#^Variable \$notice_html might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-notice-custom.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-notice-template-check.php
-
message: '#^Constant WC_PHP_MIN_REQUIREMENTS_NOTICE not found\.$#'
identifier: constant.notFound
count: 1
path: includes/admin/views/html-notice-wp-php-minimum-requirements.php
-
message: '#^Variable \$msg might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-notice-wp-php-minimum-requirements.php
-
message: '#^Parameter \#1 \$value of function wc_format_localized_decimal expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-quick-edit-product.php
-
message: '#^Variable \$shipping_class might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/admin/views/html-quick-edit-product.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/views/html-report-by-date.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-report-by-date.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/admin/views/html-report-by-date.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/views/html-report-by-date.php
-
message: '#^Variable \$current_range might not be defined\.$#'
identifier: variable.undefined
count: 4
path: includes/admin/views/html-report-by-date.php
-
message: '#^Variable \$ranges might not be defined\.$#'
identifier: variable.undefined
count: 2
path: includes/admin/views/html-report-by-date.php
-
message: '#^Variable \$this might not be defined\.$#'
identifier: variable.undefined
count: 5
path: includes/admin/views/html-report-by-date.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_stock_reduced\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:set_stock_reduced\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:set_amount\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Cannot access offset ''from'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/wc-admin-functions.php
-
message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/admin/wc-admin-functions.php
-
message: '#^Cannot call method add_order_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Cannot call method calculate_totals\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Cannot call method update_taxes\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Function wc_maybe_adjust_line_item_product_stock\(\) never returns WP_Error so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Function wc_render_invalid_variation_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Function wc_save_order_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Function woocommerce_admin_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Function woocommerce_settings_get_option\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Function woocommerce_update_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/admin/wc-admin-functions.php
-
message: '#^Parameter \#1 \$option_name of static method WC_Admin_Settings\:\:get_option\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Parameter \#1 \$postarr of function wp_insert_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{post_status\: string, post_type\: ''page'', post_author\: 1, post_name\: mixed, post_title\: string, post_content\: string, post_parent\: int, comment_status\: ''closed''\} given\.$#'
identifier: argument.type
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Parameter \#2 \$stock_quantity of function wc_update_product_stock expects int\|null, float\|int\<1, max\> given\.$#'
identifier: argument.type
count: 2
path: includes/admin/wc-admin-functions.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/admin/wc-admin-functions.php
-
message: '#^Function woocommerce_wp_checkbox\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-meta-box-functions.php
-
message: '#^Function woocommerce_wp_hidden_input\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-meta-box-functions.php
-
message: '#^Function woocommerce_wp_note\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-meta-box-functions.php
-
message: '#^Function woocommerce_wp_radio\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-meta-box-functions.php
-
message: '#^Function woocommerce_wp_select\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-meta-box-functions.php
-
message: '#^Function woocommerce_wp_text_input\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-meta-box-functions.php
-
message: '#^Function woocommerce_wp_textarea_input\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/wc-meta-box-functions.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/admin/wc-meta-box-functions.php
-
message: '#^Function woocommerce_legacy_reports_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/admin/woocommerce-legacy-reports.php
-
message: '#^@param array \$terms does not accept actual type of parameter\: array\\|numeric\-string\|WP_Error\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-ajax.php
-
message: '#^@param string \$search_text does not accept actual type of parameter\: array\|string\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-ajax.php
-
message: '#^@param string \$taxonomy does not accept actual type of parameter\: array\|string\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Access to an undefined property WP_Error\|WP_Term\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Access to an undefined property WP_Term\:\:\$formatted_name\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Access to an undefined property WP_Term\:\:\$parents\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Argument of an invalid type array\\|WP_Error supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Argument of an invalid type array\\|string supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Argument of an invalid type array\|stdClass supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 6
path: includes/class-wc-ajax.php
-
message: '#^Binary operation "\*" between \(float\|int\) and string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Binary operation "\*" between float and non\-falsy\-string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Binary operation "\*" between string and non\-falsy\-string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Binary operation "\-" between float and string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Binary operation "\." between ''Content\-Type\: text…'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:search_customers\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:search_products\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Call to an undefined method WC_Product\:\:get_available_variation\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Call to an undefined method object\:\:save\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Call to an undefined method object\:\:set_attributes\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset ''city'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset ''deleted'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset ''description'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset ''from'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset ''name'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset ''newRow'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 5
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset ''postcode'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset ''slug'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$ID on int\|WP_Post\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$added_by on stdClass\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$children on WP_Error\|WP_Term\|null\.$#'
identifier: property.nonObject
count: 4
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$content on stdClass\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$date_created on stdClass\|null\.$#'
identifier: property.nonObject
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$id on stdClass\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$name on WP_Term\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$parent on WP_Error\|WP_Term\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$slug on WP_Term\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$term_id on WP_Error\|WP_Term\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method add_item\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 4
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method add_order_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method add_product\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method calculate_taxes\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method calculate_taxes\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method calculate_totals\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method calculate_totals\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method create_all_product_variations\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method delete\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method delete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_attributes\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_billing_email\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_currency\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_data_store\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_downloads\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_errors\(\) on bool\|WC_Shipping_Method\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_formatted_name\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 5
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_id\(\) on bool\|WC_Shipping_Zone\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_id\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_instance_option_key\(\) on bool\|WC_Shipping_Method\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_item\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_items\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_parent_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_shipping_methods\(\) on bool\|WC_Shipping_Zone\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_status\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_stock_quantity\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_taxes\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_total_refunded\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_type\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method get_zone_name\(\) on bool\|WC_Shipping_Zone\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method hide_errors\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method is_editable\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method managing_stock\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method process_admin_options\(\) on bool\|WC_Shipping_Method\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method remove_coupon\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 8
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method set_cogs_value\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method set_date_on_sale_from\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method set_date_on_sale_to\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method set_low_stock_amount\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method set_post_data\(\) on bool\|WC_Shipping_Method\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method set_status\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method set_stock_quantity\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method sort_all_product_variations\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Cannot cast array\|string to string\.$#'
identifier: cast.string
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 2
path: includes/class-wc-ajax.php
-
message: '#^If condition is always false\.$#'
identifier: if.alwaysFalse
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_ajax_events\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_attribute\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_attributes_and_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_coupon_discount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_new_attribute\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_order_fee\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_order_item\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_order_note\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_order_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_order_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_to_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:add_variation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:apply_coupon\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:bulk_edit_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:calc_line_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:checkout\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:create_all_product_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:define_ajax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:delete_order_note\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:delete_refund\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:do_wc_ajax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:feature_product\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:get_cart_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:get_customer_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:get_customer_location\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:get_order_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:get_refreshed_fragments\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:get_variation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:grant_access_to_download\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:json_search_categories\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:json_search_categories_tree\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:json_search_customers\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:json_search_downloadable_products_and_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:json_search_pages\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:json_search_product_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:json_search_products\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:json_search_products_and_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:json_search_taxonomy_terms\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:link_all_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:load_order_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:load_status_widget\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:load_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:mark_order_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:order_add_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:product_ordering\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:rated\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:refund_line_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:remove_coupon\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:remove_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:remove_order_coupon\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:remove_order_item\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:remove_order_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:remove_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:render_variation_html\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:revoke_access_to_download\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:save_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:save_order_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:save_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:set_wc_ajax_argument_in_query\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:shipping_classes_save_changes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:shipping_zone_add_method\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:shipping_zone_methods_save_changes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:shipping_zone_methods_save_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:shipping_zone_remove_method\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:shipping_zones_save_changes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:tax_rates_save_changes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:term_ordering\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:toggle_gateway_enabled\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:update_api_key\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:update_order_review\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:update_order_review_expired\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:update_shipping_method\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_delete_all\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_downloadable\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_enabled\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_manage_stock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_virtual\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_download_expiry\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_download_limit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_height\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_length\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_low_stock_amount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_regular_price\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_regular_price_decrease\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_regular_price_increase\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_price\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_price_decrease\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_price_increase\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_schedule\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock_status_instock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock_status_onbackorder\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock_status_outofstock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_unset_cogs_value\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_weight\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_width\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_adjust_price\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_set\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:variation_bulk_toggle\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Method WC_AJAX\:\:wc_ajax_headers\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$amount of method WC_Order_Item_Fee\:\:set_total\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, array\{taxonomy\: array\{''product_cat''\}, orderby\: ''id'', order\: ''ASC'', hide_empty\: bool, fields\: ''all'', name__like\: non\-empty\-array\|non\-falsy\-string\} given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, array\{taxonomy\: array\{''product_cat''\}, orderby\: ''name'', order\: ''ASC'', hide_empty\: false, fields\: ''all'', number\: int, name__like\: array\|string\} given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, non\-falsy\-string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$arr1 of function array_intersect_key expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(array\|string\)\: mixed\)\|null, ''strtoupper'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(array\|string\)\: mixed\)\|null, ''wc_normalize…'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(int\|string\)\: mixed\)\|null, ''sanitize_title'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
identifier: argument.type
count: 8
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_clean'' given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_format_decimal'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$cart_item_key of method WC_Cart\:\:remove_cart_item\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$coupon_code of method WC_Cart\:\:remove_coupon\(\) expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$download of class WC_Customer_Download constructor expects array\|int\|object, int\\|int\<1, max\>\|true given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, string\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{''WC_AJAX'', non\-falsy\-string\} given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$haystack of function strstr expects string, array\|int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$instance_id of method WC_Shipping_Zone\:\:delete_shipping_method\(\) expects int, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 28
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$message of function wp_die expects string\|WP_Error, int given\.$#'
identifier: argument.type
count: 40
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$order of static method WC_Admin_List_Table_Orders\:\:order_preview_get_order_details\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$product of function wc_products_array_filter_readable expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$product_object of function wc_render_invalid_variation_notice expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$product_object of static method WC_AJAX\:\:base_cost_or_null\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$product_object of static method WC_AJAX\:\:render_variation_html\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$set of method WC_Shipping_Zone\:\:set_zone_name\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$stock_quantity of function wc_format_stock_quantity_for_display expects int, int\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 9
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$str of function trim expects string, array\|int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$string of function wc_strtoupper expects string, array\|string given\.$#'
identifier: argument.type
count: 12
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$tax_rate_id of static method WC_Tax\:\:_delete_tax_rate\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$tax_rate_id of static method WC_Tax\:\:_update_tax_rate\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$tax_rate_id of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$tax_rate_id of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$term of function wp_insert_term expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$the_term of function wc_reorder_terms expects int, WP_Term given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$time of function strtotime expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, class\-string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$type of method WC_Shipping_Zone\:\:add_shipping_method\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$value of function wc_format_coupon_code expects string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$value of method WC_Order_Item_Fee\:\:set_amount\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$value of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:is_null_or_whitespace\(\) expects string\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$value of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:is_null_or_whitespace\(\) expects string\|null, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, array\|int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 52
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$zone of class WC_Shipping_Zone constructor expects int\|object\|null, array\|string given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$zone of class WC_Shipping_Zone constructor expects int\|object\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#1 \$zone_id of static method WC_Shipping_Zones\:\:delete_zone\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\ given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$needle of function stripos expects int\|string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$newvalue of function ini_set expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$next_id of function wc_reorder_terms expects int, int\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$post of static method WC_Meta_Box_Product_Data\:\:save_variations\(\) expects WP_Post, WP_Post\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\ given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$product of function wc_format_stock_quantity_for_display expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$product_type of static method WC_Product_Factory\:\:get_product_classname\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#3 \$args of function wp_insert_term expects array\{alias_of\?\: string, description\?\: string, parent\?\: int, slug\?\: string\}, array\{name\: non\-empty\-array\|non\-falsy\-string, slug\?\: non\-empty\-array\|non\-falsy\-string, description\?\: non\-empty\-array\|non\-falsy\-string\} given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#3 \$args of function wp_update_term expects array\{alias_of\?\: string, description\?\: string, parent\?\: int, slug\?\: string\}, array\{\}\|array\{name\?\: array\|string, slug\?\: array\|string, description\?\: array\|string\} given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#3 \$order of function wc_downloadable_file_permission expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#3 \$taxonomy of function get_term_by expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
message: '#^Parameter \#4 \$value of static method WC_AJAX\:\:variation_bulk_adjust_price\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 4
path: includes/class-wc-ajax.php
-
message: '#^Part \$bulk_action \(array\|string\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 2
path: includes/class-wc-ajax.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 3
path: includes/class-wc-ajax.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 28
path: includes/class-wc-ajax.php
-
message: '#^Method WC_Auth\:\:add_endpoint\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-auth.php
-
message: '#^Method WC_Auth\:\:auth_endpoint\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-auth.php
-
message: '#^Method WC_Auth\:\:handle_auth_requests\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-auth.php
-
message: '#^Method WC_Auth\:\:make_validation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-auth.php
-
message: '#^Method WC_Auth\:\:maybe_delete_key\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#1 \$app_name of method WC_Auth\:\:create_keys\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#1 \$scope of method WC_Auth\:\:get_i18n_scope\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#1 \$scope of method WC_Auth\:\:get_permissions_in_scope\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#1 \$str of function strtolower expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#1 \$string of function wc_trim_string expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#1 \$url of method WC_Auth\:\:get_formatted_url\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 7
path: includes/class-wc-auth.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 10
path: includes/class-wc-auth.php
-
message: '#^Parameter \#2 \$app_user_id of method WC_Auth\:\:create_keys\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#2 \$args of function wp_safe_remote_post expects array\{method\?\: string, timeout\?\: float, redirection\?\: int, httpversion\?\: string, user\-agent\?\: string, reject_unsafe_urls\?\: bool, blocking\?\: bool, headers\?\: array\|string, \.\.\.\}, array\{body\: non\-empty\-string\|false, timeout\: 60, headers\: array\{Content\-Type\: non\-falsy\-string\}\} given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Parameter \#3 \$scope of method WC_Auth\:\:create_keys\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-auth.php
-
message: '#^Cannot call method getPathname\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-autoloader.php
-
message: '#^Cannot call method isDir\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-autoloader.php
-
message: '#^Method WC_Autoloader\:\:autoload\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-autoloader.php
-
message: '#^Parameter \#1 \$autoload_function of function spl_autoload_register expects callable\(string\)\: void, ''__autoload'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-autoloader.php
-
message: '#^Call to function is_callable\(\) with ''fastcgi_finish…'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/class-wc-background-emailer.php
-
message: '#^Method WC_Background_Emailer\:\:close_http_connection\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-background-emailer.php
-
message: '#^Method WC_Background_Emailer\:\:dispatch_queue\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-background-emailer.php
-
message: '#^Method WC_Background_Emailer\:\:handle\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-background-emailer.php
-
message: '#^Method WC_Background_Emailer\:\:schedule_event\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-background-emailer.php
-
message: '#^Parameter \#1 \$hook of function wp_next_scheduled expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-background-emailer.php
-
message: '#^Parameter \#2 \$recurrence of function wp_schedule_event expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-background-emailer.php
-
message: '#^Parameter \#3 \$hook of function wp_schedule_event expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-background-emailer.php
-
message: '#^Method WC_Background_Updater\:\:complete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-background-updater.php
-
message: '#^Method WC_Background_Updater\:\:dispatch\(\) should return array\|WP_Error but return statement is missing\.$#'
identifier: return.missing
count: 2
path: includes/class-wc-background-updater.php
-
message: '#^Method WC_Background_Updater\:\:handle_cron_healthcheck\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-background-updater.php
-
message: '#^Method WC_Background_Updater\:\:schedule_event\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-background-updater.php
-
message: '#^Parameter \#1 \$hook of function wp_next_scheduled expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-background-updater.php
-
message: '#^Parameter \#2 \$recurrence of function wp_schedule_event expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-background-updater.php
-
message: '#^Parameter \#3 \$hook of function wp_schedule_event expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-background-updater.php
-
message: '#^Method WC_Brands_Brand_Settings_Manager\:\:set_brand_settings_on_coupon\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands-brand-settings-manager.php
-
message: '#^Access to an undefined property object\:\:\$product\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-brands-coupons.php
-
message: '#^Cannot call method get_items\(\) on WC_Discounts\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-brands-coupons.php
-
message: '#^Method WC_Brands_Coupons\:\:get_product_brands\(\) should return array but returns list\\|WP_Error\.$#'
identifier: return.type
count: 1
path: includes/class-wc-brands-coupons.php
-
message: '#^@param array \$terms does not accept actual type of parameter\: array\\|WP_Error\|false\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-brands.php
-
message: '#^@param string \$brand_output does not accept actual type of parameter\: array\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-brands.php
-
message: '#^Action callback returns WC_Product but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/class-wc-brands.php
-
message: '#^Argument of an invalid type array\\|WP_Error supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-brands.php
-
message: '#^Argument of an invalid type array\\|WP_Error supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: includes/class-wc-brands.php
-
message: '#^Binary operation "\." between mixed and ''taxonomy\-'' results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-brands.php
-
message: '#^Binary operation "\." between mixed and non\-falsy\-string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-brands.php
-
message: '#^Call to method get_id\(\) on an unknown class BlockTemplateInterface\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-brands.php
-
message: '#^Call to method get_section_by_id\(\) on an unknown class BlockTemplateInterface\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-brands.php
-
message: '#^Cannot access offset ''brands'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-brands.php
-
message: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-brands.php
-
message: '#^Cannot access property \$name on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-brands.php
-
message: '#^Cannot access property \$slug on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-brands.php
-
message: '#^Cannot access property \$taxonomy on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
identifier: property.nonObject
count: 3
path: includes/class-wc-brands.php
-
message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:add_body_class\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:body_class\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:brand_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:duplicate_add_product_brand_terms\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) has parameter \$original with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) should return WC_Product but empty return statement found\.$#'
identifier: return.empty
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) should return WC_Product but return statement is missing\.$#'
identifier: return.missing
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:get_brand_name_first_character\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:init_taxonomy\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:init_widgets\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:output_product_brand\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:output_product_brand_list\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:output_product_brand_thumbnails\(\) with return type void returns string\|false but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:output_product_brand_thumbnails_description\(\) with return type void returns string\|false but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:recount_after_stock_change\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:recount_all_brands\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:register_hooks\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:register_shortcodes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:reset_layered_nav_counts_on_status_change\(\) has parameter \$new_status with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:reset_layered_nav_counts_on_status_change\(\) has parameter \$old_status with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:reset_layered_nav_counts_on_status_change\(\) has parameter \$post with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:rest_api_add_brands_to_product\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:rest_api_add_brands_to_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:rest_api_filter_products_by_brand\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:rest_api_maybe_set_brands\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:show_brand\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:styles\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:template_loader\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Method WC_Brands\:\:wc_brands_on_block_template_register\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-brands.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_brand'' given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-brands.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-brands.php
-
message: '#^Parameter \#1 \$post_id of function wp_get_post_terms expects int, int\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-brands.php
-
message: '#^Parameter \#1 \$terms of function _wc_term_recount expects array, array\\|WP_Error given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-brands.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-brands.php
-
message: '#^Parameter \#2 \$atts of function shortcode_atts expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-brands.php
-
message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-brands.php
-
message: '#^Parameter \#2 \$taxonomy of function _wc_term_recount expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-brands.php
-
message: '#^Parameter \#2 \$terms of function wp_set_object_terms expects array\|int\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-brands.php
-
message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-brands.php
-
message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-brands.php
-
message: '#^Parameter \$template of method WC_Brands\:\:wc_brands_on_block_template_register\(\) has invalid type BlockTemplateInterface\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-brands.php
-
message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-breadcrumb.php
-
message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Cannot access property \$post_parent on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Cannot call method get_queried_object\(\) on mixed\.$#'
identifier: method.nonObject
count: 5
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumb\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_404\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_attachment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_author\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_category\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_date\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_home\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_post_type_archive\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_product_category\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_product_tag\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_shop\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_single\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_tag\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:add_crumbs_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:endpoint_trail\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:paged_trail\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:prepend_shop_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:reset\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:search_trail\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Method WC_Breadcrumb\:\:term_ancestors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#1 \$name of method WC_Breadcrumb\:\:add_crumb\(\) expects string, int\|string\|false given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#1 \$name of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#1 \$post_type of function get_post_type_archive_link expects string, string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#1 \$post_type of function get_post_type_object expects string, string\|false given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#1 \$year of function get_month_link expects int\|false, int\|string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#1 \$year of function get_year_link expects int\|false, int\|string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#2 \$link of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|WP_Error given\.$#'
identifier: argument.type
count: 6
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#2 \$link of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|false given\.$#'
identifier: argument.type
count: 7
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#2 \$month of function get_month_link expects int\|false, int\|string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#2 \$permalink of method WC_Breadcrumb\:\:add_crumbs_single\(\) expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-breadcrumb.php
-
message: '#^Action callback returns array\ but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Binary operation "\." between ''wc_cache_'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:clean_term_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:delete_transients_on_shutdown\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:delete_version_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:geolocation_ajax_redirect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:get_transient_version\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:incr_cache_prefix\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:invalidate_attribute_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:invalidate_cache_group\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:queue_delete_transient\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Method WC_Cache_Helper\:\:update_geolocation_hash\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Parameter \#1 \$arr1 of function array_diff expects array, list\\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Parameter \#1 \$arr1 of function array_merge expects array, list\\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, array\\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cache-helper.php
-
message: '#^Cannot access property \$name on string\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-cart-fees.php
-
message: '#^Method WC_Cart_Fees\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-fees.php
-
message: '#^Method WC_Cart_Fees\:\:remove_all_fees\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-fees.php
-
message: '#^Method WC_Cart_Fees\:\:set_fees\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-fees.php
-
message: '#^Method WC_Cart_Fees\:\:sort_fees_callback\(\) should return int but returns stdClass\.$#'
identifier: return.type
count: 1
path: includes/class-wc-cart-fees.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-cart-fees.php
-
message: '#^PHPDoc tag @param has invalid value \(int Sort order, \-1 or 1\.\)\: Unexpected token "Sort", expected variable at offset 75 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-cart-fees.php
-
message: '#^Parameter \#1 \$args of method WC_Cart_Fees\:\:add_fee\(\) expects array, object given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-fees.php
-
message: '#^Parameter \#1 \$fee of method WC_Cart_Fees\:\:generate_id\(\) expects string, stdClass given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-fees.php
-
message: '#^@param array \$values does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 5
path: includes/class-wc-cart-session.php
-
message: '#^@param bool \$session does not accept actual type of parameter\: \$this\(WC_Cart_Session\)\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^@param string \$key does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 5
path: includes/class-wc-cart-session.php
-
message: '#^Action callback returns bool but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Cannot access offset ''data_hash'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Cannot access offset ''product_id'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Cannot access offset ''quantity'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Cannot access offset ''variation_id'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 3
path: includes/class-wc-cart-session.php
-
message: '#^Cannot call method get_items\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Cannot call method has_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:clean_up_removed_cart_contents\(\) should return bool but empty return statement found\.$#'
identifier: return.empty
count: 2
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:clean_up_removed_cart_contents\(\) should return bool but return statement is missing\.$#'
identifier: return.missing
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:dedupe_cookies\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:destroy_cart_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:get_cart_from_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:maybe_set_cart_cookies\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:persistent_cart_destroy\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:persistent_cart_update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:populate_cart_from_order\(\) should return array but empty return statement found\.$#'
identifier: return.empty
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:set_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:set_cart_cookies\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Method WC_Cart_Session\:\:set_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$known_string of function hash_equals expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$product of function wc_get_cart_item_data_hash expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_applied_coupons\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_tax_totals\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_totals\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_removed_cart_contents\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_totals\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#2 \$cart of method WC_Cart_Session\:\:populate_cart_from_order\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#2 \$value of function wc_setcookie expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-session.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 5
path: includes/class-wc-cart-session.php
-
message: '#^Access to an undefined property object\:\:\$price\.$#'
identifier: property.notFound
count: 7
path: includes/class-wc-cart-totals.php
-
message: '#^Access to an undefined property object\:\:\$price_includes_tax\.$#'
identifier: property.notFound
count: 2
path: includes/class-wc-cart-totals.php
-
message: '#^Access to an undefined property object\:\:\$product\.$#'
identifier: property.notFound
count: 4
path: includes/class-wc-cart-totals.php
-
message: '#^Access to an undefined property object\:\:\$tax_rates\.$#'
identifier: property.notFound
count: 3
path: includes/class-wc-cart-totals.php
-
message: '#^Access to an undefined property object\:\:\$taxable\.$#'
identifier: property.notFound
count: 2
path: includes/class-wc-cart-totals.php
-
message: '#^Binary operation "\*" between array\|float\|int\ and \(float\|int\) results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$key on array\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$object on array\.$#'
identifier: property.nonObject
count: 9
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$price on array\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$price_includes_tax on array\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$product on array\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$quantity on array\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$tax_class on array\.$#'
identifier: property.nonObject
count: 3
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$tax_rates on array\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$taxable on array\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$taxes on array\.$#'
identifier: property.nonObject
count: 7
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$total on array\.$#'
identifier: property.nonObject
count: 10
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot access property \$total_tax on array\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-cart-totals.php
-
message: '#^Cannot clone non\-object variable \$default_shipping_props of type array\.$#'
identifier: clone.nonObject
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Invalid array key type object\.$#'
identifier: offsetAccess.invalidOffset
count: 3
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:__construct\(\) never assigns null to &\$cart so it can be removed from the by\-ref type\.$#'
identifier: parameterByRef.unusedType
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:calculate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:calculate_discounts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:calculate_fee_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:calculate_item_subtotals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:calculate_item_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:calculate_shipping_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:calculate_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:get_coupons_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:get_default_fee_props\(\) should return array but returns object\{object\: null, tax_class\: string, taxable\: bool, total_tax\: int, taxes\: array\}&stdClass\.$#'
identifier: return.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:get_default_item_props\(\) should return array but returns object\{object\: null, tax_class\: string, taxable\: bool, quantity\: int, product\: bool, price_includes_tax\: bool, subtotal\: int, subtotal_tax\: int, subtotal_taxes\: array, total\: int, total_tax\: int, taxes\: array\}&stdClass\.$#'
identifier: return.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:get_default_shipping_props\(\) should return array but returns object\{object\: null, tax_class\: string, taxable\: bool, total\: int, total_tax\: int, taxes\: array\}&stdClass\.$#'
identifier: return.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:get_fees_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:get_items_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:get_merged_taxes\(\) should return array but returns array\|int\.$#'
identifier: return.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:get_shipping_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:get_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Method WC_Cart_Totals\:\:set_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^PHPDoc tag @return has invalid value \(array\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 189 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$item of method WC_Cart_Totals\:\:get_item_tax_rates\(\) expects object, array given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$item_key of method WC_Cart_Totals\:\:get_discounted_price_in_cents\(\) expects object, \(int\|string\) given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Cart\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$price of static method WC_Tax\:\:calc_tax\(\) expects float, array\|float\|int\<0, max\> given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of function wc_add_number_precision_deep expects array, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, \(float\|int\) given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, array\|float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_cart_contents_tax\(\) expects string, \(float\|int\) given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_cart_contents_total\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_tax_totals\(\) expects array, array\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_totals\(\) expects array, array\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_discount_tax\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_discount_total\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_fee_tax\(\) expects string, array\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_fee_taxes\(\) expects array, array\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_fee_total\(\) expects string, array\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_tax\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_taxes\(\) expects array, array\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_total\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_subtotal\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_subtotal_tax\(\) expects string, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_total_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#2 \$array of function array_map expects array, array\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#2 \$total of method WC_Cart_Totals\:\:set_total\(\) expects int, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart-totals.php
-
message: '#^Parameter \#2 \$total of method WC_Cart_Totals\:\:set_total\(\) expects int, float\|int given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-cart-totals.php
-
message: '#^@param int \$stock_quantity does not accept actual type of parameter\: int\|null\.$#'
identifier: parameter.phpDocType
count: 2
path: includes/class-wc-cart.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-cart.php
-
message: '#^Access to an undefined property WC_Cart\:\:\$coupon_discount_tax_totals\.$#'
identifier: property.notFound
count: 3
path: includes/class-wc-cart.php
-
message: '#^Access to an undefined property WC_Cart\:\:\$coupon_discount_totals\.$#'
identifier: property.notFound
count: 3
path: includes/class-wc-cart.php
-
message: '#^Access to an undefined property WC_Cart\:\:\$shipping_tax_total\.$#'
identifier: property.notFound
count: 3
path: includes/class-wc-cart.php
-
message: '#^Access to an undefined property WC_Cart\:\:\$shipping_total\.$#'
identifier: property.notFound
count: 2
path: includes/class-wc-cart.php
-
message: '#^Binary operation "\+" between float\|int\|string and float results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/class-wc-cart.php
-
message: '#^Binary operation "\-" between float\|string and float results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-cart.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-cart.php
-
message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-cart.php
-
message: '#^Call to an undefined method object\:\:get_tentative_usages_for_user\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-cart.php
-
message: '#^Call to an undefined method object\:\:get_usage_by_email\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-cart.php
-
message: '#^Callback expects 1 parameter, \$accepted_args is set to 2\.$#'
identifier: arguments.count
count: 1
path: includes/class-wc-cart.php
-
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-cart.php
-
message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-cart.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 3
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:add_fee\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:calculate_fees\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:calculate_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:calculate_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:check_cart_coupons\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:check_cart_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:check_customer_coupons\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:empty_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:find_product_in_cart\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:get_cart_contents_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:get_displayed_subtotal\(\) should return string but returns float\.$#'
identifier: return.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:get_fee_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:get_shipping_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:get_tax_price_display_mode\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:remove_coupons\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:reset_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_applied_coupons\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_cart_contents\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_cart_contents_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_cart_contents_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_cart_contents_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_coupon_discount_tax_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_coupon_discount_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_discount_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_discount_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_fee_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_fee_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_fee_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_removed_cart_contents\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_shipping_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_shipping_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_shipping_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_subtotal\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_subtotal_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_total_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Method WC_Cart\:\:set_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, float\|string given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$product_id of method WC_Cart\:\:generate_cart_id\(\) expects int, int\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$stock_quantity of function wc_format_stock_quantity_for_display expects int, int\|null given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$value of function wc_round_tax_total expects float, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_tax\(\) expects string, \(float\|int\) given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_tax\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_total\(\) expects string, \(float\|int\) given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_total\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-cart.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 1
path: includes/class-wc-cart.php
-
message: '#^Strict comparison using \!\=\= between 0 and mixed will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: includes/class-wc-cart.php
-
message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
identifier: property.notFound
count: 3
path: includes/class-wc-checkout.php
-
message: '#^Call to an undefined method WC_Session\:\:save_data\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method get_checkout_order_received_url\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method has_cart_hash\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method has_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method hold_applied_coupons\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method payment_complete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method remove_order_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method set_cart_hash\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method set_created_via\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method set_currency\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method set_customer_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method set_customer_ip_address\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method set_customer_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method set_customer_user_agent\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method set_payment_method\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method set_prices_include_tax\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Cannot call method update_meta_data\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Class WP_Error referenced with incorrect case\: WP_ERROR\.$#'
identifier: class.nameCase
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:__get\(\) should return array\|string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:__get\(\) should return array\|string but returns bool\.$#'
identifier: return.type
count: 3
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:check_cart_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:checkout_form_billing\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:checkout_form_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:create_order_coupon_lines\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:create_order_fee_lines\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:create_order_line_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:create_order_shipping_lines\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:create_order_tax_lines\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:get_checkout_fields\(\) should return array but returns array\|null\.$#'
identifier: return.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:get_value\(\) should return string but returns array\|string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:initialize_checkout_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:process_checkout\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:process_customer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:process_order_payment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:process_order_without_payment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:send_ajax_failure_response\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:set_customer_address_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:set_data_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:update_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:validate_checkout\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Method WC_Checkout\:\:validate_posted_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-checkout.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-checkout.php
-
message: '#^PHPDoc tag @param has invalid value \(int The current user''s ID \(this may be 0 if no user is logged in\)\.\)\: Unexpected token "The", expected variable at offset 170 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_strtoupper'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$order of method WC_Checkout\:\:set_data_from_cart\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_cart_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_total\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_total\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total\(\) expects string, float\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#2 \$chosen_shipping_methods of method WC_Checkout\:\:create_order_shipping_lines\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#2 \$default of function wc_get_var expects string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#2 \$pieces of function implode expects array, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Parameter \#3 \$data of function wc_add_notice expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Property WC_Checkout\:\:\$fields \(array\|null\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Property WC_Checkout\:\:\$legacy_posted_data \(array\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-checkout.php
-
message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-cli.php
-
message: '#^Call to static method add_hook\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 10
path: includes/class-wc-cli.php
-
message: '#^Method WC_CLI\:\:add_blueprint_cli_hook\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cli.php
-
message: '#^Method WC_CLI\:\:hooks\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cli.php
-
message: '#^Method WC_CLI\:\:includes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-cli.php
-
message: '#^Action callback returns array but should not return anything\.$#'
identifier: return.void
count: 2
path: includes/class-wc-comments.php
-
message: '#^Action callback returns bool but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/class-wc-comments.php
-
message: '#^Cannot access property \$comment_author_email on WP_Comment\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-comments.php
-
message: '#^Cannot access property \$comment_post_ID on WP_Comment\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-comments.php
-
message: '#^Cannot access property \$user_id on WP_Comment\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-comments.php
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:add_comment_rating\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:clear_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:delete_comments_count_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:exclude_order_comments_from_feed_join\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:exclude_webhook_comments_from_feed_join\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:get_average_rating_for_product\(\) should return float but returns int\|string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:get_products_reviews_pending_moderation_counter\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:validate_product_review_verified_owners\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-comments.php
-
message: '#^Method WC_Comments\:\:wp_count_comments\(\) should return object but returns array\|object\.$#'
identifier: return.type
count: 1
path: includes/class-wc-comments.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-comments.php
-
message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, string given\.$#'
identifier: argument.type
count: 5
path: includes/class-wc-comments.php
-
message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-comments.php
-
message: '#^Parameter \#2 \$user_id of function wc_customer_bought_product expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-comments.php
-
message: '#^Parameter \#3 \$args of function wp_die expects array\{response\?\: int, link_url\?\: string, link_text\?\: string, back_link\?\: bool, text_direction\?\: string, charset\?\: string, code\?\: string, exit\?\: bool\}\|int, array\{code\: 403\} given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-comments.php
-
message: '#^Parameter \#3 \$product_id of function wc_customer_bought_product expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-comments.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: includes/class-wc-comments.php
-
message: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
identifier: property.notFound
count: 5
path: includes/class-wc-countries.php
-
message: '#^Access to an undefined property WC_Countries\:\:\$states\.$#'
identifier: property.notFound
count: 2
path: includes/class-wc-countries.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 5
path: includes/class-wc-countries.php
-
message: '#^Method WC_Countries\:\:country_dropdown_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-countries.php
-
message: '#^Method WC_Countries\:\:load_country_states\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-countries.php
-
message: '#^Parameter \#2 \$str of function explode expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-countries.php
-
message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-countries.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 6
path: includes/class-wc-countries.php
-
message: '#^Access to an undefined property WC_Cart\:\:\$subtotal\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Access to an undefined property WC_Cart\:\:\$subtotal_ex_tax\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Call to an undefined method object\:\:decrease_usage_count\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Call to an undefined method object\:\:increase_usage_count\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Cannot access offset 0 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Cannot access offset 1 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Cannot access offset 2 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Cannot access offset 3 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Cannot access offset 4 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Cannot cast mixed to float\.$#'
identifier: cast.double
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:add_coupon_message\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:decrease_usage_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_code\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_date_expires\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_description\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_discount_type\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_email_restrictions\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_exclude_sale_items\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_excluded_product_categories\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_excluded_product_ids\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_free_shipping\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_individual_use\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_limit_usage_to_x_items\(\) should return int\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_product_categories\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_product_ids\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_short_info\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_status\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_usage_count\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_usage_limit\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_usage_limit_per_user\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:get_used_by\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:increase_usage_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:read_manual_coupon\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:read_object_from_database\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_amount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_code\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_date_created\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_date_expires\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_date_modified\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_discount_type\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_discount_type_core\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_email_restrictions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_exclude_sale_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_excluded_product_categories\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_excluded_product_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_free_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_individual_use\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_limit_usage_to_x_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_maximum_amount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_minimum_amount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_product_categories\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_product_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_short_info\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_usage_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_usage_limit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_usage_limit_per_user\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_used_by\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Coupon\:\:set_virtual\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$amount of method WC_Coupon\:\:set_amount\(\) expects float\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$code of method WC_Coupon\:\:read_manual_coupon\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$code of method WC_Coupon\:\:set_code\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$discount_type of method WC_Coupon\:\:set_discount_type_core\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$free_shipping of method WC_Coupon\:\:set_free_shipping\(\) expects bool, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#1 \$read of method WC_Data\:\:__construct\(\) expects array\|int\|object, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#2 \$allowed_html of function wp_kses expects array\\|string, array\\|true\> given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-coupon.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-coupon.php
-
message: '#^Method WC_Customer_Download_Log\:\:get_permission_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download-log.php
-
message: '#^Method WC_Customer_Download_Log\:\:get_timestamp\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download-log.php
-
message: '#^Method WC_Customer_Download_Log\:\:get_user_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download-log.php
-
message: '#^Method WC_Customer_Download_Log\:\:get_user_ip_address\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download-log.php
-
message: '#^Method WC_Customer_Download_Log\:\:set_permission_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download-log.php
-
message: '#^Method WC_Customer_Download_Log\:\:set_timestamp\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download-log.php
-
message: '#^Method WC_Customer_Download_Log\:\:set_user_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download-log.php
-
message: '#^Method WC_Customer_Download_Log\:\:set_user_ip_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download-log.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-customer-download-log.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_download_logs_count_for_permission\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Call to an undefined method object\:\:read\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Class WC_Customer_Download implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:get_access_expires\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:get_access_granted\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:get_download_id\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:get_downloads_remaining\(\) should return int\|string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:get_order_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:get_order_key\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:get_product_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:get_user_email\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:get_user_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_access_expires\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_access_granted\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_download_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_download_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_downloads_remaining\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_order_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_order_key\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_product_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_user_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:set_user_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Method WC_Customer_Download\:\:track_download\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Parameter \#1 \$email of function sanitize_email expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-customer-download.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-customer-download.php
-
message: '#^Part \$offset \(mixed\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 6
path: includes/class-wc-customer-download.php
-
message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-customer.php
-
message: '#^Call to an undefined method object\:\:get_last_order\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-customer.php
-
message: '#^Call to an undefined method object\:\:get_order_count\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-customer.php
-
message: '#^Call to an undefined method object\:\:get_total_spent\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-customer.php
-
message: '#^Cannot access offset ''address_1'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-customer.php
-
message: '#^Cannot access offset ''address_2'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-customer.php
-
message: '#^Cannot access offset ''city'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-customer.php
-
message: '#^Cannot access offset ''country'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-customer.php
-
message: '#^Cannot access offset ''postcode'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-customer.php
-
message: '#^Cannot access offset ''state'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_avatar_url\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_address_1\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_address_2\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_city\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_company\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_country\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_email\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_first_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_last_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_phone\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_postcode\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_billing_state\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_calculated_shipping\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_display_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_email\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_first_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_is_paying_customer\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_is_vat_exempt\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_last_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_role\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_address_1\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_address_2\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_city\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_company\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_country\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_first_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_last_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_phone\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_postcode\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_shipping_state\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:get_username\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_address_prop\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_address_1\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_address_2\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_address_to_base\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_city\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_company\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_first_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_last_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_location\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_phone\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_postcode\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_billing_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_calculated_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_date_created\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_date_modified\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_display_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_first_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_is_paying_customer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_is_vat_exempt\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_last_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_password\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_role\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_address_1\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_address_2\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_address_to_base\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_city\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_company\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_first_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_last_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_location\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_phone\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_postcode\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_shipping_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Customer\:\:set_username\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-customer.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-customer.php
-
message: '#^Property WC_Customer\:\:\$calculated_shipping \(string\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-customer.php
-
message: '#^Property WC_Customer\:\:\$calculated_shipping \(string\) does not accept default value of type false\.$#'
identifier: property.defaultValue
count: 1
path: includes/class-wc-customer.php
-
message: '#^Property WC_Customer\:\:\$is_vat_exempt \(string\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-customer.php
-
message: '#^Property WC_Customer\:\:\$is_vat_exempt \(string\) does not accept default value of type false\.$#'
identifier: property.defaultValue
count: 1
path: includes/class-wc-customer.php
-
message: '#^Property WooCommerce\:\:\$session \(WC_Session\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: includes/class-wc-customer.php
-
message: '#^Method WC_Data_Store\:\:create\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-data-store.php
-
message: '#^Method WC_Data_Store\:\:delete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-data-store.php
-
message: '#^Method WC_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-data-store.php
-
message: '#^Method WC_Data_Store\:\:read_multiple\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-data-store.php
-
message: '#^Method WC_Data_Store\:\:read_multiple\(\) has parameter \$objects with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/class-wc-data-store.php
-
message: '#^Method WC_Data_Store\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-data-store.php
-
message: '#^PHPDoc tag @param for parameter \$objects contains unresolvable type\.$#'
identifier: parameter.unresolvableType
count: 1
path: includes/class-wc-data-store.php
-
message: '#^Parameter \#1 \$stack of function array_shift expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-data-store.php
-
message: '#^Property WC_Data_Store\:\:\$instance \(WC_Data_Store\) does not accept WC_Object_Data_Store_Interface\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-data-store.php
-
message: '#^Property WC_Data_Store\:\:\$instance \(WC_Data_Store\) does not accept object\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-data-store.php
-
message: '#^Call to function method_exists\(\) with ''DateTime'' and ''getTimestamp'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/class-wc-datetime.php
-
message: '#^Method WC_DateTime\:\:getTimestamp\(\) should return int but returns int\|string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-datetime.php
-
message: '#^Method WC_DateTime\:\:set_utc_offset\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-datetime.php
-
message: '#^Method WC_Deprecated_Action_Hooks\:\:hook_in\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-deprecated-action-hooks.php
-
message: '#^Method WC_Deprecated_Filter_Hooks\:\:hook_in\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-deprecated-filter-hooks.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Access to an undefined property object\:\:\$key\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Access to an undefined property object\:\:\$object\.$#'
identifier: property.notFound
count: 2
path: includes/class-wc-discounts.php
-
message: '#^Access to an undefined property object\:\:\$price\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Access to an undefined property object\:\:\$product\.$#'
identifier: property.notFound
count: 12
path: includes/class-wc-discounts.php
-
message: '#^Access to an undefined property object\:\:\$quantity\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Binary operation "/" between string and 100 results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/class-wc-discounts.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal_tax\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Call to an undefined method object\:\:get_tentative_usages_for_user\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Call to an undefined method object\:\:get_usage_by_user_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Call to an undefined method object\:\:is_valid_for_cart\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Call to an undefined method object\:\:is_valid_for_product\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Cannot access property \$price on array\.$#'
identifier: property.nonObject
count: 4
path: includes/class-wc-discounts.php
-
message: '#^Cannot access property \$quantity on array\.$#'
identifier: property.nonObject
count: 4
path: includes/class-wc-discounts.php
-
message: '#^Method WC_Discounts\:\:apply_coupon_percent\(\) should return int but returns float\|int\.$#'
identifier: return.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Method WC_Discounts\:\:get_discounted_price\(\) should return float but returns array\|int\.$#'
identifier: return.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Method WC_Discounts\:\:get_discounts\(\) should return array but returns array\|int\.$#'
identifier: return.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Method WC_Discounts\:\:get_discounts_by_coupon\(\) should return array but returns array\|int\.$#'
identifier: return.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Method WC_Discounts\:\:get_discounts_by_item\(\) should return array but returns array\|int\.$#'
identifier: return.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Method WC_Discounts\:\:get_object_subtotal\(\) should return int but returns float\|int\.$#'
identifier: return.type
count: 2
path: includes/class-wc-discounts.php
-
message: '#^Method WC_Discounts\:\:set_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Method WC_Discounts\:\:set_items_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Method WC_Discounts\:\:set_items_from_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-discounts.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Discounts \$this The discounts instance\.\)\: Unexpected token "\$this", expected variable at offset 393 on line 9$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#1 \$err_code of method WC_Coupon\:\:get_coupon_error\(\) expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Cart\|WC_Order\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#1 \$value of function wc_add_number_precision_deep expects array, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\\|stdClass given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#2 \$allowed_html of function wp_kses expects array\\|string, array\\|true\> given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_fixed_cart\(\) expects int\|null, float\|int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_remainder\(\) expects int, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_remainder\(\) expects int, float\|int\<1, max\> given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-discounts.php
-
message: '#^@param WC_Product \$product does not accept actual type of parameter\: WC_Product\|false\|null\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^@param bool\|WC_Order \$order does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^@param string \$email_address does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^@param string \$method does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Action callback returns array but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Binary operation "\." between ''Content\-Type\: '' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Call to static method instance\(\) on an unknown class ActionScheduler_Versions\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Cannot call method get_file_download_path\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Cannot call method is_download_permitted\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Function as_schedule_single_action not found\.$#'
identifier: function.notFound
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:check_download_expiry\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:check_download_login_required\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:check_downloads_remaining\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:check_order_is_valid\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:check_server_config\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:clean_buffers\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:count_download\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:download\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:download_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:download_file_force\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:download_file_redirect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:download_file_xsendfile\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:download_headers\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:download_product\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Method WC_Download_Handler\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$file_size of static method WC_Download_Handler\:\:get_download_range\(\) expects int, int\<0, max\>\|false given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$haystack of function stristr expects string, string\|false given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$known_string of function hash_equals expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$order_key of function wc_get_order_id_by_order_key expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$str of function sha1 expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$string of function substr expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#2 \$data of function hash expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#2 \$length of function fread expects int\<1, max\>, int given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#2 \$value of function apache_setenv expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^Strict comparison using \=\=\= between null and int will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: includes/class-wc-download-handler.php
-
message: '#^@param string \$recipient does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 3
path: includes/class-wc-emails.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-emails.php
-
message: '#^Call to an undefined method WC_Email\:\:trigger\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-emails.php
-
message: '#^Call to an undefined method object\:\:get_formatted_name\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-emails.php
-
message: '#^Call to an undefined method object\:\:get_stock_quantity\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-emails.php
-
message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-emails.php
-
message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-emails.php
-
message: '#^Expected 2 @param tags, found 1\.$#'
identifier: paramTag.count
count: 2
path: includes/class-wc-emails.php
-
message: '#^Expected 2 @param tags, found 3\.$#'
identifier: paramTag.count
count: 3
path: includes/class-wc-emails.php
-
message: '#^Expected 4 @param tags, found 3\.$#'
identifier: paramTag.count
count: 6
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:add_email_sender_filters\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:additional_address_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:additional_checkout_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:backorder\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:customer_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:customer_invoice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:customer_new_account\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:email_addresses\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:email_footer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:email_header\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:fulfillment_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:fulfillment_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:get_store_address\(\) should return string but returns string\|null\.$#'
identifier: return.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:init_transactional_emails\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:low_stock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:no_stock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:order_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:order_downloads\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:order_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:order_schema_markup\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:queue_transactional_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:remove_email_sender_filters\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:send_queued_transactional_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:send_transactional_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-emails.php
-
message: '#^Method WC_Emails\:\:wrap_message\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#1 \$args of static method WC_Emails\:\:send_transactional_email\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#1 \$email of function sanitize_email expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#1 \$order of method WC_Structured_Data\:\:generate_order_data\(\) expects WP_Order, WC_Order given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#1 \$text of function wp_specialchars_decode expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-emails.php
-
message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, int\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#1 \$text of function wptexturize expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#1 \$to of method WC_Email\:\:send\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#2 \$replace of function str_replace expects array\\|string, array\ given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#2 \$subject of method WC_Email\:\:send\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#3 \$message of method WC_Email\:\:send\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Parameter \#5 \$attachments of method WC_Email\:\:send\(\) expects array, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-emails.php
-
message: '#^Cannot call method get_price_html\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-embed.php
-
message: '#^Cannot call method is_in_stock\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-embed.php
-
message: '#^Cannot call method is_purchasable\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-embed.php
-
message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-embed.php
-
message: '#^Method WC_Embed\:\:get_ratings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-embed.php
-
message: '#^Method WC_Embed\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-embed.php
-
message: '#^Method WC_Embed\:\:print_embed_styles\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-embed.php
-
message: '#^Method WC_Embed\:\:remove_comments_button\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-embed.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, float given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-embed.php
-
message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
identifier: property.notFound
count: 2
path: includes/class-wc-form-handler.php
-
message: '#^Cannot access offset ''qty'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot access property \$ID on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot access property \$first_name on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot access property \$last_name on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-form-handler.php
-
message: '#^Cannot access property \$user_pass on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method get_billing_city\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method get_billing_country\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method get_billing_postcode\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method get_billing_state\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method get_checkout_order_received_url\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 3
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method get_order_key\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method has_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method needs_payment\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method payment_complete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method save\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method set_payment_method\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Cannot call method update_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
identifier: arguments.count
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:add_payment_method_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:add_to_cart_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:cancel_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:checkout_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:delete_payment_method_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:order_again\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:pay_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:process_login\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:process_lost_password\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:process_registration\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:process_reset_password\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:redirect_reset_password_link\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:save_account_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:save_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:set_default_payment_method_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Method WC_Form_Handler\:\:update_cart_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, \(array\\|string\|null\) given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$email of function is_email expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$email of function sanitize_email expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$email of function sanitize_email expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$key of static method WC_Shortcode_My_Account\:\:check_password_reset_key\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
identifier: argument.type
count: 13
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$str of function urldecode expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$url of function wp_parse_url expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_first_name\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_last_name\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#2 \$country of function wc_format_postcode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#2 \$country of static method WC_Validation\:\:is_postcode\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#2 \$default of function wc_get_var expects string\|null, mixed given\.$#'
identifier: argument.type
count: 8
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#2 \$login of static method WC_Shortcode_My_Account\:\:check_password_reset_key\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#2 \$new_pass of static method WC_Shortcode_My_Account\:\:reset_password\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int\<1, max\> given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#2 \$user_string of function hash_equals expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#2 \$username of function wc_create_new_customer expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#3 \$variation_id of method WC_Cart\:\:add_to_cart\(\) expects int, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Strict comparison using \=\=\= between 0 and 0 will always evaluate to true\.$#'
identifier: identical.alwaysTrue
count: 1
path: includes/class-wc-form-handler.php
-
message: '#^Binary operation "\." between ''1\.0\.9\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Binary operation "\." between ''1\.4\.1\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Binary operation "\." between ''1\.7\.21\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Binary operation "\." between ''2\.1\.4\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Binary operation "\." between ''2\.7\.0\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Binary operation "\." between ''2\.7\.2\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Binary operation "\." between ''3\.0\.0\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Binary operation "\." between ''3\.1\.6\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Binary operation "\." between ''4\.0\.3\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Binary operation "\." between ''4\.1\.1\-wc\.'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/class-wc-frontend-scripts.php
-
message: '#^Constant WC_VERSION not found\.$#'
identifier: constant.notFound
count: 4
path: includes/class-wc-frontend-scripts.php
-
message: '#^Default value of the parameter \#5 \$in_footer \(array\\) of method WC_Frontend_Scripts\:\:enqueue_script\(\) is incompatible with type bool\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Default value of the parameter \#5 \$in_footer \(array\\) of method WC_Frontend_Scripts\:\:register_script\(\) is incompatible with type bool\.$#'
identifier: parameter.defaultValue
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:enqueue_block_assets\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:enqueue_script\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:enqueue_style\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:load_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:localize_printed_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:localize_script\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:register_script\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:register_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:register_style\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Method WC_Frontend_Scripts\:\:register_styles\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^PHPDoc tag @param has invalid value \(array List of default WooCommerce styles\.\)\: Unexpected token "List", expected variable at offset 96 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/class-wc-frontend-scripts.php
-
message: '#^Parameter \#2 \$path of static method WC_Frontend_Scripts\:\:register_script\(\) expects string, false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Parameter \#4 \$version of static method WC_Frontend_Scripts\:\:register_style\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Property WC_Address_Provider\:\:\$branding_html \(string\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: includes/class-wc-frontend-scripts.php
-
message: '#^Cannot access offset ''country'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-geolite-integration.php
-
message: '#^Cannot access offset ''iso_code'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-geolite-integration.php
-
message: '#^Method WC_Geolite_Integration\:\:log\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-geolite-integration.php
-
message: '#^Parameter \#1 \$str of function strtoupper expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-geolite-integration.php
-
message: '#^Property WC_Geolite_Integration\:\:\$log \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-geolite-integration.php
-
message: '#^@param string \$geolocation does not accept actual type of parameter\: false\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-geolocation.php
-
message: '#^Cannot access property \$country on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-geolocation.php
-
message: '#^Cannot access property \$countryCode on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-geolocation.php
-
message: '#^Cannot call method get_database_service\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-geolocation.php
-
message: '#^Cannot call method update_database\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-geolocation.php
-
message: '#^Method WC_Geolocation\:\:geolocate_via_api\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-geolocation.php
-
message: '#^Method WC_Geolocation\:\:update_database\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-geolocation.php
-
message: '#^Parameter \#1 \$array_arg of function current expects array\|object, list\\|false given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-geolocation.php
-
message: '#^Parameter \#1 \$ip of function rest_is_ip_address expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-geolocation.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/class-wc-geolocation.php
-
message: '#^Variable \$transient_name might not be defined\.$#'
identifier: variable.undefined
count: 1
path: includes/class-wc-geolocation.php
-
message: '#^Binary operation "\." between ''https\://'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-https.php
-
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: includes/class-wc-https.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 1
path: includes/class-wc-https.php
-
message: '#^Method WC_HTTPS\:\:force_https_template_redirect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-https.php
-
message: '#^Method WC_HTTPS\:\:force_https_url\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-https.php
-
message: '#^Method WC_HTTPS\:\:http_api_curl\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-https.php
-
message: '#^Method WC_HTTPS\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-https.php
-
message: '#^Method WC_HTTPS\:\:unforce_https_template_redirect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-https.php
-
message: '#^Parameter \#1 \$ch of function curl_setopt expects resource, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-https.php
-
message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-https.php
-
message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-https.php
-
message: '#^Call to function method_exists\(\) with WC_Settings_Page and ''get_settings'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/class-wc-install.php
-
message: '#^Call to new WC_Notes_Run_Db_Update\(\) on a separate line has no effect\.$#'
identifier: new.resultUnused
count: 1
path: includes/class-wc-install.php
-
message: '#^Cannot access property \$download_link on array\|object\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-install.php
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 2
path: includes/class-wc-install.php
-
message: '#^Class WC_Post_Types referenced with incorrect case\: WC_Post_types\.$#'
identifier: class.nameCase
count: 2
path: includes/class-wc-install.php
-
message: '#^Constant WC_PLUGIN_BASENAME not found\.$#'
identifier: constant.notFound
count: 2
path: includes/class-wc-install.php
-
message: '#^Function as_schedule_single_action not found\.$#'
identifier: function.notFound
count: 2
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:add_coming_soon_option\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:add_update_db_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:associate_plugin_file\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:background_installer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:check_version\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:clear_cron_jobs\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:create_files\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:create_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:create_pages\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:create_placeholder_image\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:create_roles\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:create_terms\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:delete_obsolete_notes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:enable_customer_stock_notifications_signups\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:enable_email_improvements_for_existing_merchants\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:enable_email_improvements_for_newly_installed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:install\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:install_actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:install_core\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:manual_database_update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:maybe_activate_legacy_api_enabled_option\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:maybe_create_pages\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:maybe_enable_hpos\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:maybe_install_legacy_api_plugin\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:maybe_set_activation_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:maybe_set_store_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:maybe_update_db_version\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:migrate_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:newly_installed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:plugin_row_meta\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:remove_admin_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:remove_mailchimps_redirect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:remove_roles\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:remove_update_db_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:run_manual_database_update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:run_update_callback\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:run_update_callback_end\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:run_update_callback_start\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:set_paypal_standard_load_eligibility\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:setup_environment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:theme_background_installer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:update_db_version\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:update_wc_version\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Method WC_Install\:\:wc_admin_db_update_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-install.php
-
message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-install.php
-
message: '#^Parameter \#1 \$page_id of static method WC_Notes_Refund_Returns\:\:possibly_add_note\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-install.php
-
message: '#^Parameter \#1 \$post of function wp_attachment_is_image expects int\|WP_Post\|null, float\|int\\|int\<1, max\>\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-install.php
-
message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/class-wc-install.php
-
message: '#^Parameter \#2 \$version2 of function version_compare expects string, int\|string\|null given\.$#'
identifier: argument.type
count: 4
path: includes/class-wc-install.php
-
message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-install.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-install.php
-
message: '#^Parameter \#4 \$autoload of function add_option expects bool\|null, string given\.$#'
identifier: argument.type
count: 5
path: includes/class-wc-install.php
-
message: '#^Parameter \#5 \$post_parent of function wc_create_page expects int, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-install.php
-
message: '#^Access to an undefined property object\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-integrations.php
-
message: '#^Method WC_Logger\:\:alert\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-logger.php
-
message: '#^Method WC_Logger\:\:critical\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-logger.php
-
message: '#^Method WC_Logger\:\:debug\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-logger.php
-
message: '#^Method WC_Logger\:\:emergency\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-logger.php
-
message: '#^Method WC_Logger\:\:error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-logger.php
-
message: '#^Method WC_Logger\:\:info\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-logger.php
-
message: '#^Method WC_Logger\:\:notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-logger.php
-
message: '#^Method WC_Logger\:\:warning\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-logger.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-logger.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Log_Handler_Interface\[\]\)\: Unexpected token "\\n\\t\\t\\t \*", expected variable at offset 147 on line 4$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-logger.php
-
message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:get_level_severity\(\) expects string, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-logger.php
-
message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:is_valid_level\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-logger.php
-
message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-logger.php
-
message: '#^Property WC_Logger\:\:\$threshold \(int\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-logger.php
-
message: '#^Method WC_Meta_Data\:\:apply_changes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-meta-data.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_order_item_type\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_order_type\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_orders_type\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Call to an undefined method object\:\:get_data_store\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-order-factory.php
-
message: '#^Call to an undefined method object\:\:set_defaults\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Call to an undefined method object\:\:set_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Cannot access offset ''class_name'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Cannot access property \$ID on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Cannot call method get_id\(\) on array\|object\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Method WC_Order_Factory\:\:get_order\(\) should return bool\|WC_Order but returns array\|object\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Method WC_Order_Factory\:\:get_order\(\) should return bool\|WC_Order but returns object\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Method WC_Order_Factory\:\:get_order_id\(\) should return bool\|int but returns float\|int\|string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Method WC_Order_Factory\:\:get_order_item\(\) should return WC_Order_Item\|false but returns object\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Method WC_Order_Factory\:\:get_orders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^PHPDoc tag @return contains unresolvable type\.$#'
identifier: return.unresolvableType
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Parameter \#1 \$id of method Automattic\\WooCommerce\\Caching\\ObjectCache\:\:get\(\) expects int\|string, int\\|int\<1, max\>\|true given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Parameter \#1 \$input of function array_flip expects array\, array\\|int\<1, max\>\|true\> given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Parameter \#1 \$order_id of static method WC_Order_Factory\:\:get_class_name_for_order_id\(\) expects int, int\\|int\<1, max\>\|true given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Parameter \#2 \$id of method Automattic\\WooCommerce\\Caching\\ObjectCache\:\:set\(\) expects int\|string\|null, int\\|int\<1, max\>\|true given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-factory.php
-
message: '#^Method WC_Order_Item_Coupon\:\:get_code\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-coupon.php
-
message: '#^Method WC_Order_Item_Coupon\:\:get_discount\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-coupon.php
-
message: '#^Method WC_Order_Item_Coupon\:\:get_discount_tax\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-coupon.php
-
message: '#^Method WC_Order_Item_Coupon\:\:set_code\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-coupon.php
-
message: '#^Method WC_Order_Item_Coupon\:\:set_discount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-coupon.php
-
message: '#^Method WC_Order_Item_Coupon\:\:set_discount_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-coupon.php
-
message: '#^Method WC_Order_Item_Coupon\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-coupon.php
-
message: '#^Binary operation "\*" between string and float results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
identifier: method.notFound
count: 4
path: includes/class-wc-order-item-fee.php
-
message: '#^Cannot access offset ''total'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:get_amount\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:get_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 2
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:get_tax_class\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:get_tax_status\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:get_taxes\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:get_total\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:get_total_tax\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:set_amount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:set_tax_class\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:set_tax_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:set_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:set_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Method WC_Order_Item_Fee\:\:set_total_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Parameter \#1 \$amount of method WC_Order_Item_Fee\:\:set_total_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order-item-fee.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_format_decimal'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\)\: mixed\)\|null, ''wc_round_tax_total'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Parameter \#1 \$raw_tax_data of method WC_Order_Item_Fee\:\:set_taxes\(\) expects array, false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Property WC_Order_Item_Fee\:\:\$legacy_fee \(object\) does not accept default value of type string\.$#'
identifier: property.defaultValue
count: 1
path: includes/class-wc-order-item-fee.php
-
message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-order-item-meta.php
-
message: '#^Parameter \#2 \$product of function wc_attribute_label expects WC_Product, WC_Product\|null given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order-item-meta.php
-
message: '#^Variable \$meta_list in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: includes/class-wc-order-item-meta.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot access offset ''subtotal'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot access offset ''total'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot call method backorders_require_notification\(\) on WC_Product\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot call method get_cogs_total_value\(\) on WC_Product\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot call method get_data\(\) on array\|false\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot call method get_file\(\) on WC_Product\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot call method get_stock_quantity\(\) on WC_Product\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot call method get_tax_status\(\) on WC_Product\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot call method has_file\(\) on WC_Product\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot call method is_downloadable\(\) on WC_Product\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot call method is_on_backorder\(\) on WC_Product\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_item_downloads\(\) should return array but return statement is missing\.$#'
identifier: return.missing
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_product_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_quantity\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_subtotal\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_subtotal_tax\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_tax_class\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_taxes\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_total\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_total_tax\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:get_variation_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_backorder_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_product\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_product_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_quantity\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_subtotal\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_subtotal_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_tax_class\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_total_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_variation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Method WC_Order_Item_Product\:\:set_variation_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Order_Item_Product \$this The order item product object\.\)\: Unexpected token "\$this", expected variable at offset 209 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_format_decimal'' given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order-item-product.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\)\: mixed\)\|null, ''wc_round_tax_total'' given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order-item-product.php
-
message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_subtotal\(\) expects string, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_subtotal_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order-item-product.php
-
message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_total_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order-item-product.php
-
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order-item-product.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-product.php
-
message: '#^Cannot access offset ''total'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:get_instance_id\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:get_method_id\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:get_method_title\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 2
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:get_tax_class\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:get_taxes\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:get_total\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:get_total_tax\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:set_instance_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:set_method_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:set_method_title\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:set_shipping_rate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:set_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:set_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Shipping\:\:set_total_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_format_decimal'' given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order-item-shipping.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\)\: mixed\)\|null, ''wc_round_tax_total'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Parameter \#1 \$instance_id of static method WC_Shipping_Zones\:\:get_shipping_method\(\) expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Parameter \#1 \$price of static method WC_Tax\:\:calc_tax\(\) expects float, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Parameter \#1 \$raw_tax_data of method WC_Order_Item_Shipping\:\:set_taxes\(\) expects array, false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Parameter \#1 \$value of method WC_Order_Item_Shipping\:\:set_instance_id\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Parameter \#1 \$value of method WC_Order_Item_Shipping\:\:set_total_tax\(\) expects string, float given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order-item-shipping.php
-
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item-shipping.php
-
message: '#^Method WC_Order_Item_Tax\:\:get_compound\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:get_label\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 2
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:get_rate_code\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:get_rate_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:get_rate_percent\(\) should return float but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:get_shipping_tax_total\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:get_tax_total\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:set_compound\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:set_label\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:set_rate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:set_rate_code\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:set_rate_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:set_rate_percent\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:set_shipping_tax_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Method WC_Order_Item_Tax\:\:set_tax_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item-tax.php
-
message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Access to an undefined property object\:\:\$key\.$#'
identifier: property.notFound
count: 3
path: includes/class-wc-order-item.php
-
message: '#^Access to an undefined property object\:\:\$value\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Argument of an invalid type array\\|null supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Call to an undefined method \$this\(WC_Order_Item\)\:\:set_taxes\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:set_taxes\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-order-item.php
-
message: '#^Cannot access property \$key on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Cannot access property \$value on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Cannot cast mixed to float\.$#'
identifier: cast.double
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Class WC_Order_Item implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Method WC_Order_Item\:\:apply_changes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Method WC_Order_Item\:\:get_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Method WC_Order_Item\:\:get_order\(\) should return WC_Order but returns bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Method WC_Order_Item\:\:get_order_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Method WC_Order_Item\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Method WC_Order_Item\:\:set_order_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\\|null given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-order-item.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order-item.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:query\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order-query.php
-
message: '#^Method WC_Order_Refund\:\:get_amount\(\) should return float\|int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-refund.php
-
message: '#^Method WC_Order_Refund\:\:get_post_title\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-refund.php
-
message: '#^Method WC_Order_Refund\:\:get_reason\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-refund.php
-
message: '#^Method WC_Order_Refund\:\:get_refunded_by\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-refund.php
-
message: '#^Method WC_Order_Refund\:\:get_refunded_payment\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order-refund.php
-
message: '#^Method WC_Order_Refund\:\:set_amount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-refund.php
-
message: '#^Method WC_Order_Refund\:\:set_reason\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-refund.php
-
message: '#^Method WC_Order_Refund\:\:set_refunded_by\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-refund.php
-
message: '#^Method WC_Order_Refund\:\:set_refunded_payment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order-refund.php
-
message: '#^@param int \$order_note_id does not accept actual type of parameter\: int\|false\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-order.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 6
path: includes/class-wc-order.php
-
message: '#^Argument of an invalid type array\\|int supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-order.php
-
message: '#^Binary operation "\-" between float and non\-falsy\-string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-order.php
-
message: '#^Binary operation "\-" between float and string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-order.php
-
message: '#^Binary operation "\-" between int\|string and string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_item_downloads\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
identifier: method.notFound
count: 3
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_shipping_tax_total\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_tax_total\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_total_refunded\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_total_shipping_refunded\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method object\:\:get_total_tax_refunded\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined method object\:\:untrash_order\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-order.php
-
message: '#^Cannot access offset ''manual'' on bool\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-order.php
-
message: '#^Cannot access offset ''note'' on bool\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-order.php
-
message: '#^Cannot access offset ''note'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-order.php
-
message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-order.php
-
message: '#^Cannot access property \$comment_ID on int\|WP_Comment\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-order.php
-
message: '#^Cannot access property \$comment_content on int\|WP_Comment\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-order.php
-
message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-order.php
-
message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-order.php
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
path: includes/class-wc-order.php
-
message: '#^Expected 3 @param tags, found 2\.$#'
identifier: paramTag.count
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:add_order_item_totals_payment_method_row\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:add_order_item_totals_refund_rows\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:add_order_note\(\) should return int but returns int\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_address_1\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_address_2\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_city\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_company\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_country\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_email\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_first_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_last_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_phone\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_postcode\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_billing_state\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_cart_hash\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_created_via\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_customer_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_customer_ip_address\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_customer_note\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_customer_user_agent\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_date_completed\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_date_paid\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_order_key\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_payment_method\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_payment_method_title\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_address_1\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_address_2\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_city\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_company\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_country\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_first_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_last_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_phone\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_postcode\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_shipping_state\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_total_refunded\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_total_shipping_refunded\(\) should return float but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_total_shipping_tax_refunded\(\) should return float but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_total_tax_refunded\(\) should return float but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:get_transaction_id\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:handle_exception\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:maybe_set_date_completed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:maybe_set_date_paid\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:maybe_set_user_billing_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_address_prop\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_address_1\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_address_2\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_city\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_company\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_first_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_last_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_phone\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_postcode\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_billing_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_cart_hash\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_created_via\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_customer_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_customer_ip_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_customer_note\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_customer_user_agent\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_date_completed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_date_paid\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_order_key\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_payment_method\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_payment_method_title\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_address_1\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_address_2\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_city\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_company\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_first_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_last_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_phone\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_postcode\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_shipping_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:set_transaction_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^Method WC_Order\:\:status_transition\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-order.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 2
path: includes/class-wc-order.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 193 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-order.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 151 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-order.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 192 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-order.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 197 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-order.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 133 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-order.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this The order object\.\)\: Unexpected token "\$this", expected variable at offset 167 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#1 \$comment_id of function add_comment_meta expects int, int\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#1 \$comment_id of function update_comment_meta expects int, int\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/class-wc-order.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, bool\|float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
identifier: argument.type
count: 5
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_discount_row\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_fee_rows\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_shipping_row\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_subtotal_row\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_tax_rows\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_total_row\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Order\:\:add_order_item_totals_payment_method_row\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$tax_display of method WC_Order\:\:add_order_item_totals_refund_rows\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$transition of method WC_Order\:\:add_status_transition_note\(\) expects bool, array given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$value of function wc_get_endpoint_url expects string, int given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-order.php
-
message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-order.php
-
message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
identifier: staticMethod.notFound
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Cannot call method info\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Cannot call method set_current\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Method WC_Payment_Gateways\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Method WC_Payment_Gateways\:\:on_payment_gateways_initialized\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Method WC_Payment_Gateways\:\:payment_gateway_settings_option_changed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Method WC_Payment_Gateways\:\:process_admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Method WC_Payment_Gateways\:\:set_current_gateway\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#1 \$text of function wp_specialchars_decode expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#1 \$value of method WC_Payment_Gateways\:\:was_gateway_disabled\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#1 \$value of method WC_Payment_Gateways\:\:was_gateway_enabled\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: \(non\-falsy\-string\|false\) given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#2 \$old_value of method WC_Payment_Gateways\:\:was_gateway_disabled\(\) expects array\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#2 \$old_value of method WC_Payment_Gateways\:\:was_gateway_enabled\(\) expects array\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#2 \$value of function get_user_by expects int\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Parameter \#6 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-payment-gateways.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 2
path: includes/class-wc-payment-gateways.php
-
message: '#^@param int \$limit does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_token_by_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_token_type_by_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_tokens\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_users_default_token\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:set_default_status\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-payment-tokens.php
-
message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Cannot call method get_payment_tokens\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Method WC_Payment_Tokens\:\:delete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Method WC_Payment_Tokens\:\:get\(\) should return WC_Payment_Token\|null but returns object\.$#'
identifier: return.type
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Method WC_Payment_Tokens\:\:set_users_default\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-payment-tokens.php
-
message: '#^Access to an undefined property object\:\:\$slug\.$#'
identifier: property.notFound
count: 3
path: includes/class-wc-post-data.php
-
message: '#^Access to an undefined property object\:\:\$taxonomy\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_order_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:delete_from_lookup_table\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-post-data.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:delete_variations\(\)\.$#'
identifier: method.notFound
count: 3
path: includes/class-wc-post-data.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_attribute_summary\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:untrash_variations\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Cannot access property \$slug on WP_Term\|false\.$#'
identifier: property.nonObject
count: 3
path: includes/class-wc-post-data.php
-
message: '#^Cannot access property \$taxonomy on WP_Term\|false\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Expected 4 @param tags, found 3\.$#'
identifier: paramTag.count
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Function as_next_scheduled_action not found\.$#'
identifier: function.notFound
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:before_delete_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:clear_global_unique_id_if_necessary\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:deferred_product_sync\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:delete_order_downloadable_permissions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:delete_order_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:delete_post\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:delete_post_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:delete_product_query_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:do_deferred_product_sync\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:edit_term\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:edited_term\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:flush_object_meta_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:force_default_term\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:get_post_type\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:handle_attribute_term_deleted\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:handle_attribute_term_updated\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:handle_global_attribute_updated\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:on_product_attributes_updated\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:process_product_file_download_paths\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:product_type_changed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:recount_terms_for_product_visibility_change\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:regenerate_attribute_variation_summaries\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:regenerate_product_variation_summaries\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:regenerate_term_variation_summaries\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:regenerate_variation_attribute_summary\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:regenerate_variation_summaries\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:set_object_terms\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:sync_product_stock_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:transition_post_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:trash_post\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Method WC_Post_Data\:\:untrash_post\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Offset ''attribute_name'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 1
path: includes/class-wc-post-data.php
-
message: '#^PHPDoc tag @param has invalid value \(bool A boolean value of true will delete the variations\.\)\: Unexpected token "A", expected variable at offset 181 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$id of static method WC_Post_Data\:\:get_post_type\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$order of function wc_delete_shop_order_transients expects int\|WC_Order, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$post of function wp_get_post_parent_id expects int\|WP_Post\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$post_id of function wc_delete_product_transients expects int, int\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:on_product_changed\(\) expects int\|WC_Product, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:on_product_deleted\(\) expects int\|WC_Product, mixed given\.$#'
identifier: argument.type
count: 4
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$product_id of function wc_product_force_unique_sku expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$product_id of function wc_product_has_global_unique_id expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Property WP_Post\:\:\$ID \(int\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Property WP_Post\:\:\$post_type \(string\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Static property WC_Post_Data\:\:\$editing_term \(object\) does not accept WP_Term\|false\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-post-data.php
-
message: '#^Static property WC_Post_Data\:\:\$editing_term \(object\) does not accept null\.$#'
identifier: assign.propertyType
count: 2
path: includes/class-wc-post-data.php
-
message: '#^Class WC_Post_Types referenced with incorrect case\: WC_Post_types\.$#'
identifier: class.nameCase
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Method WC_Post_Types\:\:flush_rewrite_rules\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Method WC_Post_Types\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Method WC_Post_Types\:\:maybe_flush_rewrite_rules\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Method WC_Post_Types\:\:register_post_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Method WC_Post_Types\:\:register_post_types\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Method WC_Post_Types\:\:register_taxonomies\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Method WC_Post_Types\:\:support_jetpack_omnisearch\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Method WC_Post_Types\:\:updated_term_messages\(\) should return bool but returns array\.$#'
identifier: return.type
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Parameter \#1 \$str of function urldecode expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-post-types.php
-
message: '#^Method WC_Privacy_Background_Process\:\:task\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-privacy-background-process.php
-
message: '#^Offset ''task'' does not exist on non\-falsy\-string\.$#'
identifier: offsetAccess.notFound
count: 1
path: includes/class-wc-privacy-background-process.php
-
message: '#^@param string \$data_type does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 2
path: includes/class-wc-privacy-erasers.php
-
message: '#^@param string \$value does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-privacy-erasers.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_user_email\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-erasers.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_user_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-erasers.php
-
message: '#^Method WC_Privacy_Erasers\:\:remove_order_personal_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-privacy-erasers.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: includes/class-wc-privacy-erasers.php
-
message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-privacy-erasers.php
-
message: '#^Parameter \#1 \$type of function wp_privacy_anonymize_data expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-privacy-erasers.php
-
message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\\|stdClass given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-privacy-erasers.php
-
message: '#^Parameter \#2 \$data of function wp_privacy_anonymize_data expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-privacy-erasers.php
-
message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Customer\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Binary operation "\." between mixed and '', '' results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_download_logs_for_permission\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Call to an undefined method WC_Order\:\:get_access_expires\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-privacy-exporters.php
-
message: '#^Call to an undefined method WC_Order\:\:get_access_granted\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Call to an undefined method WC_Order\:\:get_download_count\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Call to an undefined method WC_Order\:\:get_downloads_remaining\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Call to an undefined method WC_Order\:\:get_order_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Call to an undefined method WC_Order\:\:get_product_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Call to an undefined method WC_Order\:\:get_user_email\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\\|stdClass given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-privacy-exporters.php
-
message: '#^Argument of an invalid type array\\|stdClass supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: includes/class-wc-privacy.php
-
message: '#^Expected 1 @param tags, found 4\.$#'
identifier: paramTag.count
count: 1
path: includes/class-wc-privacy.php
-
message: '#^Method WC_Privacy\:\:anonymize_custom_data_types\(\) should return string but returns int\|string\|null\.$#'
identifier: return.type
count: 1
path: includes/class-wc-privacy.php
-
message: '#^Method WC_Privacy\:\:queue_cleanup_personal_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-privacy.php
-
message: '#^Method WC_Privacy\:\:register_erasers_exporters\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-privacy.php
-
message: '#^Parameter \#1 \$query of static method WC_Privacy\:\:anonymize_orders_query\(\) expects array, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-privacy.php
-
message: '#^Parameter \#1 \$timestamp of static method WC_Privacy\:\:delete_inactive_accounts_query\(\) expects int, int\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-privacy.php
-
message: '#^Class WC_Product_Attribute implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Method WC_Product_Attribute\:\:set_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Method WC_Product_Attribute\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Method WC_Product_Attribute\:\:set_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Method WC_Product_Attribute\:\:set_position\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Method WC_Product_Attribute\:\:set_variation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Method WC_Product_Attribute\:\:set_visible\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_options\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-attribute.php
-
message: '#^Class WC_Product_Download implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Method WC_Product_Download\:\:approved_directory_checks\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Method WC_Product_Download\:\:check_is_valid\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Method WC_Product_Download\:\:get_file_type\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Method WC_Product_Download\:\:set_enabled\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Method WC_Product_Download\:\:set_file\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Method WC_Product_Download\:\:set_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Method WC_Product_Download\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Method WC_Product_Download\:\:set_previous_hash\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Parameter \#1 \$filename of function file_exists expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Parameter \#1 \$filename of function wp_check_filetype expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Parameter \#1 \$path of function pathinfo expects string, string\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Parameter \#1 \$url of method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Register\:\:add_approved_directory\(\) expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-download.php
-
message: '#^Method WC_Product_External\:\:get_button_text\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-external.php
-
message: '#^Method WC_Product_External\:\:set_backorders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-external.php
-
message: '#^Method WC_Product_External\:\:set_button_text\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-external.php
-
message: '#^Method WC_Product_External\:\:set_manage_stock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-external.php
-
message: '#^Method WC_Product_External\:\:set_product_url\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-external.php
-
message: '#^Method WC_Product_External\:\:set_stock_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-external.php
-
message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-external.php
-
message: '#^@param string \$classname does not accept actual type of parameter\: string\|false\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-product-factory.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_product_type\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-factory.php
-
message: '#^Method WC_Product_Factory\:\:get_product\(\) should return bool\|WC_Product but returns object\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-factory.php
-
message: '#^Parameter \#1 \$product of method WC_Product_Factory\:\:get_product_id\(\) expects bool\|int\|WC_Product\|WP_Post, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-factory.php
-
message: '#^Parameter \#1 \$product_id of static method WC_Product_Factory\:\:get_product_classname\(\) expects int, int\\|int\<1, max\>\|true given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-factory.php
-
message: '#^Parameter \#1 \$product_id of static method WC_Product_Factory\:\:get_product_type\(\) expects int, int\\|int\<1, max\>\|true given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-factory.php
-
message: '#^Parameter \#2 \$product_type of static method WC_Product_Factory\:\:get_product_classname\(\) expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-factory.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:sync_price\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Cannot call method get_price\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Cannot call method has_child\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Cannot call method is_on_sale\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Cannot call method is_purchasable\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Method WC_Product_Grouped\:\:get_children\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Method WC_Product_Grouped\:\:set_children\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Method WC_Product_Grouped\:\:sync\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(WC_Product\|false\|null\)\: mixed\)\|null, ''wc_get_price_to…'' given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-product-grouped.php
-
message: '#^Parameter \#1 \$from of function wc_format_price_range expects string, float\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Product given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Parameter \#1 \$price of function wc_price expects float, float\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Parameter \#1 \$product of function wc_get_price_excluding_tax expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Parameter \#1 \$product of function wc_get_price_including_tax expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
identifier: argument.type
count: 5
path: includes/class-wc-product-grouped.php
-
message: '#^Parameter \#2 \$to of function wc_format_price_range expects string, float\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-grouped.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:query\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-query.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-product-simple.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Product_Simple \$this Reference to the current WC_Product_Simple instance\.\)\: Unexpected token "\$this", expected variable at offset 188 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-product-simple.php
-
message: '#^@param WC_Product_Variation \$variation does not accept actual type of parameter\: WC_Product\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:sync_price\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:sync_stock_status\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method WC_Product\:\:variation_is_visible\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:child_has_dimensions\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:child_has_stock_status\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:child_has_weight\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:child_is_in_stock\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:read_children\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:read_price_data\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:read_variation_attributes\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:sync_managed_variation_stock_status\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:sync_stock_status\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to an undefined method object\:\:sync_variation_names\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 2
path: includes/class-wc-product-variable.php
-
message: '#^Cannot access offset ''new_name'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Cannot access offset ''previous_name'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Method WC_Product_Variable\:\:after_data_store_save_or_update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Method WC_Product_Variable\:\:get_available_variations\(\) should return array\ but returns list\\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Method WC_Product_Variable\:\:set_children\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Method WC_Product_Variable\:\:set_variation_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Method WC_Product_Variable\:\:set_visible_children\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Method WC_Product_Variable\:\:sync\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Method WC_Product_Variable\:\:sync_stock_status\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Method WC_Product_Variable\:\:validate_props\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Parameter \#1 \$attachment_id of function wc_get_product_attachment_props expects int\|null, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Parameter \#1 \$haystack of function strstr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-product-variable.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Product given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-product-variable.php
-
message: '#^Parameter \#1 \$weight of function wc_format_weight expects float, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-variable.php
-
message: '#^Method WC_Product_Variation\:\:get_attribute_summary\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_backorders\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_height\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_image_id\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_length\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_manage_stock\(\) should return bool\|string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_permalink\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_purchase_note\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_shipping_class_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_sku\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_stock_quantity\(\) should return int\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_weight\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:get_width\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:set_attribute_summary\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:set_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Method WC_Product_Variation\:\:set_parent_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Parameter \#1 \$arr1 of function array_intersect_key expects array, array\\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Parameter \#1 \$product of method WC_Product_Simple\:\:__construct\(\) expects int\|WC_Product, int\|object given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-product-variation.php
-
message: '#^Call to static method get_value\(\) on an unknown class WPSEO_Meta\.$#'
identifier: class.notFound
count: 2
path: includes/class-wc-query.php
-
message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-query.php
-
message: '#^Cannot access property \$post_name on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-query.php
-
message: '#^Cannot access property \$post_title on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-query.php
-
message: '#^Cannot access property \$post_type on WP_Post\|null\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-query.php
-
message: '#^Cannot access property \$posts on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-query.php
-
message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-query.php
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 3
path: includes/class-wc-query.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 2
path: includes/class-wc-query.php
-
message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
identifier: arguments.count
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:add_endpoints\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:get_errors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:get_main_search_query_sql\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:get_products_in_view\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:init_query_vars\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:layered_nav_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:layered_nav_query\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:parse_request\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:pre_get_posts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:product_query\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:remove_ordering_args\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:remove_posts_where\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:remove_product_query\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:reset_chosen_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Query\:\:search_post_excerpt\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-query.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-query.php
-
message: '#^Parameter \#1 \$meta_query of method WC_Query\:\:get_meta_query\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-query.php
-
message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-query.php
-
message: '#^Parameter \#1 \$tax_query of method WC_Query\:\:get_tax_query\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-query.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-query.php
-
message: '#^Parameter \#1 \$var of function floatval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-query.php
-
message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-query.php
-
message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-query.php
-
message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-query.php
-
message: '#^Static property WC_Query\:\:\$chosen_attributes \(array\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-query.php
-
message: '#^Variable \$product_visibility_not_in in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: includes/class-wc-query.php
-
message: '#^Method WC_Rate_Limiter\:\:cleanup\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-rate-limiter.php
-
message: '#^Method WC_Rate_Limiter\:\:get_cached\(\) should return bool\|int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-rate-limiter.php
-
message: '#^Method WC_Rate_Limiter\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-rate-limiter.php
-
message: '#^Call to function method_exists\(\) with ''Imagick'' and ''setResourceLimit'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Cannot access offset ''attachment_id'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
identifier: arguments.count
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Offset ''extension'' might not exist on array\{dirname\?\: string, basename\: string, extension\?\: string, filename\: string\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Parameter \#1 \$imagefile of function getimagesize expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Parameter \#1 \$path of function pathinfo expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Parameter \#1 \$path of function wp_get_image_editor expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Part \$dst_h \(mixed\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Part \$dst_w \(mixed\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 1
path: includes/class-wc-regenerate-images-request.php
-
message: '#^Action callback returns array but should not return anything\.$#'
identifier: return.void
count: 2
path: includes/class-wc-regenerate-images.php
-
message: '#^Call to function method_exists\(\) with ''Jetpack'' and ''is_module_active'' will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: includes/class-wc-regenerate-images.php
-
message: '#^Call to static method is_module_active\(\) on an unknown class Jetpack\.$#'
identifier: class.notFound
count: 2
path: includes/class-wc-regenerate-images.php
-
message: '#^Cannot use array destructuring on array\\|false\.$#'
identifier: offsetAccess.nonArray
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
identifier: arguments.count
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:dismiss_regenerating_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:filter_image_get_intermediate_size\(\) should return array but returns array\\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:filter_image_get_intermediate_size\(\) should return array but returns false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:maybe_resize_image\(\) should return array but returns string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:regenerating_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:resize_and_return_image\(\) should return string but returns array\.$#'
identifier: return.type
count: 3
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:resize_and_return_image\(\) should return string but returns array\\.$#'
identifier: return.type
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:resize_and_return_image\(\) should return string but returns array\|string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Method WC_Regenerate_Images\:\:unfiltered_image_downsize\(\) should return string but returns list\\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Parameter \#3 \$size of static method WC_Regenerate_Images\:\:resize_and_return_image\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Part \$dst_h \(mixed\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Part \$dst_w \(mixed\) of encapsed string cannot be cast to string\.$#'
identifier: encapsedStringPart.nonString
count: 1
path: includes/class-wc-regenerate-images.php
-
message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$description\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$form_fields\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$title\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Access to protected property WC_Email\|WC_Settings_Page\:\:\$id\.$#'
identifier: property.protected
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Call to an undefined method WC_Email\|WC_Settings_Page\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_label\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_option_key\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_sections\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_settings\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Property WC_Register_WP_Admin_Settings\:\:\$object \(WC_Register_WP_Admin_Settings\) does not accept WC_Email\|WC_Settings_Page\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-register-wp-admin-settings.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Cannot access offset ''oauth_consumer_key'' on non\-empty\-array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Cannot access offset ''oauth_nonce'' on non\-empty\-array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Cannot access offset ''oauth_timestamp'' on non\-empty\-array\|WP_Error\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Cannot access offset int\<\-899, max\> on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Cannot access offset mixed on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Cannot access property \$consumer_secret on array\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Cannot access property \$user_id on array\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-rest-authentication.php
-
message: '#^Cannot assign new offset to array\|string\.$#'
identifier: offsetAssign.dimType
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Method WC_REST_Authentication\:\:authenticate\(\) should return int\|false but returns bool\|int\.$#'
identifier: return.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Method WC_REST_Authentication\:\:authenticate\(\) should return int\|false but returns int\\|int\<1, max\>\|true\.$#'
identifier: return.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Method WC_REST_Authentication\:\:check_user_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Method WC_REST_Authentication\:\:get_authorization_header\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Method WC_REST_Authentication\:\:get_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Method WC_REST_Authentication\:\:join_with_equals_sign\(\) should return string but returns array\|string\.$#'
identifier: return.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Method WC_REST_Authentication\:\:normalize_parameters\(\) should return array but returns array\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Method WC_REST_Authentication\:\:set_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Method WC_REST_Authentication\:\:update_last_access\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^PHPDoc tag @return has invalid value \(WP_Error\|null\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 63 on line 4$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#1 \$consumer_key of method WC_REST_Authentication\:\:get_user_data_by_consumer_key\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#1 \$data of function maybe_serialize expects array\|object\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#1 \$keys of function array_combine expects array, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#1 \$str of function strtoupper expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#1 \$string of function substr expects string, string\|false\|null given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#1 \$url of function wp_parse_url expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#1 \$user of method WC_REST_Authentication\:\:check_oauth_signature\(\) expects stdClass, array given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#1 \$user of method WC_REST_Authentication\:\:check_oauth_timestamp_and_nonce\(\) expects stdClass, array given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#2 \$params of method WC_REST_Authentication\:\:check_oauth_signature\(\) expects array, array\|WP_Error given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#2 \$path of function get_home_url expects string, string\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#2 \$pieces of function implode expects array, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#2 \$query_params of method WC_REST_Authentication\:\:join_with_equals_sign\(\) expects array, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Parameter \#2 \$values of function array_combine expects array, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Property WC_REST_Authentication\:\:\$error \(WP_Error\) in empty\(\) is not falsy\.$#'
identifier: empty.property
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Property WC_REST_Authentication\:\:\$user \(stdClass\) does not accept array\.$#'
identifier: assign.propertyType
count: 2
path: includes/class-wc-rest-authentication.php
-
message: '#^Property WC_REST_Authentication\:\:\$user \(stdClass\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-rest-authentication.php
-
message: '#^Property WC_REST_Authentication\:\:\$user \(stdClass\) in empty\(\) is not falsy\.$#'
identifier: empty.property
count: 3
path: includes/class-wc-rest-authentication.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 3
path: includes/class-wc-rest-authentication.php
-
message: '#^@param string \$guest_session_id does not accept actual type of parameter\: string\|null\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Cannot access offset 0 on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: includes/class-wc-session-handler.php
-
message: '#^Cannot access offset 1 on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Cannot access offset 2 on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Cannot access property \$prefix on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Cannot call method delete\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Cannot call method get_var\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Cannot call method prepare\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Cannot call method update\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Constant COOKIEHASH not found\.$#'
identifier: constant.notFound
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Constant WC_SESSION_CACHE_GROUP not found\.$#'
identifier: constant.notFound
count: 6
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:cleanup_sessions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:clone_session_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:delete_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:destroy_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:forget_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:init_hooks\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:init_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:init_session_cookie\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:maybe_set_customer_session_cookie\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:migrate_guest_session_to_user_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:restore_session_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:save_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:set_customer_session_cookie\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:set_session_expiration\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Method WC_Session_Handler\:\:update_session_timestamp\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Parameter \#1 \$cart_token of static method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartTokenUtils\:\:get_cart_token_payload\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Parameter \#1 \$cart_token of static method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartTokenUtils\:\:validate_cart_token\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Parameter \#1 \$customer_id of method WC_Session_Handler\:\:delete_session\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Parameter \#1 \$customer_id of method WC_Session_Handler\:\:get_session\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Parameter \#1 \$haystack of function strpos expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-session-handler.php
-
message: '#^Parameter \#2 \$value of function get_user_by expects int\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Property WC_Session\:\:\$_data \(array\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^Property WC_Session_Handler\:\:\$_session_expiring \(int\) does not accept float\|int\.$#'
identifier: assign.propertyType
count: 1
path: includes/class-wc-session-handler.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 10
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:add_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:get_shipping_tax\(\) should return float but returns array\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:set_cost\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:set_delivery_time\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:set_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:set_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:set_instance_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:set_label\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:set_method_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:set_tax_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Method WC_Shipping_Rate\:\:set_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate\.\)\: Unexpected token "\$this", expected variable at offset 177 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate\.\)\: Unexpected token "\$this", expected variable at offset 173 on line 7$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this Shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 169 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 135 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 141 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 143 on line 6$#'
identifier: phpDoc.parseError
count: 2
path: includes/class-wc-shipping-rate.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 144 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 146 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 159 on line 6$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Parameter \#1 \$cost of method WC_Shipping_Rate\:\:set_cost\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^Possibly invalid array key type array\|string\.$#'
identifier: offsetAccess.invalidOffset
count: 1
path: includes/class-wc-shipping-rate.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 2
path: includes/class-wc-shipping-zone.php
-
message: '#^Access to an undefined property object\:\:\$enabled\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Access to an undefined property object\:\:\$has_settings\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Access to an undefined property object\:\:\$method_description\.$#'
identifier: property.notFound
count: 2
path: includes/class-wc-shipping-zone.php
-
message: '#^Access to an undefined property object\:\:\$method_order\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Access to an undefined property object\:\:\$settings_html\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Access to an undefined property object\:\:\$type\.$#'
identifier: property.notFound
count: 4
path: includes/class-wc-shipping-zone.php
-
message: '#^Access to an undefined property object\:\:\$zone_id\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:add_method\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:create\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:delete_method\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:get_admin_options_html\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:get_method\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:get_method_count\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:get_methods\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:has_settings\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:supports\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to an undefined method object\:\:update\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Cannot access an offset on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Cannot access offset mixed on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Cannot access offset string on array\|false\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Cannot access property \$type on mixed\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:add_location\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:clear_locations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:delete_shipping_method\(\) should return true but returns false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:get_zone_locations\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:get_zone_name\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:get_zone_order\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:set_locations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:set_zone_locations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:set_zone_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Method WC_Shipping_Zone\:\:set_zone_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^PHPDoc type int\|null of property WC_Shipping_Zone\:\:\$id is not covariant with PHPDoc type int of overridden property WC_Data\:\:\$id\.$#'
identifier: property.phpDocType
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Parameter \#1 \$input of function array_values expects array\, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Parameter \#2 \$callback of function uasort expects callable\(object, object\)\: int, ''wc_shipping_zone…'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Strict comparison using \=\=\= between ''0'' and null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: includes/class-wc-shipping-zone.php
-
message: '#^Access to an undefined property object\:\:\$enabled\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-shipping-zones.php
-
message: '#^Access to an undefined property object\:\:\$method_order\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-shipping-zones.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_method\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zones.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_zone_id_by_instance_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zones.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_zone_id_from_package\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zones.php
-
message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-shipping-zones.php
-
message: '#^Method WC_Shipping_Zones\:\:delete_zone\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping-zones.php
-
message: '#^Method WC_Shipping_Zones\:\:get_shipping_method\(\) should return bool\|WC_Shipping_Method but returns object\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shipping-zones.php
-
message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shipping-zones.php
-
message: '#^Parameter \#1 \$str of function strtoupper expects string, array\|string given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-shipping-zones.php
-
message: '#^Access to an undefined property object\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-shipping.php
-
message: '#^Cannot access offset ''enabled'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-shipping.php
-
message: '#^Method WC_Shipping\:\:get_shipping_methods\(\) should return array\ but returns array\|null\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shipping.php
-
message: '#^Method WC_Shipping\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping.php
-
message: '#^Method WC_Shipping\:\:reset_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping.php
-
message: '#^Method WC_Shipping\:\:sort_shipping_methods\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping.php
-
message: '#^Method WC_Shipping\:\:unregister_shipping_methods\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shipping.php
-
message: '#^Offset mixed might not exist on array\|null\.$#'
identifier: offsetAccess.notFound
count: 1
path: includes/class-wc-shipping.php
-
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-shipping.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_shipping…'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shipping.php
-
message: '#^@param bool \$force_rendering does not accept actual type of parameter\: null\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
identifier: property.nonObject
count: 3
path: includes/class-wc-shortcodes.php
-
message: '#^Cannot access property \$post_parent on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Cannot access property \$post_status on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Cannot access property \$post_type on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Cannot call method add_to_cart_url\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Method WC_Shortcodes\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Method WC_Shortcodes\:\:product_add_to_cart\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Method WC_Shortcodes\:\:related_products\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Method WC_Shortcodes\:\:shortcode_wrapper\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_cat'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\ given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, int\<0, max\> given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, true given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-shortcodes.php
-
message: '#^Argument of an invalid type array\\|int\\|int\<1, max\> supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Binary operation "\." between ''http\://'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to an undefined method WC_Product\:\:get_variation_price\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-wc-structured-data.php
-
message: '#^Call to an undefined method WC_Product\:\:get_variation_prices\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to an undefined method WC_Product\:\:get_variation_sale_price\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to an undefined method object\:\:get_image_id\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to an undefined method object\:\:is_visible\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_billing_address_1\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_billing_city\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_billing_country\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_billing_email\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_billing_phone\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_billing_postcode\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_billing_state\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_currency\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 5
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_date_created\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_edit_order_url\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_formatted_billing_full_name\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 2
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_items\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_line_subtotal\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 2
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_order_number\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_status\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 2
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_total\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 2
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_total_discount\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Call to method get_view_order_url\(\) on an unknown class WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Cannot access offset 0 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Cannot access offset 1 on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Cannot access property \$comment_ID on int\|WP_Comment\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Cannot call method format\(\) on WC_DateTime\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Cannot call method get_date_on_sale_to\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Cannot call method get_regular_price\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-structured-data.php
-
message: '#^Cannot call method get_sale_price\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 2
path: includes/class-wc-structured-data.php
-
message: '#^Method WC_Structured_Data\:\:generate_breadcrumblist_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Method WC_Structured_Data\:\:generate_order_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Method WC_Structured_Data\:\:generate_product_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Method WC_Structured_Data\:\:generate_review_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Method WC_Structured_Data\:\:generate_website_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Method WC_Structured_Data\:\:output_email_structured_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Method WC_Structured_Data\:\:output_structured_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Method WC_Structured_Data\:\:prepare_gtin\(\) should return string but returns string\|null\.$#'
identifier: return.type
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Offset ''price'' on array\{priceValidUntil\: string, availability\: ''https\://schema\.org…'', url\: mixed, seller\: array\{''@type''\: ''Organization'', name\: mixed, url\: mixed\}, ''@type''\: ''AggregateOffer'', lowPrice\: mixed, highPrice\: mixed, offerCount\: int\<0, max\>, \.\.\.\}\|array\{priceValidUntil\: string, availability\: ''https\://schema\.org…'', url\: mixed, seller\: array\{''@type''\: ''Organization'', name\: mixed, url\: mixed\}, ''@type''\: ''Offer'', priceSpecification\: array\{0\: array\{''@type''\: ''UnitPriceSpecificat…'', price\: mixed, priceCurrency\: mixed, valueAddedTaxIncluded\: mixed, validThrough\: string, priceType\?\: ''https\://schema\.org…''\}, 1\?\: array\{''@type''\: ''UnitPriceSpecificat…'', price\: mixed, priceCurrency\: mixed, valueAddedTaxIncluded\: mixed, validThrough\: string, priceType\?\: ''https\://schema\.org…''\}\}\} in empty\(\) does not exist\.$#'
identifier: empty.offset
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Offset ''priceCurrency'' on array\{priceValidUntil\: string, availability\: ''https\://schema\.org…'', url\: mixed, seller\: array\{''@type''\: ''Organization'', name\: mixed, url\: mixed\}, ''@type''\: ''AggregateOffer'', lowPrice\: mixed, highPrice\: mixed, offerCount\: int\<0, max\>, \.\.\.\} in empty\(\) does not exist\.$#'
identifier: empty.offset
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#1 \$comment of function get_comment_link expects int\|WP_Comment\|null, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#1 \$comment_id of function get_comment_author expects int\|WP_Comment, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#1 \$comment_id of function get_comment_text expects int\|WP_Comment, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#1 \$product of callable ''wc_get_price…'' expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \#2 \$comment_id of function get_comment_date expects int\|WP_Comment, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \$order of method WC_Structured_Data\:\:generate_order_data\(\) has invalid type WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Parameter \$order of method WC_Structured_Data\:\:output_email_structured_data\(\) has invalid type WP_Order\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^Property WC_Structured_Data\:\:\$_data \(array\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: includes/class-wc-structured-data.php
-
message: '#^@param string\|null \$tax_class does not accept actual type of parameter\: mixed\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-wc-tax.php
-
message: '#^Access to an undefined property object\:\:\$tax_rate\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-tax.php
-
message: '#^Access to an undefined property object\:\:\$tax_rate_compound\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-tax.php
-
message: '#^Access to an undefined property object\:\:\$tax_rate_country\.$#'
identifier: property.notFound
count: 4
path: includes/class-wc-tax.php
-
message: '#^Access to an undefined property object\:\:\$tax_rate_id\.$#'
identifier: property.notFound
count: 6
path: includes/class-wc-tax.php
-
message: '#^Access to an undefined property object\:\:\$tax_rate_name\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-tax.php
-
message: '#^Access to an undefined property object\:\:\$tax_rate_priority\.$#'
identifier: property.notFound
count: 4
path: includes/class-wc-tax.php
-
message: '#^Access to an undefined property object\:\:\$tax_rate_state\.$#'
identifier: property.notFound
count: 4
path: includes/class-wc-tax.php
-
message: '#^Argument of an invalid type array\|float\|int\|string\|false\|null supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-tax.php
-
message: '#^Call to an undefined method object\:\:get_taxable_address\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-tax.php
-
message: '#^Cannot access offset ''shipping'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-tax.php
-
message: '#^Cannot access offset ''slug'' on non\-empty\-array\|true\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-tax.php
-
message: '#^Cannot access offset \(int\|string\) on 0\|0\.0\|''''\|''0''\|non\-empty\-array\|false\|null\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: includes/class-wc-tax.php
-
message: '#^Method WC_Tax\:\:_delete_tax_rate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-tax.php
-
message: '#^Method WC_Tax\:\:_update_tax_rate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-tax.php
-
message: '#^Method WC_Tax\:\:_update_tax_rate_cities\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-tax.php
-
message: '#^Method WC_Tax\:\:_update_tax_rate_postcodes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-tax.php
-
message: '#^Method WC_Tax\:\:get_rates\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-tax.php
-
message: '#^Method WC_Tax\:\:get_tax_class_by\(\) should return array\|bool but returns WP_Error\.$#'
identifier: return.type
count: 1
path: includes/class-wc-tax.php
-
message: '#^Method WC_Tax\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-tax.php
-
message: '#^Method WC_Tax\:\:maybe_remove_tax_class_rates\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-tax.php
-
message: '#^Method WC_Tax\:\:update_tax_rate_locations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-tax.php
-
message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{''WC_Tax'', non\-falsy\-string\} given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tax.php
-
message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tax.php
-
message: '#^Parameter \#1 \$rates of static method WC_Tax\:\:sort_rates\(\) expects array, array\|float\|int\|string\|false\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tax.php
-
message: '#^Parameter \#1 \$tax_class of static method WC_Tax\:\:get_tax_location\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tax.php
-
message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tax.php
-
message: '#^Parameter \#2 \$array of function implode expects array\, array\ given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-tax.php
-
message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: includes/class-wc-tax.php
-
message: '#^Static method WC_Tax\:\:format_tax_rate\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/class-wc-tax.php
-
message: '#^Static method WC_Tax\:\:format_tax_rate_country\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/class-wc-tax.php
-
message: '#^Static method WC_Tax\:\:format_tax_rate_name\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/class-wc-tax.php
-
message: '#^Static method WC_Tax\:\:format_tax_rate_priority\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/class-wc-tax.php
-
message: '#^Static method WC_Tax\:\:sort_rates_callback\(\) is unused\.$#'
identifier: method.unused
count: 1
path: includes/class-wc-tax.php
-
message: '#^Access to an undefined property object\:\:\$taxonomy\.$#'
identifier: property.notFound
count: 2
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$columns on array\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$name on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$page on array\.$#'
identifier: property.nonObject
count: 4
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$post_author on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$post_modified on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$post_name on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
identifier: property.nonObject
count: 3
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$rows on array\.$#'
identifier: property.nonObject
count: 2
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$slug on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
identifier: property.nonObject
count: 8
path: includes/class-wc-template-loader.php
-
message: '#^Cannot access property \$taxonomy on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
identifier: property.nonObject
count: 12
path: includes/class-wc-template-loader.php
-
message: '#^Constant WC_TEMPLATE_DEBUG_MODE not found\.$#'
identifier: constant.notFound
count: 2
path: includes/class-wc-template-loader.php
-
message: '#^Method WC_Template_Loader\:\:add_support_for_product_page_gallery\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Method WC_Template_Loader\:\:comments_template_loader\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Method WC_Template_Loader\:\:get_current_shop_view_args\(\) should return array but returns object\{page\: int, columns\: int, rows\: int\}&stdClass\.$#'
identifier: return.type
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Method WC_Template_Loader\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Method WC_Template_Loader\:\:unsupported_theme_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Method WC_Template_Loader\:\:unsupported_theme_product_page_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Method WC_Template_Loader\:\:unsupported_theme_shop_page_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Method WC_Template_Loader\:\:unsupported_theme_tax_archive_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 3
path: includes/class-wc-template-loader.php
-
message: '#^Parameter \#1 \$taxonomy of static method WC_Template_Loader\:\:taxonomy_has_block_template\(\) expects object, WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-template-loader.php
-
message: '#^Access to an undefined property WP_Theme\:\:\$Name\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Access to an undefined property WP_Theme\:\:\$Version\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Access to an undefined property object\:\:\$supports\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Access to an undefined property object\:\:\$title\.$#'
identifier: property.notFound
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Argument of an invalid type array\\|WP_Error supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Call to function is_callable\(\) with ''WC_Helper_Options\:…'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Call to function is_callable\(\) with array\{Automattic\\Jetpack\\Status, ''in_safe_mode''\} will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Cannot access offset ''Author'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Cannot access offset ''Name'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Cannot access offset ''Network'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Cannot access offset ''PluginURI'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Cannot access offset ''Version'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Cannot access offset 1 on list\\|false\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Cannot access offset int\<0, max\> on list\\|false\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 4
path: includes/class-wc-tracker.php
-
message: '#^Cannot access offset mixed on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: includes/class-wc-tracker.php
-
message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Constant WP_MEMORY_LIMIT not found\.$#'
identifier: constant.notFound
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Method WC_Tracker\:\:get_brands_counts\(\) should return int but returns string\|WP_Error\.$#'
identifier: return.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Method WC_Tracker\:\:get_category_counts\(\) should return int but returns string\|WP_Error\.$#'
identifier: return.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Method WC_Tracker\:\:get_order_dates\(\) should return string but returns array\.$#'
identifier: return.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Method WC_Tracker\:\:get_wcpay_settings\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Method WC_Tracker\:\:get_woocommerce_mobile_usage\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Method WC_Tracker\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Method WC_Tracker\:\:send_tracking_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_type'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_brand'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\\|string, object_ids\?\: array\\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\\|string, exclude\?\: array\\|string, exclude_tree\?\: array\\|string, \.\.\.\}, ''product_cat'' given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$arr1 of function array_merge expects array, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$block_name of static method Automattic\\WooCommerce\\Internal\\Utilities\\BlocksUtil\:\:get_blocks_from_widget_area\(\) expects array, string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$plugin_file_or_data of method Automattic\\WooCommerce\\Utilities\\PluginUtil\:\:is_woocommerce_aware_plugin\(\) expects array\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$plugin_name of static method Automattic\\WooCommerce\\Utilities\\FeaturesUtil\:\:get_compatible_features_for_plugin\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$size of function wc_let_to_num expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, mixed given\.$#'
identifier: argument.type
count: 5
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#2 \$args of function wp_safe_remote_post expects array\{method\?\: string, timeout\?\: float, redirection\?\: int, httpversion\?\: string, user\-agent\?\: string, reject_unsafe_urls\?\: bool, blocking\?\: bool, headers\?\: array\|string, \.\.\.\}, array\{method\: ''POST'', timeout\: 45, redirection\: 5, httpversion\: ''1\.0'', blocking\: false, headers\: array\{user\-agent\: non\-falsy\-string\}, body\: non\-empty\-string\|false, cookies\: array\{\}\} given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: includes/class-wc-tracker.php
-
message: '#^Method WC_Validation\:\:is_email\(\) should return bool but returns string\|false\.$#'
identifier: return.type
count: 1
path: includes/class-wc-validation.php
-
message: '#^Parameter \#1 \$phone of function wc_format_phone_number expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-validation.php
-
message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-validation.php
-
message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Access to private property WooCommerce\:\:\$api\.$#'
identifier: property.private
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Action callback returns mixed but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Binary operation "\." between ''wp_api_v'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Call to an undefined method object\:\:get_api_version_number\(\)\.$#'
identifier: method.notFound
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Call to method get_webhook_api_payload\(\) on an unknown class WC_API\.$#'
identifier: class.notFound
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
identifier: property.nonObject
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
identifier: method.nonObject
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:deliver\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:enqueue\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:failed_delivery\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:get_failure_count\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:get_pending_delivery\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:get_user_id\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:get_wp_api_payload\(\) should return array but returns array\|WP_Error\.$#'
identifier: return.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:log_delivery\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_api_version\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_date_created\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_date_modified\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_delivery_url\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_failure_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_pending_delivery\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_secret\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_topic\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Method WC_Webhook\:\:set_user_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-wc-webhook.php
-
message: '#^PHPDoc tag @param has invalid value \(WC_Webhook \$this The current webhook class\.\)\: Unexpected token "\$this", expected variable at offset 217 on line 5$#'
identifier: phpDoc.parseError
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#1 \$failure_count of method WC_Webhook\:\:set_failure_count\(\) expects bool, int given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#1 \$hook_name of function add_action expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
identifier: argument.type
count: 5
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#1 \$message of method WC_Logger_Interface\:\:info\(\) expects string, bool\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#1 \$topic of function wc_is_webhook_valid_topic expects string, array\|string given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#2 \$resource_id of method WC_Webhook\:\:get_wp_api_payload\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: includes/class-wc-webhook.php
-
message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 2
path: includes/class-wc-webhook.php
-
message: '#^@param int \$limit does not accept actual type of parameter\: null\.$#'
identifier: parameter.phpDocType
count: 1
path: includes/class-woocommerce.php
-
message: '#^Action callback returns int but should not return anything\.$#'
identifier: return.void
count: 1
path: includes/class-woocommerce.php
-
message: '#^Call to an undefined method object\:\:init\(\)\.$#'
identifier: method.notFound
count: 2
path: includes/class-woocommerce.php
-
message: '#^Cannot access an offset on list\\|false\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/class-woocommerce.php
-
message: '#^Constant WC_ABSPATH not found\.$#'
identifier: constant.notFound
count: 143
path: includes/class-woocommerce.php
-
message: '#^Constant WC_NOTICE_MIN_PHP_VERSION not found\.$#'
identifier: constant.notFound
count: 1
path: includes/class-woocommerce.php
-
message: '#^Constant WC_NOTICE_MIN_WP_VERSION not found\.$#'
identifier: constant.notFound
count: 1
path: includes/class-woocommerce.php
-
message: '#^Constant WC_PLUGIN_BASENAME not found\.$#'
identifier: constant.notFound
count: 1
path: includes/class-woocommerce.php
-
message: '#^Function as_next_scheduled_action not found\.$#'
identifier: function.notFound
count: 1
path: includes/class-woocommerce.php
-
message: '#^Function as_schedule_recurring_action not found\.$#'
identifier: function.notFound
count: 1
path: includes/class-woocommerce.php
-
message: '#^Function as_unschedule_all_actions not found\.$#'
identifier: function.notFound
count: 6
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:activated_plugin\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:add_image_sizes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:add_thumbnail_support\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:add_woocommerce_inbox_variant\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:add_woocommerce_remote_variant\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:deactivated_plugin\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:define\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:define_constants\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:define_tables\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:frontend_includes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:include_template_functions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:includes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:init_customizer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:init_hooks\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:is_request\(\) should return bool but return statement is missing\.$#'
identifier: return.missing
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:load_plugin_textdomain\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:load_rest_api\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:load_webhooks\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:log_errors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:on_plugins_loaded\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:register_recurring_actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:register_wp_admin_settings\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:setup_environment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:theme_support_includes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Method WooCommerce\:\:wpdb_table_fix\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: includes/class-woocommerce.php
-
message: '#^Parameter \#1 \$class_name of method Automattic\\WooCommerce\\Proxies\\LegacyProxy\:\:get_instance_of\(\) expects class\-string\