Commit 2674fc7800 for woocommerce
commit 2674fc7800d778edcb6167c8967e5cb858f4da4f
Author: Michael Pretty <prettyboymp@users.noreply.github.com>
Date: Fri Feb 6 08:25:34 2026 -0500
Add missing @return PHPDoc annotations to reduce PHPStan baseline (#63147)
* Add missing @return PHPDoc annotations to reduce PHPStan baseline
Add @return type annotations to 376 functions across 4 files:
- wc-deprecated-functions.php (102 functions)
- class-wc-ajax.php (100 functions)
- wc-template-functions.php (101 functions)
- wc-update-functions.php (73 functions)
Also removes unnecessary return statements from 5 deprecated
wrapper functions that were returning void function results.
Reduces the PHPStan baseline from 16,767 to 16,393 errors (-374).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix PHPCS false positive for nested function return in wc_update_560
Add phpcs:disable/enable around wc_update_560_create_refund_returns_page
to suppress InvalidReturnVoid false positive caused by a return statement
in a nested inner function, and add @return array to the inner function.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Remove stale baseline entry for filter_created_pages return type
The @return array annotation was added to the nested function,
so the baseline entry for its missing return type is no longer needed.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
diff --git a/plugins/woocommerce/changelog/fix-phpstan-add-return-type-annotations b/plugins/woocommerce/changelog/fix-phpstan-add-return-type-annotations
new file mode 100644
index 0000000000..eacced3687
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-phpstan-add-return-type-annotations
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Add missing @return PHPDoc annotations to reduce PHPStan baseline by 374 errors.
diff --git a/plugins/woocommerce/includes/class-wc-ajax.php b/plugins/woocommerce/includes/class-wc-ajax.php
index 9f920b39a6..1768c9d222 100644
--- a/plugins/woocommerce/includes/class-wc-ajax.php
+++ b/plugins/woocommerce/includes/class-wc-ajax.php
@@ -33,6 +33,8 @@ class WC_AJAX {
/**
* Hook in ajax handlers.
+ *
+ * @return void
*/
public static function init() {
add_action( 'init', array( __CLASS__, 'define_ajax' ), 0 );
@@ -53,6 +55,8 @@ class WC_AJAX {
/**
* Set the 'wc-ajax' argument in $wp_query.
+ *
+ * @return void
*/
private static function set_wc_ajax_argument_in_query() {
global $wp_query;
@@ -66,6 +70,8 @@ class WC_AJAX {
/**
* Set WC AJAX constant and headers.
+ *
+ * @return void
*/
public static function define_ajax() {
global $wp_query;
@@ -87,6 +93,8 @@ class WC_AJAX {
* Send headers for WC Ajax Requests.
*
* @since 2.5.0
+ *
+ * @return void
*/
private static function wc_ajax_headers() {
if ( ! headers_sent() ) {
@@ -104,6 +112,8 @@ class WC_AJAX {
/**
* Check for WC Ajax request and fire action.
+ *
+ * @return void
*/
public static function do_wc_ajax() {
global $wp_query;
@@ -124,6 +134,8 @@ class WC_AJAX {
/**
* Hook in methods - uses WordPress ajax handlers (admin-ajax).
+ *
+ * @return void
*/
public static function add_ajax_events() {
$ajax_events_nopriv = array(
@@ -243,6 +255,8 @@ class WC_AJAX {
/**
* Get a refreshed cart fragment, including the mini cart HTML.
+ *
+ * @return void
*/
public static function get_refreshed_fragments() {
ob_start();
@@ -266,6 +280,8 @@ class WC_AJAX {
/**
* AJAX apply coupon on checkout page.
+ *
+ * @return void
*/
public static function apply_coupon() {
@@ -290,6 +306,8 @@ class WC_AJAX {
/**
* AJAX remove coupon on cart and checkout page.
+ *
+ * @return void
*/
public static function remove_coupon() {
check_ajax_referer( 'remove-coupon', 'security' );
@@ -309,6 +327,8 @@ class WC_AJAX {
/**
* AJAX update shipping method on cart page.
+ *
+ * @return void
*/
public static function update_shipping_method() {
check_ajax_referer( 'update-shipping-method', 'security' );
@@ -334,6 +354,8 @@ class WC_AJAX {
/**
* AJAX receive updated cart_totals div.
+ *
+ * @return void
*/
public static function get_cart_totals() {
wc_maybe_define_constant( 'WOOCOMMERCE_CART', true );
@@ -344,6 +366,8 @@ class WC_AJAX {
/**
* Session has expired.
+ *
+ * @return void
*/
private static function update_order_review_expired() {
wp_send_json(
@@ -365,6 +389,8 @@ class WC_AJAX {
/**
* AJAX update order review on checkout.
+ *
+ * @return void
*/
public static function update_order_review() {
check_ajax_referer( 'update-order-review', 'security' );
@@ -482,6 +508,8 @@ class WC_AJAX {
/**
* AJAX add to cart.
+ *
+ * @return void
*/
public static function add_to_cart() {
ob_start();
@@ -530,6 +558,8 @@ class WC_AJAX {
/**
* AJAX remove from cart.
+ *
+ * @return void
*/
public static function remove_from_cart() {
ob_start();
@@ -546,6 +576,8 @@ class WC_AJAX {
/**
* Process ajax checkout form.
+ *
+ * @return void
*/
public static function checkout() {
wc_maybe_define_constant( 'WOOCOMMERCE_CHECKOUT', true );
@@ -555,6 +587,8 @@ class WC_AJAX {
/**
* Get a matching variation based on posted attributes.
+ *
+ * @return void
*/
public static function get_variation() {
ob_start();
@@ -579,6 +613,8 @@ class WC_AJAX {
/**
* Locate user via AJAX.
+ *
+ * @return void
*/
public static function get_customer_location() {
$location_hash = WC_Cache_Helper::geolocation_ajax_get_location_hash();
@@ -587,6 +623,8 @@ class WC_AJAX {
/**
* Toggle Featured status of a product from admin.
+ *
+ * @return void
*/
public static function feature_product() {
if ( current_user_can( 'edit_products' ) && check_admin_referer( 'woocommerce-feature-product' ) && isset( $_GET['product_id'] ) ) {
@@ -604,6 +642,8 @@ class WC_AJAX {
/**
* Mark an order with a status.
+ *
+ * @return void
*/
public static function mark_order_status() {
if ( current_user_can( 'edit_shop_orders' ) && check_admin_referer( 'woocommerce-mark-order-status' ) && isset( $_GET['status'], $_GET['order_id'] ) ) {
@@ -625,6 +665,8 @@ class WC_AJAX {
/**
* Get order details.
+ *
+ * @return void
*/
public static function get_order_details() {
check_admin_referer( 'woocommerce-preview-order', 'security' );
@@ -645,6 +687,8 @@ class WC_AJAX {
/**
* Add an attribute row.
+ *
+ * @return void
*/
public static function add_attribute() {
ob_start();
@@ -685,6 +729,8 @@ class WC_AJAX {
/**
* Add a new attribute via ajax function.
+ *
+ * @return void
*/
public static function add_new_attribute() {
check_ajax_referer( 'add-attribute', 'security' );
@@ -720,6 +766,8 @@ class WC_AJAX {
/**
* Delete variations via ajax function.
+ *
+ * @return void
*/
public static function remove_variations() {
check_ajax_referer( 'delete-variations', 'security' );
@@ -740,6 +788,8 @@ class WC_AJAX {
/**
* Save attributes via ajax.
+ *
+ * @return void
*/
public static function save_attributes() {
check_ajax_referer( 'save-attributes', 'security' );
@@ -787,6 +837,8 @@ class WC_AJAX {
/**
* Save attributes and variations via ajax.
+ *
+ * @return void
*/
public static function add_attributes_and_variations() {
check_ajax_referer( 'add-attributes-and-variations', 'security' );
@@ -846,6 +898,8 @@ class WC_AJAX {
/**
* Add variation via ajax function.
+ *
+ * @return void
*/
public static function add_variation() {
check_ajax_referer( 'add-variation', 'security' );
@@ -870,6 +924,8 @@ class WC_AJAX {
/**
* Link all variations via ajax function.
+ *
+ * @return void
*/
public static function link_all_variations() {
check_ajax_referer( 'link-variations', 'security' );
@@ -897,6 +953,8 @@ class WC_AJAX {
/**
* Delete download permissions via ajax function.
+ *
+ * @return void
*/
public static function revoke_access_to_download() {
check_ajax_referer( 'revoke-access', 'security' );
@@ -918,6 +976,8 @@ class WC_AJAX {
/**
* Grant download permissions via ajax function.
+ *
+ * @return void
*/
public static function grant_access_to_download() {
@@ -994,6 +1054,8 @@ class WC_AJAX {
/**
* Get customer details via ajax.
+ *
+ * @return void
*/
public static function get_customer_details() {
$legacy_proxy = wc_get_container()->get( LegacyProxy::class );
@@ -1030,6 +1092,8 @@ class WC_AJAX {
* Add order item via ajax. Used on the edit order screen in WP Admin.
*
* @throws Exception If order is invalid.
+ *
+ * @return void
*/
public static function add_order_item() {
check_ajax_referer( 'order-item', 'security' );
@@ -1148,6 +1212,8 @@ class WC_AJAX {
* Add order fee via ajax.
*
* @throws Exception If order is invalid.
+ *
+ * @return void
*/
public static function add_order_fee() {
check_ajax_referer( 'order-item', 'security' );
@@ -1212,6 +1278,8 @@ class WC_AJAX {
* Add order shipping cost via ajax.
*
* @throws Exception If order is invalid.
+ *
+ * @return void
*/
public static function add_order_shipping() {
check_ajax_referer( 'order-item', 'security' );
@@ -1254,6 +1322,8 @@ class WC_AJAX {
* Add order tax column via ajax.
*
* @throws Exception If order or tax rate is invalid.
+ *
+ * @return void
*/
public static function add_order_tax() {
check_ajax_referer( 'order-item', 'security' );
@@ -1301,6 +1371,8 @@ class WC_AJAX {
* Add order discount via ajax.
*
* @throws Exception If order or coupon is invalid.
+ *
+ * @return void
*/
public static function add_coupon_discount() {
wc_get_container()->get( CouponsController::class )->add_coupon_discount_via_ajax();
@@ -1310,6 +1382,8 @@ class WC_AJAX {
* Remove coupon from an order via ajax.
*
* @throws Exception If order or coupon is invalid.
+ *
+ * @return void
*/
public static function remove_order_coupon() {
check_ajax_referer( 'order-item', 'security' );
@@ -1368,6 +1442,8 @@ class WC_AJAX {
* Remove an order item.
*
* @throws Exception If order is invalid.
+ *
+ * @return void
*/
public static function remove_order_item() {
check_ajax_referer( 'order-item', 'security' );
@@ -1481,6 +1557,8 @@ class WC_AJAX {
* Remove an order tax.
*
* @throws Exception If there is an error whilst deleting the rate.
+ *
+ * @return void
*/
public static function remove_order_tax() {
check_ajax_referer( 'order-item', 'security' );
@@ -1519,6 +1597,8 @@ class WC_AJAX {
/**
* Calc line tax.
+ *
+ * @return void
*/
public static function calc_line_taxes() {
wc_get_container()->get( TaxesController::class )->calc_line_taxes_via_ajax();
@@ -1526,6 +1606,8 @@ class WC_AJAX {
/**
* Save order items via ajax.
+ *
+ * @return void
*/
public static function save_order_items() {
check_ajax_referer( 'order-item', 'security' );
@@ -1569,6 +1651,8 @@ class WC_AJAX {
/**
* Load order items via ajax.
+ *
+ * @return void
*/
public static function load_order_items() {
check_ajax_referer( 'order-item', 'security' );
@@ -1586,6 +1670,8 @@ class WC_AJAX {
/**
* Add order note via ajax.
+ *
+ * @return void
*/
public static function add_order_note() {
check_ajax_referer( 'add-order-note', 'security' );
@@ -1639,6 +1725,8 @@ class WC_AJAX {
/**
* Delete order note via ajax.
+ *
+ * @return void
*/
public static function delete_order_note() {
check_ajax_referer( 'delete-order-note', 'security' );
@@ -1660,6 +1748,8 @@ class WC_AJAX {
*
* @param string $term (default: '') Term to search for.
* @param bool $include_variations in search or not.
+ *
+ * @return void
*/
public static function json_search_products( $term = '', $include_variations = false ) {
check_ajax_referer( 'search-products', 'security' );
@@ -1734,6 +1824,8 @@ class WC_AJAX {
* Search for product variations and return json.
*
* @see WC_AJAX::json_search_products()
+ *
+ * @return void
*/
public static function json_search_products_and_variations() {
self::json_search_products( '', true );
@@ -1743,6 +1835,8 @@ class WC_AJAX {
* Search for downloadable product variations and return json.
*
* @see WC_AJAX::json_search_products()
+ *
+ * @return void
*/
public static function json_search_downloadable_products_and_variations() {
check_ajax_referer( 'search-products', 'security' );
@@ -1772,6 +1866,8 @@ class WC_AJAX {
/**
* Search for customers and return json.
+ *
+ * @return void
*/
public static function json_search_customers() {
ob_start();
@@ -1843,6 +1939,8 @@ class WC_AJAX {
/**
* Search for categories and return json.
+ *
+ * @return void
*/
public static function json_search_categories() {
ob_start();
@@ -1898,6 +1996,8 @@ class WC_AJAX {
/**
* Search for categories and return json.
+ *
+ * @return void
*/
public static function json_search_categories_tree() {
ob_start();
@@ -1967,6 +2067,8 @@ class WC_AJAX {
/**
* Search for taxonomy terms and return json.
+ *
+ * @return void
*/
public static function json_search_taxonomy_terms() {
ob_start();
@@ -2014,6 +2116,8 @@ class WC_AJAX {
/**
* Search for product attributes and return json.
+ *
+ * @return void
*/
public static function json_search_product_attributes() {
ob_start();
@@ -2060,6 +2164,8 @@ class WC_AJAX {
/**
* Ajax request handling for page searching.
+ *
+ * @return void
*/
public static function json_search_pages() {
ob_start();
@@ -2101,6 +2207,8 @@ class WC_AJAX {
/**
* Ajax request handling for categories ordering.
+ *
+ * @return void
*/
public static function term_ordering() {
// phpcs:disable WordPress.Security.NonceVerification.Missing
@@ -2133,6 +2241,8 @@ class WC_AJAX {
* Ajax request handling for product ordering.
*
* Based on Simple Page Ordering by 10up (https://wordpress.org/plugins/simple-page-ordering/).
+ *
+ * @return void
*/
public static function product_ordering() {
global $wpdb;
@@ -2197,6 +2307,8 @@ class WC_AJAX {
* Handle a refund via the edit order screen.
*
* @throws Exception To return errors.
+ *
+ * @return void
*/
public static function refund_line_items() {
ob_start();
@@ -2281,6 +2393,8 @@ class WC_AJAX {
/**
* Delete a refund.
+ *
+ * @return void
*/
public static function delete_refund() {
check_ajax_referer( 'order-item', 'security' );
@@ -2303,6 +2417,8 @@ class WC_AJAX {
/**
* Triggered when clicking the rating footer.
+ *
+ * @return void
*/
public static function rated() {
if ( ! current_user_can( 'manage_woocommerce' ) ) {
@@ -2316,6 +2432,8 @@ class WC_AJAX {
* Create/Update API key.
*
* @throws Exception On invalid or empty description, user, or permissions.
+ *
+ * @return void
*/
public static function update_api_key() {
ob_start();
@@ -2423,6 +2541,8 @@ class WC_AJAX {
/**
* Load variations via AJAX.
+ *
+ * @return void
*/
public static function load_variations() {
ob_start();
@@ -2471,6 +2591,8 @@ class WC_AJAX {
/**
* Save variations via AJAX.
+ *
+ * @return void
*/
public static function save_variations() {
ob_start();
@@ -2513,6 +2635,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_toggle_enabled( $variations, $data ) {
foreach ( $variations as $variation_id ) {
@@ -2529,6 +2653,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_toggle_downloadable( $variations, $data ) {
self::variation_bulk_toggle( $variations, 'downloadable' );
@@ -2541,6 +2667,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_toggle_virtual( $variations, $data ) {
self::variation_bulk_toggle( $variations, 'virtual' );
@@ -2553,6 +2681,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_toggle_manage_stock( $variations, $data ) {
self::variation_bulk_toggle( $variations, 'manage_stock' );
@@ -2565,6 +2695,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_regular_price( $variations, $data ) {
self::variation_bulk_set( $variations, 'regular_price', $data['value'] );
@@ -2577,6 +2709,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_sale_price( $variations, $data ) {
self::variation_bulk_set( $variations, 'sale_price', $data['value'] );
@@ -2589,6 +2723,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_stock_status_instock( $variations, $data ) {
self::variation_bulk_set( $variations, 'stock_status', ProductStockStatus::IN_STOCK );
@@ -2601,6 +2737,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_stock_status_outofstock( $variations, $data ) {
self::variation_bulk_set( $variations, 'stock_status', ProductStockStatus::OUT_OF_STOCK );
@@ -2613,6 +2751,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_stock_status_onbackorder( $variations, $data ) {
self::variation_bulk_set( $variations, 'stock_status', ProductStockStatus::ON_BACKORDER );
@@ -2625,6 +2765,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_stock( $variations, $data ) {
if ( ! isset( $data['value'] ) ) {
@@ -2651,6 +2793,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_low_stock_amount( $variations, $data ) {
if ( ! isset( $data['value'] ) ) {
@@ -2677,6 +2821,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_weight( $variations, $data ) {
self::variation_bulk_set( $variations, 'weight', $data['value'] );
@@ -2689,6 +2835,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_length( $variations, $data ) {
self::variation_bulk_set( $variations, 'length', $data['value'] );
@@ -2701,6 +2849,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_width( $variations, $data ) {
self::variation_bulk_set( $variations, 'width', $data['value'] );
@@ -2713,6 +2863,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_height( $variations, $data ) {
self::variation_bulk_set( $variations, 'height', $data['value'] );
@@ -2725,6 +2877,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_download_limit( $variations, $data ) {
self::variation_bulk_set( $variations, 'download_limit', $data['value'] );
@@ -2737,6 +2891,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_download_expiry( $variations, $data ) {
self::variation_bulk_set( $variations, 'download_expiry', $data['value'] );
@@ -2749,6 +2905,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_delete_all( $variations, $data ) {
if ( isset( $data['allowed'] ) && 'true' === $data['allowed'] ) {
@@ -2766,6 +2924,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_sale_schedule( $variations, $data ) {
if ( ! isset( $data['date_from'] ) && ! isset( $data['date_to'] ) ) {
@@ -2796,6 +2956,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_regular_price_increase( $variations, $data ) {
self::variation_bulk_adjust_price( $variations, 'regular_price', '+', wc_clean( $data['value'] ) );
@@ -2808,6 +2970,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_regular_price_decrease( $variations, $data ) {
self::variation_bulk_adjust_price( $variations, 'regular_price', '-', wc_clean( $data['value'] ) );
@@ -2820,6 +2984,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_sale_price_increase( $variations, $data ) {
self::variation_bulk_adjust_price( $variations, 'sale_price', '+', wc_clean( $data['value'] ) );
@@ -2832,6 +2998,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_sale_price_decrease( $variations, $data ) {
self::variation_bulk_adjust_price( $variations, 'sale_price', '-', wc_clean( $data['value'] ) );
@@ -2845,6 +3013,8 @@ class WC_AJAX {
* @param array $data Data to set.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_action_variable_unset_cogs_value( $variations, $data ) {
if ( ! wc_get_container()->get( CostOfGoodsSoldController::class )->feature_is_enabled() ) {
@@ -2868,6 +3038,8 @@ class WC_AJAX {
* @param string $value Price or Percent.
*
* @used-by bulk_edit_variations
+ *
+ * @return void
*/
private static function variation_bulk_adjust_price( $variations, $field, $operator, $value ) {
foreach ( $variations as $variation_id ) {
@@ -2897,6 +3069,8 @@ class WC_AJAX {
* @param array $variations List of variations.
* @param string $field Field to set.
* @param string $value to set.
+ *
+ * @return void
*/
private static function variation_bulk_set( $variations, $field, $value ) {
foreach ( $variations as $variation_id ) {
@@ -2911,6 +3085,8 @@ class WC_AJAX {
*
* @param array $variations List of variations.
* @param string $field Field to toggle.
+ *
+ * @return void
*/
private static function variation_bulk_toggle( $variations, $field ) {
foreach ( $variations as $variation_id ) {
@@ -2946,6 +3122,8 @@ class WC_AJAX {
* @uses WC_AJAX::variation_bulk_action_toggle_downloadable()
* @uses WC_AJAX::variation_bulk_action_toggle_enabled
* @uses WC_AJAX::variation_bulk_action_variable_low_stock_amount()
+ *
+ * @return void
*/
public static function bulk_edit_variations() {
ob_start();
@@ -2988,6 +3166,8 @@ class WC_AJAX {
/**
* Handle submissions from assets/js/settings-views-html-settings-tax.js Backbone model.
+ *
+ * @return void
*/
public static function tax_rates_save_changes() {
// phpcs:disable WordPress.Security.NonceVerification.Missing
@@ -3070,6 +3250,8 @@ class WC_AJAX {
/**
* Handle submissions from assets/js/wc-shipping-zones.js Backbone model.
+ *
+ * @return void
*/
public static function shipping_zones_save_changes() {
if ( ! isset( $_POST['wc_shipping_zones_nonce'], $_POST['changes'] ) ) {
@@ -3158,6 +3340,8 @@ class WC_AJAX {
/**
* Handle submissions from assets/js/wc-shipping-zone-methods.js Backbone model.
+ *
+ * @return void
*/
public static function shipping_zone_add_method() {
if ( ! isset( $_POST['wc_shipping_zones_nonce'], $_POST['zone_id'], $_POST['method_id'] ) ) {
@@ -3228,6 +3412,8 @@ class WC_AJAX {
/**
* Handle submissions from assets/js/wc-shipping-zone-methods.js Backbone model.
+ *
+ * @return void
*/
public static function shipping_zone_remove_method() {
if ( ! isset( $_POST['wc_shipping_zones_nonce'], $_POST['instance_id'], $_POST['zone_id'] ) ) {
@@ -3285,6 +3471,8 @@ class WC_AJAX {
/**
* Handle submissions from assets/js/wc-shipping-zone-methods.js Backbone model.
+ *
+ * @return void
*/
public static function shipping_zone_methods_save_changes() {
if ( ! isset( $_POST['wc_shipping_zones_nonce'], $_POST['zone_id'], $_POST['changes'] ) ) {
@@ -3454,6 +3642,8 @@ class WC_AJAX {
/**
* Save method settings
+ *
+ * @return void
*/
public static function shipping_zone_methods_save_settings() {
if ( ! isset( $_POST['wc_shipping_zones_nonce'], $_POST['instance_id'], $_POST['data'] ) ) {
@@ -3506,6 +3696,8 @@ class WC_AJAX {
/**
* Handle submissions from assets/js/wc-shipping-classes.js Backbone model.
+ *
+ * @return void
*/
public static function shipping_classes_save_changes() {
if ( ! isset( $_POST['wc_shipping_classes_nonce'], $_POST['changes'] ) ) {
@@ -3636,6 +3828,8 @@ class WC_AJAX {
* Toggle payment gateway on or off via AJAX.
*
* @since 3.4.0
+ *
+ * @return void
*/
public static function toggle_gateway_enabled() {
if ( current_user_can( 'manage_woocommerce' ) && check_ajax_referer( 'woocommerce-toggle-payment-gateway-enabled', 'security' ) && isset( $_POST['gateway_id'] ) ) {
@@ -3687,6 +3881,8 @@ class WC_AJAX {
/**
* AJAX handler for asynchronously loading the status widget content.
+ *
+ * @return void
*/
public static function load_status_widget() {
check_ajax_referer( 'wc-status-widget', 'security' );
@@ -3706,6 +3902,8 @@ class WC_AJAX {
/**
* Reimplementation of WP core's `wp_ajax_add_meta` method to support order custom meta updates with custom tables.
+ *
+ * @return void
*/
private static function order_add_meta() {
wc_get_container()->get( CustomMetaBox::class )->add_meta_ajax();
@@ -3765,6 +3963,8 @@ class WC_AJAX {
* @param WC_Product $variation_object Variation being edited.
* @param int $loop Index of the variation being rendered.
* @param float|null $base_cost Default cost for variations, null if the Cost of Goods Sold feature is disabled.
+ *
+ * @return void
*/
private static function render_variation_html( WC_Product $product_object, WC_Product $variation_object, $loop, ?float $base_cost ) {
$variation_id = $variation_object->get_id();
diff --git a/plugins/woocommerce/includes/wc-deprecated-functions.php b/plugins/woocommerce/includes/wc-deprecated-functions.php
index ea1105debd..dc50045d50 100644
--- a/plugins/woocommerce/includes/wc-deprecated-functions.php
+++ b/plugins/woocommerce/includes/wc-deprecated-functions.php
@@ -27,6 +27,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* @param string $version The version of WooCommerce that deprecated the hook.
* @param string $replacement The hook that should have been used.
* @param string $message A message regarding the change.
+ * @return void
*/
function wc_do_deprecated_action( $tag, $args, $version, $replacement = null, $message = null ) {
if ( ! has_action( $tag ) ) {
@@ -44,6 +45,7 @@ function wc_do_deprecated_action( $tag, $args, $version, $replacement = null, $m
* @param string $function Function used.
* @param string $version Version the message was added in.
* @param string $replacement Replacement for the called function.
+ * @return void
*/
function wc_deprecated_function( $function, $version, $replacement = null ) {
// @codingStandardsIgnoreStart
@@ -66,6 +68,7 @@ function wc_deprecated_function( $function, $version, $replacement = null ) {
* @param string $version The version of WordPress that deprecated the hook.
* @param string $replacement The hook that should have been used.
* @param string $message A message regarding the change.
+ * @return void
*/
function wc_deprecated_hook( $hook, $version, $replacement = null, $message = null ) {
// @codingStandardsIgnoreStart
@@ -90,6 +93,7 @@ function wc_deprecated_hook( $hook, $version, $replacement = null, $message = nu
* @param Exception $exception_object The exception object.
* @param string $function The function which threw exception.
* @param array $args The args passed to the function.
+ * @return void
*/
function wc_caught_exception( $exception_object, $function = '', $args = array() ) {
// @codingStandardsIgnoreStart
@@ -108,6 +112,7 @@ function wc_caught_exception( $exception_object, $function = '', $args = array()
* @param string $function Function used.
* @param string $message Message to log.
* @param string $version Version the message was added in.
+ * @return void
*/
function wc_doing_it_wrong( $function, $message, $version ) {
// @codingStandardsIgnoreStart
@@ -129,6 +134,7 @@ function wc_doing_it_wrong( $function, $message, $version ) {
* @param string $argument
* @param string $version
* @param string $replacement
+ * @return void
*/
function wc_deprecated_argument( $argument, $version, $message = null ) {
if ( wp_doing_ajax() || WC()->is_rest_api_request() ) {
@@ -141,6 +147,7 @@ function wc_deprecated_argument( $argument, $version, $message = null ) {
/**
* @deprecated 2.1
+ * @return void
*/
function woocommerce_show_messages() {
wc_deprecated_function( 'woocommerce_show_messages', '2.1', 'wc_print_notices' );
@@ -149,6 +156,7 @@ function woocommerce_show_messages() {
/**
* @deprecated 2.1
+ * @return void
*/
function woocommerce_weekend_area_js() {
wc_deprecated_function( 'woocommerce_weekend_area_js', '2.1' );
@@ -156,6 +164,7 @@ function woocommerce_weekend_area_js() {
/**
* @deprecated 2.1
+ * @return void
*/
function woocommerce_tooltip_js() {
wc_deprecated_function( 'woocommerce_tooltip_js', '2.1' );
@@ -163,6 +172,7 @@ function woocommerce_tooltip_js() {
/**
* @deprecated 2.1
+ * @return void
*/
function woocommerce_datepicker_js() {
wc_deprecated_function( 'woocommerce_datepicker_js', '2.1' );
@@ -170,6 +180,7 @@ function woocommerce_datepicker_js() {
/**
* @deprecated 2.1
+ * @return void
*/
function woocommerce_admin_scripts() {
wc_deprecated_function( 'woocommerce_admin_scripts', '2.1' );
@@ -177,6 +188,7 @@ function woocommerce_admin_scripts() {
/**
* @deprecated 2.1
+ * @return int
*/
function woocommerce_create_page( $slug, $option = '', $page_title = '', $page_content = '', $post_parent = 0 ) {
wc_deprecated_function( 'woocommerce_create_page', '2.1', 'wc_create_page' );
@@ -185,6 +197,7 @@ function woocommerce_create_page( $slug, $option = '', $page_title = '', $page_c
/**
* @deprecated 2.1
+ * @return bool
*/
function woocommerce_readfile_chunked( $file, $retbytes = true ) {
wc_deprecated_function( 'woocommerce_readfile_chunked', '2.1', 'WC_Download_Handler::readfile_chunked()' );
@@ -221,6 +234,7 @@ function woocommerce_get_formatted_product_name( $product ) {
* Handle IPN requests for the legacy paypal gateway by calling gateways manually if needed.
*
* @access public
+ * @return void
*/
function woocommerce_legacy_paypal_ipn() {
if ( ! empty( $_GET['paypalListener'] ) && 'paypal_standard_IPN' === $_GET['paypalListener'] ) {
@@ -232,6 +246,7 @@ add_action( 'init', 'woocommerce_legacy_paypal_ipn' );
/**
* @deprecated 3.0
+ * @return WC_Product|null|false
*/
function get_product( $the_product = false, $args = array() ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_product' );
@@ -240,6 +255,7 @@ function get_product( $the_product = false, $args = array() ) {
/**
* @deprecated 3.0
+ * @return bool
*/
function woocommerce_protected_product_add_to_cart( $passed, $product_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_protected_product_add_to_cart' );
@@ -248,6 +264,7 @@ function woocommerce_protected_product_add_to_cart( $passed, $product_id ) {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_empty_cart() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_empty_cart' );
@@ -256,14 +273,16 @@ function woocommerce_empty_cart() {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_load_persistent_cart( $user_login, $user = 0 ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_load_persistent_cart' );
- return wc_load_persistent_cart( $user_login, $user );
+ wc_load_persistent_cart( $user_login, $user );
}
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_add_to_cart_message( $product_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_add_to_cart_message' );
@@ -272,6 +291,7 @@ function woocommerce_add_to_cart_message( $product_id ) {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_clear_cart_after_payment() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_clear_cart_after_payment' );
@@ -280,6 +300,7 @@ function woocommerce_clear_cart_after_payment() {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_cart_totals_subtotal_html() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_cart_totals_subtotal_html' );
@@ -288,6 +309,7 @@ function woocommerce_cart_totals_subtotal_html() {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_cart_totals_shipping_html() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_cart_totals_shipping_html' );
@@ -296,6 +318,7 @@ function woocommerce_cart_totals_shipping_html() {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_cart_totals_coupon_html( $coupon ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_cart_totals_coupon_html' );
@@ -304,6 +327,7 @@ function woocommerce_cart_totals_coupon_html( $coupon ) {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_cart_totals_order_total_html() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_cart_totals_order_total_html' );
@@ -312,6 +336,7 @@ function woocommerce_cart_totals_order_total_html() {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_cart_totals_fee_html( $fee ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_cart_totals_fee_html' );
@@ -320,6 +345,7 @@ function woocommerce_cart_totals_fee_html( $fee ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_cart_totals_shipping_method_label( $method ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_cart_totals_shipping_method_label' );
@@ -328,6 +354,7 @@ function woocommerce_cart_totals_shipping_method_label( $method ) {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_get_template_part( $slug, $name = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_template_part' );
@@ -336,6 +363,7 @@ function woocommerce_get_template_part( $slug, $name = '' ) {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_get_template( $template_name, $args = array(), $template_path = '', $default_path = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_template' );
@@ -344,6 +372,7 @@ function woocommerce_get_template( $template_name, $args = array(), $template_pa
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_locate_template( $template_name, $template_path = '', $default_path = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_locate_template' );
@@ -352,6 +381,7 @@ function woocommerce_locate_template( $template_name, $template_path = '', $defa
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_mail( $to, $subject, $message, $headers = "Content-Type: text/html\r\n", $attachments = "" ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_mail' );
@@ -360,6 +390,7 @@ function woocommerce_mail( $to, $subject, $message, $headers = "Content-Type: te
/**
* @deprecated 3.0
+ * @return bool
*/
function woocommerce_disable_admin_bar( $show_admin_bar ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_disable_admin_bar' );
@@ -368,6 +399,7 @@ function woocommerce_disable_admin_bar( $show_admin_bar ) {
/**
* @deprecated 3.0
+ * @return int|WP_Error
*/
function woocommerce_create_new_customer( $email, $username = '', $password = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_create_new_customer' );
@@ -376,6 +408,7 @@ function woocommerce_create_new_customer( $email, $username = '', $password = ''
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_set_customer_auth_cookie( $customer_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_set_customer_auth_cookie' );
@@ -384,6 +417,7 @@ function woocommerce_set_customer_auth_cookie( $customer_id ) {
/**
* @deprecated 3.0
+ * @return int
*/
function woocommerce_update_new_customer_past_orders( $customer_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_update_new_customer_past_orders' );
@@ -392,6 +426,7 @@ function woocommerce_update_new_customer_past_orders( $customer_id ) {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_paying_customer( $order_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_paying_customer' );
@@ -400,6 +435,7 @@ function woocommerce_paying_customer( $order_id ) {
/**
* @deprecated 3.0
+ * @return bool
*/
function woocommerce_customer_bought_product( $customer_email, $user_id, $product_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_customer_bought_product' );
@@ -408,6 +444,7 @@ function woocommerce_customer_bought_product( $customer_email, $user_id, $produc
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_customer_has_capability( $allcaps, $caps, $args ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_customer_has_capability' );
@@ -416,6 +453,7 @@ function woocommerce_customer_has_capability( $allcaps, $caps, $args ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_sanitize_taxonomy_name( $taxonomy ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_sanitize_taxonomy_name' );
@@ -424,6 +462,7 @@ function woocommerce_sanitize_taxonomy_name( $taxonomy ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_get_filename_from_url( $file_url ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_filename_from_url' );
@@ -432,6 +471,7 @@ function woocommerce_get_filename_from_url( $file_url ) {
/**
* @deprecated 3.0
+ * @return float
*/
function woocommerce_get_dimension( $dim, $to_unit ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_dimension' );
@@ -440,6 +480,7 @@ function woocommerce_get_dimension( $dim, $to_unit ) {
/**
* @deprecated 3.0
+ * @return float
*/
function woocommerce_get_weight( $weight, $to_unit ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_weight' );
@@ -448,6 +489,7 @@ function woocommerce_get_weight( $weight, $to_unit ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_trim_zeros( $price ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_trim_zeros' );
@@ -456,6 +498,7 @@ function woocommerce_trim_zeros( $price ) {
/**
* @deprecated 3.0
+ * @return float
*/
function woocommerce_round_tax_total( $tax ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_round_tax_total' );
@@ -464,6 +507,7 @@ function woocommerce_round_tax_total( $tax ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_format_decimal( $number, $dp = false, $trim_zeros = false ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_format_decimal' );
@@ -472,6 +516,7 @@ function woocommerce_format_decimal( $number, $dp = false, $trim_zeros = false )
/**
* @deprecated 3.0
+ * @return string|array
*/
function woocommerce_clean( $var ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_clean' );
@@ -480,6 +525,7 @@ function woocommerce_clean( $var ) {
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_array_overlay( $a1, $a2 ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_array_overlay' );
@@ -488,6 +534,7 @@ function woocommerce_array_overlay( $a1, $a2 ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_price( $price, $args = array() ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_price' );
@@ -496,6 +543,7 @@ function woocommerce_price( $price, $args = array() ) {
/**
* @deprecated 3.0
+ * @return int
*/
function woocommerce_let_to_num( $size ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_let_to_num' );
@@ -504,6 +552,7 @@ function woocommerce_let_to_num( $size ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_date_format() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_date_format' );
@@ -512,6 +561,7 @@ function woocommerce_date_format() {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_time_format() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_time_format' );
@@ -520,6 +570,7 @@ function woocommerce_time_format() {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_timezone_string() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_timezone_string' );
@@ -529,6 +580,7 @@ function woocommerce_timezone_string() {
if ( ! function_exists( 'woocommerce_rgb_from_hex' ) ) {
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_rgb_from_hex( $color ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_rgb_from_hex' );
@@ -539,6 +591,7 @@ if ( ! function_exists( 'woocommerce_rgb_from_hex' ) ) {
if ( ! function_exists( 'woocommerce_hex_darker' ) ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_hex_darker( $color, $factor = 30 ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_hex_darker' );
@@ -549,6 +602,7 @@ if ( ! function_exists( 'woocommerce_hex_darker' ) ) {
if ( ! function_exists( 'woocommerce_hex_lighter' ) ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_hex_lighter( $color, $factor = 30 ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_hex_lighter' );
@@ -559,6 +613,7 @@ if ( ! function_exists( 'woocommerce_hex_lighter' ) ) {
if ( ! function_exists( 'woocommerce_light_or_dark' ) ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_light_or_dark( $color, $dark = '#000000', $light = '#FFFFFF' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_light_or_dark' );
@@ -569,6 +624,7 @@ if ( ! function_exists( 'woocommerce_light_or_dark' ) ) {
if ( ! function_exists( 'woocommerce_format_hex' ) ) {
/**
* @deprecated 3.0
+ * @return string|null
*/
function woocommerce_format_hex( $hex ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_format_hex' );
@@ -578,6 +634,7 @@ if ( ! function_exists( 'woocommerce_format_hex' ) ) {
/**
* @deprecated 3.0
+ * @return int
*/
function woocommerce_get_order_id_by_order_key( $order_key ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_order_id_by_order_key' );
@@ -586,6 +643,7 @@ function woocommerce_get_order_id_by_order_key( $order_key ) {
/**
* @deprecated 3.0
+ * @return int|bool
*/
function woocommerce_downloadable_file_permission( $download_id, $product_id, $order ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_downloadable_file_permission' );
@@ -594,6 +652,7 @@ function woocommerce_downloadable_file_permission( $download_id, $product_id, $o
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_downloadable_product_permissions( $order_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_downloadable_product_permissions' );
@@ -602,6 +661,7 @@ function woocommerce_downloadable_product_permissions( $order_id ) {
/**
* @deprecated 3.0
+ * @return int|bool
*/
function woocommerce_add_order_item( $order_id, $item ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_add_order_item' );
@@ -610,6 +670,7 @@ function woocommerce_add_order_item( $order_id, $item ) {
/**
* @deprecated 3.0
+ * @return bool
*/
function woocommerce_delete_order_item( $item_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_delete_order_item' );
@@ -618,6 +679,7 @@ function woocommerce_delete_order_item( $item_id ) {
/**
* @deprecated 3.0
+ * @return bool
*/
function woocommerce_update_order_item_meta( $item_id, $meta_key, $meta_value, $prev_value = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_update_order_item_meta' );
@@ -626,6 +688,7 @@ function woocommerce_update_order_item_meta( $item_id, $meta_key, $meta_value, $
/**
* @deprecated 3.0
+ * @return int
*/
function woocommerce_add_order_item_meta( $item_id, $meta_key, $meta_value, $unique = false ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_add_order_item_meta' );
@@ -634,6 +697,7 @@ function woocommerce_add_order_item_meta( $item_id, $meta_key, $meta_value, $uni
/**
* @deprecated 3.0
+ * @return bool
*/
function woocommerce_delete_order_item_meta( $item_id, $meta_key, $meta_value = '', $delete_all = false ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_delete_order_item_meta' );
@@ -642,6 +706,7 @@ function woocommerce_delete_order_item_meta( $item_id, $meta_key, $meta_value =
/**
* @deprecated 3.0
+ * @return mixed
*/
function woocommerce_get_order_item_meta( $item_id, $key, $single = true ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_order_item_meta' );
@@ -650,6 +715,7 @@ function woocommerce_get_order_item_meta( $item_id, $key, $single = true ) {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_cancel_unpaid_orders() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_cancel_unpaid_orders' );
@@ -658,6 +724,7 @@ function woocommerce_cancel_unpaid_orders() {
/**
* @deprecated 3.0
+ * @return int
*/
function woocommerce_processing_order_count() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_processing_order_count' );
@@ -666,6 +733,7 @@ function woocommerce_processing_order_count() {
/**
* @deprecated 3.0
+ * @return int
*/
function woocommerce_get_page_id( $page ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_page_id' );
@@ -674,6 +742,7 @@ function woocommerce_get_page_id( $page ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_get_endpoint_url( $endpoint, $value = '', $permalink = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_endpoint_url' );
@@ -682,6 +751,7 @@ function woocommerce_get_endpoint_url( $endpoint, $value = '', $permalink = '' )
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_lostpassword_url( $url ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_lostpassword_url' );
@@ -690,6 +760,7 @@ function woocommerce_lostpassword_url( $url ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_customer_edit_account_url() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_customer_edit_account_url' );
@@ -698,6 +769,7 @@ function woocommerce_customer_edit_account_url() {
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_nav_menu_items( $items, $args ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_nav_menu_items' );
@@ -706,6 +778,7 @@ function woocommerce_nav_menu_items( $items, $args ) {
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_nav_menu_item_classes( $menu_items, $args ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_nav_menu_item_classes' );
@@ -714,6 +787,7 @@ function woocommerce_nav_menu_item_classes( $menu_items, $args ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_list_pages( $pages ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_list_pages' );
@@ -722,6 +796,7 @@ function woocommerce_list_pages( $pages ) {
/**
* @deprecated 3.0
+ * @return int
*/
function woocommerce_product_dropdown_categories( $args = array(), $deprecated_hierarchical = 1, $deprecated_show_uncategorized = 1, $deprecated_orderby = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_product_dropdown_categories' );
@@ -730,6 +805,7 @@ function woocommerce_product_dropdown_categories( $args = array(), $deprecated_h
/**
* @deprecated 3.0
+ * @return mixed
*/
function woocommerce_walk_category_dropdown_tree( $a1 = '', $a2 = '', $a3 = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_walk_category_dropdown_tree' );
@@ -738,6 +814,7 @@ function woocommerce_walk_category_dropdown_tree( $a1 = '', $a2 = '', $a3 = '' )
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_taxonomy_metadata_wpdbfix() {
wc_deprecated_function( __FUNCTION__, '3.0' );
@@ -745,6 +822,7 @@ function woocommerce_taxonomy_metadata_wpdbfix() {
/**
* @deprecated 3.0
+ * @return void
*/
function wc_taxonomy_metadata_wpdbfix() {
wc_deprecated_function( __FUNCTION__, '3.0' );
@@ -752,6 +830,7 @@ function wc_taxonomy_metadata_wpdbfix() {
/**
* @deprecated 3.0
+ * @return int
*/
function woocommerce_order_terms( $the_term, $next_id, $taxonomy, $index = 0, $terms = null ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_reorder_terms' );
@@ -760,6 +839,7 @@ function woocommerce_order_terms( $the_term, $next_id, $taxonomy, $index = 0, $t
/**
* @deprecated 3.0
+ * @return int
*/
function woocommerce_set_term_order( $term_id, $index, $taxonomy, $recursive = false ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_set_term_order' );
@@ -768,6 +848,7 @@ function woocommerce_set_term_order( $term_id, $index, $taxonomy, $recursive = f
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_terms_clauses( $clauses, $taxonomies, $args ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_terms_clauses' );
@@ -776,22 +857,25 @@ function woocommerce_terms_clauses( $clauses, $taxonomies, $args ) {
/**
* @deprecated 3.0
+ * @return void
*/
function _woocommerce_term_recount( $terms, $taxonomy, $callback, $terms_are_term_taxonomy_ids ) {
wc_deprecated_function( __FUNCTION__, '3.0', '_wc_term_recount' );
- return _wc_term_recount( $terms, $taxonomy, $callback, $terms_are_term_taxonomy_ids );
+ _wc_term_recount( $terms, $taxonomy, $callback, $terms_are_term_taxonomy_ids );
}
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_recount_after_stock_change( $product_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_recount_after_stock_change' );
- return wc_recount_after_stock_change( $product_id );
+ wc_recount_after_stock_change( $product_id );
}
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_change_term_counts( $terms, $taxonomies, $args ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_change_term_counts' );
@@ -800,6 +884,7 @@ function woocommerce_change_term_counts( $terms, $taxonomies, $args ) {
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_get_product_ids_on_sale() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_product_ids_on_sale' );
@@ -808,6 +893,7 @@ function woocommerce_get_product_ids_on_sale() {
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_get_featured_product_ids() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_featured_product_ids' );
@@ -816,6 +902,7 @@ function woocommerce_get_featured_product_ids() {
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_get_product_terms( $object_id, $taxonomy, $fields = 'all' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_product_terms' );
@@ -824,6 +911,7 @@ function woocommerce_get_product_terms( $object_id, $taxonomy, $fields = 'all' )
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_product_post_type_link( $permalink, $post ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_product_post_type_link' );
@@ -832,6 +920,7 @@ function woocommerce_product_post_type_link( $permalink, $post ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_placeholder_img_src() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_placeholder_img_src' );
@@ -840,6 +929,7 @@ function woocommerce_placeholder_img_src() {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_placeholder_img( $size = 'woocommerce_thumbnail' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_placeholder_img' );
@@ -848,6 +938,7 @@ function woocommerce_placeholder_img( $size = 'woocommerce_thumbnail' ) {
/**
* @deprecated 3.0
+ * @return string
*/
function woocommerce_get_formatted_variation( $variation = '', $flat = false ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_formatted_variation' );
@@ -856,14 +947,16 @@ function woocommerce_get_formatted_variation( $variation = '', $flat = false ) {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_scheduled_sales() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_scheduled_sales' );
- return wc_scheduled_sales();
+ wc_scheduled_sales();
}
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_get_attachment_image_attributes( $attr ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_attachment_image_attributes' );
@@ -872,6 +965,7 @@ function woocommerce_get_attachment_image_attributes( $attr ) {
/**
* @deprecated 3.0
+ * @return array
*/
function woocommerce_prepare_attachment_for_js( $response ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_prepare_attachment_for_js' );
@@ -880,14 +974,16 @@ function woocommerce_prepare_attachment_for_js( $response ) {
/**
* @deprecated 3.0
+ * @return void
*/
function woocommerce_track_product_view() {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_track_product_view' );
- return wc_track_product_view();
+ wc_track_product_view();
}
/**
* @deprecated 2.3 has no replacement
+ * @return void
*/
function woocommerce_compile_less_styles() {
wc_deprecated_function( 'woocommerce_compile_less_styles', '2.3' );
@@ -949,6 +1045,7 @@ function woocommerce_get_product_schema() {
* @param float $sale_price
* @param string $date_from
* @param string $date_to
+ * @return void
*/
function _wc_save_product_price( $product_id, $regular_price, $sale_price = '', $date_from = '', $date_to = '' ) {
wc_doing_it_wrong( '_wc_save_product_price()', 'This function is not for developer use and is deprecated.', '3.0' );
@@ -1050,6 +1147,7 @@ function wc_get_min_max_price_meta_query( $args ) {
* @param int $new_term_id New term ID.
* @param string $term_taxonomy_id Term taxonomy ID.
* @param string $taxonomy Taxonomy.
+ * @return void
*/
function wc_taxonomy_metadata_update_content_for_split_terms( $old_term_id, $new_term_id, $term_taxonomy_id, $taxonomy ) {
wc_deprecated_function( 'wc_taxonomy_metadata_update_content_for_split_terms', '3.6' );
@@ -1186,6 +1284,7 @@ function wc_get_log_file_name( $handle ) {
* @param string $user_login User login.
* @param WP_User $user User data.
* @deprecated 2.3
+ * @return void
*/
function wc_load_persistent_cart( $user_login, $user ) {
if ( ! $user || ! apply_filters( 'woocommerce_persistent_cart_enabled', true ) ) {
@@ -1263,6 +1362,7 @@ if ( ! function_exists( 'woocommerce_product_subcategories' ) ) {
* Products RSS Feed.
*
* @deprecated 2.6
+ * @return void
*/
function wc_products_rss_feed() {
wc_deprecated_function( 'wc_products_rss_feed', '2.6' );
@@ -1274,6 +1374,7 @@ if ( ! function_exists( 'woocommerce_reset_loop' ) ) {
* Reset the loop's index and columns when we're done outputting a product loop.
*
* @deprecated 3.3
+ * @return void
*/
function woocommerce_reset_loop() {
wc_reset_loop();
@@ -1285,6 +1386,7 @@ if ( ! function_exists( 'woocommerce_product_reviews_tab' ) ) {
* Output the reviews tab content.
*
* @deprecated 2.4.0 Unused.
+ * @return void
*/
function woocommerce_product_reviews_tab() {
wc_deprecated_function( 'woocommerce_product_reviews_tab', '2.4' );
diff --git a/plugins/woocommerce/includes/wc-template-functions.php b/plugins/woocommerce/includes/wc-template-functions.php
index 4b296c3ec8..9ceabbd184 100644
--- a/plugins/woocommerce/includes/wc-template-functions.php
+++ b/plugins/woocommerce/includes/wc-template-functions.php
@@ -22,6 +22,8 @@ defined( 'ABSPATH' ) || exit;
/**
* Handle redirects before content is output - hooked into template_redirect so is_page works.
+ *
+ * @return void
*/
function wc_template_redirect() {
global $wp_query, $wp;
@@ -98,6 +100,7 @@ add_action( 'template_redirect', 'wc_template_redirect' );
* Can be disabled with: remove_action( 'template_redirect', 'wc_send_frame_options_header' );
*
* @since 2.3.10
+ * @return void
*/
function wc_send_frame_options_header() {
@@ -112,6 +115,7 @@ add_action( 'template_redirect', 'wc_send_frame_options_header' );
* Prevent indexing pages like order-received.
*
* @since 2.5.3
+ * @return void
*/
function wc_prevent_endpoint_indexing() {
// phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.PHP.NoSilencedErrors.Discouraged
@@ -126,6 +130,7 @@ add_action( 'template_redirect', 'wc_prevent_endpoint_indexing' );
* Remove adjacent_posts_rel_link_wp_head - pointless for products.
*
* @since 3.0.0
+ * @return void
*/
function wc_prevent_adjacent_posts_rel_link_wp_head() {
if ( is_singular( 'product' ) ) {
@@ -138,6 +143,7 @@ add_action( 'template_redirect', 'wc_prevent_adjacent_posts_rel_link_wp_head' );
* Show the gallery if JS is disabled.
*
* @since 3.0.6
+ * @return void
*/
function wc_gallery_noscript() {
?>
@@ -174,6 +180,7 @@ add_action( 'the_post', 'wc_setup_product_data' );
*
* @since 3.3.0
* @param array $args Args to pass into the global.
+ * @return void
*/
function wc_setup_loop( $args = array() ) {
$default_args = array(
@@ -218,6 +225,7 @@ add_action( 'woocommerce_before_shop_loop', 'wc_setup_loop' );
* Resets the woocommerce_loop global.
*
* @since 3.3.0
+ * @return void
*/
function wc_reset_loop() {
unset( $GLOBALS['woocommerce_loop'] );
@@ -244,6 +252,7 @@ function wc_get_loop_prop( $prop, $default = '' ) {
* @since 3.3.0
* @param string $prop Prop to set.
* @param string $value Value to set.
+ * @return void
*/
function wc_set_loop_prop( $prop, $value = '' ) {
if ( ! isset( $GLOBALS['woocommerce_loop'] ) ) {
@@ -258,6 +267,7 @@ function wc_set_loop_prop( $prop, $value = '' ) {
* @since 4.4.0
* @param int $product_id Product it to cache visibility for.
* @param bool $value The product visibility value to cache.
+ * @return void
*/
function wc_set_loop_product_visibility( $product_id, $value ) {
wc_set_loop_prop( "product_visibility_$product_id", $value );
@@ -386,6 +396,7 @@ function wc_body_class( $classes ) {
* NO JS handling.
*
* @since 3.4.0
+ * @return void
*/
function wc_no_js() {
$type_attr = current_theme_supports( 'html5', 'script' ) ? '' : " type='text/javascript'";
@@ -406,6 +417,7 @@ function wc_no_js() {
* @since 2.4.0
* @param string|array $class One or more classes to add to the class list.
* @param object $category object Optional.
+ * @return void
*/
function wc_product_cat_class( $class = '', $category = null ) {
// Separates classes with a single space, collates classes for post DIV.
@@ -468,6 +480,7 @@ function wc_get_default_product_rows_per_page() {
* Reset the product grid settings when a new theme is activated.
*
* @since 3.3.0
+ * @return void
*/
function wc_reset_product_grid_settings() {
$product_grid = wc_get_theme_support( 'product_grid' );
@@ -759,6 +772,7 @@ function wc_get_product_class( $class = '', $product = null ) {
* @since 3.4.0
* @param string|array $class One or more classes to add to the class list.
* @param int|WP_Post|WC_Product $product_id Product ID or product object.
+ * @return void
*/
function wc_product_class( $class = '', $product_id = null ) {
echo 'class="' . esc_attr( implode( ' ', wc_get_product_class( $class, $product_id ) ) ) . '"';
@@ -898,6 +912,7 @@ function wc_get_privacy_policy_text( $type = '' ) {
* Output t&c checkbox text.
*
* @since 3.4.0
+ * @return void
*/
function wc_terms_and_conditions_checkbox_text() {
$text = wc_get_terms_and_conditions_checkbox_text();
@@ -913,6 +928,7 @@ function wc_terms_and_conditions_checkbox_text() {
* Output t&c page's content (if set). The page can be set from checkout settings.
*
* @since 3.4.0
+ * @return void
*/
function wc_terms_and_conditions_page_content() {
$terms_page_id = wc_terms_and_conditions_page_id();
@@ -933,6 +949,7 @@ function wc_terms_and_conditions_page_content() {
* Render privacy policy text on the checkout.
*
* @since 3.4.0
+ * @return void
*/
function wc_checkout_privacy_policy_text() {
echo '<div class="woocommerce-privacy-policy-text">';
@@ -944,6 +961,7 @@ function wc_checkout_privacy_policy_text() {
* Render privacy policy text on the register forms.
*
* @since 3.4.0
+ * @return void
*/
function wc_registration_privacy_policy_text() {
echo '<div class="woocommerce-privacy-policy-text">';
@@ -958,6 +976,7 @@ function wc_registration_privacy_policy_text() {
*
* @since 3.4.0
* @param string $type Type of policy to load. Valid values include registration and checkout.
+ * @return void
*/
function wc_privacy_policy_text( $type = 'checkout' ) {
if ( ! wc_privacy_policy_page_id() ) {
@@ -999,6 +1018,8 @@ if ( ! function_exists( 'woocommerce_content' ) ) {
* This function is only used in the optional 'woocommerce.php' template.
* which people can add to their themes to add basic woocommerce support.
* without hooks or modifying core templates.
+ *
+ * @return void
*/
function woocommerce_content() {
@@ -1053,6 +1074,8 @@ if ( ! function_exists( 'woocommerce_output_content_wrapper' ) ) {
/**
* Output the start of the page wrapper.
+ *
+ * @return void
*/
function woocommerce_output_content_wrapper() {
wc_get_template( 'global/wrapper-start.php' );
@@ -1062,6 +1085,8 @@ if ( ! function_exists( 'woocommerce_output_content_wrapper_end' ) ) {
/**
* Output the end of the page wrapper.
+ *
+ * @return void
*/
function woocommerce_output_content_wrapper_end() {
wc_get_template( 'global/wrapper-end.php' );
@@ -1072,6 +1097,8 @@ if ( ! function_exists( 'woocommerce_get_sidebar' ) ) {
/**
* Get the shop sidebar template.
+ *
+ * @return void
*/
function woocommerce_get_sidebar() {
wc_get_template( 'global/sidebar.php' );
@@ -1082,6 +1109,8 @@ if ( ! function_exists( 'woocommerce_demo_store' ) ) {
/**
* Adds a demo store banner to the site if enabled.
+ *
+ * @return void
*/
function woocommerce_demo_store() {
if ( ! is_store_notice_showing() ) {
@@ -1203,6 +1232,8 @@ if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
/**
* Show the product title in the product loop. By default this is an H2.
+ *
+ * @return void
*/
function woocommerce_template_loop_product_title() {
echo '<h2 class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . get_the_title() . '</h2>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
@@ -1214,6 +1245,7 @@ if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
* Show the subcategory title in the product loop.
*
* @param object $category Category object.
+ * @return void
*/
function woocommerce_template_loop_category_title( $category ) {
?>
@@ -1234,6 +1266,8 @@ if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
if ( ! function_exists( 'woocommerce_template_loop_product_link_open' ) ) {
/**
* Insert the opening anchor tag for products in the loop.
+ *
+ * @return void
*/
function woocommerce_template_loop_product_link_open() {
global $product;
@@ -1251,6 +1285,8 @@ if ( ! function_exists( 'woocommerce_template_loop_product_link_open' ) ) {
if ( ! function_exists( 'woocommerce_template_loop_product_link_close' ) ) {
/**
* Insert the closing anchor tag for products in the loop.
+ *
+ * @return void
*/
function woocommerce_template_loop_product_link_close() {
echo '</a>';
@@ -1262,6 +1298,7 @@ if ( ! function_exists( 'woocommerce_template_loop_category_link_open' ) ) {
* Insert the opening anchor tag for categories in the loop.
*
* @param int|object|string $category Category ID, Object or String.
+ * @return void
*/
function woocommerce_template_loop_category_link_open( $category ) {
$category_term = get_term( $category, 'product_cat' );
@@ -1274,6 +1311,8 @@ if ( ! function_exists( 'woocommerce_template_loop_category_link_open' ) ) {
if ( ! function_exists( 'woocommerce_template_loop_category_link_close' ) ) {
/**
* Insert the closing anchor tag for categories in the loop.
+ *
+ * @return void
*/
function woocommerce_template_loop_category_link_close() {
echo '</a>';
@@ -1283,6 +1322,8 @@ if ( ! function_exists( 'woocommerce_template_loop_category_link_close' ) ) {
if ( ! function_exists( 'woocommerce_product_taxonomy_archive_header' ) ) {
/**
* Output the products header on taxonomy archives.
+ *
+ * @return void
*/
function woocommerce_product_taxonomy_archive_header() {
wc_get_template( 'loop/header.php' );
@@ -1292,6 +1333,8 @@ if ( ! function_exists( 'woocommerce_product_taxonomy_archive_header' ) ) {
if ( ! function_exists( 'woocommerce_taxonomy_archive_description' ) ) {
/**
* Show an archive description on taxonomy archives.
+ *
+ * @return void
*/
function woocommerce_taxonomy_archive_description() {
if ( is_product_taxonomy() && 0 === absint( get_query_var( 'paged' ) ) ) {
@@ -1320,6 +1363,8 @@ if ( ! function_exists( 'woocommerce_product_archive_description' ) ) {
/**
* Show a shop page description on product archives.
+ *
+ * @return void
*/
function woocommerce_product_archive_description() {
// Don't display the description on search results page.
@@ -1392,6 +1437,7 @@ if ( ! function_exists( 'woocommerce_template_loop_add_to_cart' ) ) {
* Get the add to cart template for the loop.
*
* @param array $args Arguments.
+ * @return void
*/
function woocommerce_template_loop_add_to_cart( $args = array() ) {
global $product;
@@ -1468,6 +1514,8 @@ if ( ! function_exists( 'woocommerce_template_loop_product_thumbnail' ) ) {
/**
* Get the product thumbnail for the loop.
+ *
+ * @return void
*/
function woocommerce_template_loop_product_thumbnail() {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
@@ -1478,6 +1526,8 @@ if ( ! function_exists( 'woocommerce_template_loop_price' ) ) {
/**
* Get the product price for the loop.
+ *
+ * @return void
*/
function woocommerce_template_loop_price() {
wc_get_template( 'loop/price.php' );
@@ -1487,6 +1537,8 @@ if ( ! function_exists( 'woocommerce_template_loop_rating' ) ) {
/**
* Display the average rating in the loop.
+ *
+ * @return void
*/
function woocommerce_template_loop_rating() {
wc_get_template( 'loop/rating.php' );
@@ -1496,6 +1548,8 @@ if ( ! function_exists( 'woocommerce_show_product_loop_sale_flash' ) ) {
/**
* Get the sale flash for the loop.
+ *
+ * @return void
*/
function woocommerce_show_product_loop_sale_flash() {
wc_get_template( 'loop/sale-flash.php' );
@@ -1537,6 +1591,8 @@ if ( ! function_exists( 'woocommerce_result_count' ) ) {
/**
* Output the result count text (Showing x - x of x results).
+ *
+ * @return void
*/
function woocommerce_result_count() {
if ( ! wc_get_loop_prop( 'is_paginated' ) || ! woocommerce_products_will_display() ) {
@@ -1596,6 +1652,7 @@ if ( ! function_exists( 'woocommerce_catalog_ordering' ) ) {
* Output the product sorting options.
*
* @param array|null $attributes Block attributes.
+ * @return void
*/
function woocommerce_catalog_ordering( $attributes = null ) {
if ( ! wc_get_loop_prop( 'is_paginated' ) || ! woocommerce_products_will_display() ) {
@@ -1687,6 +1744,8 @@ if ( ! function_exists( 'woocommerce_pagination' ) ) {
/**
* Output the pagination.
+ *
+ * @return void
*/
function woocommerce_pagination() {
if ( ! wc_get_loop_prop( 'is_paginated' ) || ! woocommerce_products_will_display() ) {
@@ -1717,6 +1776,8 @@ if ( ! function_exists( 'woocommerce_show_product_images' ) ) {
/**
* Output the product image before the single product summary.
+ *
+ * @return void
*/
function woocommerce_show_product_images() {
wc_get_template( 'single-product/product-image.php' );
@@ -1726,6 +1787,8 @@ if ( ! function_exists( 'woocommerce_show_product_thumbnails' ) ) {
/**
* Output the product thumbnails.
+ *
+ * @return void
*/
function woocommerce_show_product_thumbnails() {
wc_get_template( 'single-product/product-thumbnails.php' );
@@ -1821,6 +1884,8 @@ if ( ! function_exists( 'woocommerce_output_product_data_tabs' ) ) {
/**
* Output the product tabs.
+ *
+ * @return void
*/
function woocommerce_output_product_data_tabs() {
wc_get_template( 'single-product/tabs/tabs.php' );
@@ -1830,6 +1895,8 @@ if ( ! function_exists( 'woocommerce_template_single_title' ) ) {
/**
* Output the product title.
+ *
+ * @return void
*/
function woocommerce_template_single_title() {
wc_get_template( 'single-product/title.php' );
@@ -1839,6 +1906,8 @@ if ( ! function_exists( 'woocommerce_template_single_rating' ) ) {
/**
* Output the product rating.
+ *
+ * @return void
*/
function woocommerce_template_single_rating() {
if ( ! post_type_supports( 'product', 'comments' ) || ! is_a( $GLOBALS['product'] ?? null, \WC_Product::class ) ) {
@@ -1852,6 +1921,8 @@ if ( ! function_exists( 'woocommerce_template_single_price' ) ) {
/**
* Output the product price.
+ *
+ * @return void
*/
function woocommerce_template_single_price() {
if ( ! is_a( $GLOBALS['product'] ?? null, \WC_Product::class ) ) {
@@ -1865,6 +1936,8 @@ if ( ! function_exists( 'woocommerce_template_single_excerpt' ) ) {
/**
* Output the product short description (excerpt).
+ *
+ * @return void
*/
function woocommerce_template_single_excerpt() {
if ( ! isset( $GLOBALS['post']->post_excerpt ) ) {
@@ -1878,6 +1951,8 @@ if ( ! function_exists( 'woocommerce_template_single_meta' ) ) {
/**
* Output the product meta.
+ *
+ * @return void
*/
function woocommerce_template_single_meta() {
if ( ! is_a( $GLOBALS['product'] ?? null, \WC_Product::class ) ) {
@@ -1891,6 +1966,8 @@ if ( ! function_exists( 'woocommerce_template_single_sharing' ) ) {
/**
* Output the product sharing.
+ *
+ * @return void
*/
function woocommerce_template_single_sharing() {
wc_get_template( 'single-product/share.php' );
@@ -1900,6 +1977,8 @@ if ( ! function_exists( 'woocommerce_show_product_sale_flash' ) ) {
/**
* Output the product sale flash.
+ *
+ * @return void
*/
function woocommerce_show_product_sale_flash() {
wc_get_template( 'single-product/sale-flash.php' );
@@ -1910,6 +1989,8 @@ if ( ! function_exists( 'woocommerce_template_single_add_to_cart' ) ) {
/**
* Trigger the single product add to cart action.
+ *
+ * @return void
*/
function woocommerce_template_single_add_to_cart() {
global $product;
@@ -1928,6 +2009,8 @@ if ( ! function_exists( 'woocommerce_simple_add_to_cart' ) ) {
/**
* Output the simple product add to cart area.
+ *
+ * @return void
*/
function woocommerce_simple_add_to_cart() {
wc_get_template( 'single-product/add-to-cart/simple.php' );
@@ -1937,6 +2020,8 @@ if ( ! function_exists( 'woocommerce_grouped_add_to_cart' ) ) {
/**
* Output the grouped product add to cart area.
+ *
+ * @return void
*/
function woocommerce_grouped_add_to_cart() {
global $product;
@@ -1963,6 +2048,8 @@ if ( ! function_exists( 'woocommerce_variable_add_to_cart' ) ) {
/**
* Output the variable product add to cart area.
+ *
+ * @return void
*/
function woocommerce_variable_add_to_cart() {
global $product;
@@ -1992,6 +2079,8 @@ if ( ! function_exists( 'woocommerce_external_add_to_cart' ) ) {
/**
* Output the external product add to cart area.
+ *
+ * @return void
*/
function woocommerce_external_add_to_cart() {
global $product;
@@ -2045,6 +2134,8 @@ if ( ! function_exists( 'woocommerce_product_description_tab' ) ) {
/**
* Output the description tab content.
+ *
+ * @return void
*/
function woocommerce_product_description_tab() {
wc_get_template( 'single-product/tabs/description.php' );
@@ -2054,6 +2145,8 @@ if ( ! function_exists( 'woocommerce_product_additional_information_tab' ) ) {
/**
* Output the attributes tab content.
+ *
+ * @return void
*/
function woocommerce_product_additional_information_tab() {
wc_get_template( 'single-product/tabs/additional-information.php' );
@@ -2162,6 +2255,7 @@ if ( ! function_exists( 'woocommerce_comments' ) ) {
* @param WP_Comment $comment Comment object.
* @param array $args Arguments.
* @param int $depth Depth.
+ * @return void
*/
function woocommerce_comments( $comment, $args, $depth ) {
// phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
@@ -2217,6 +2311,8 @@ if ( ! function_exists( 'woocommerce_review_display_comment_text' ) ) {
/**
* Display the review content.
+ *
+ * @return void
*/
function woocommerce_review_display_comment_text() {
echo '<div class="description">';
@@ -2229,6 +2325,8 @@ if ( ! function_exists( 'woocommerce_output_related_products' ) ) {
/**
* Output the related products.
+ *
+ * @return void
*/
function woocommerce_output_related_products() {
@@ -2248,6 +2346,7 @@ if ( ! function_exists( 'woocommerce_related_products' ) ) {
* Output the related products.
*
* @param array $args Provided arguments.
+ * @return void
*/
function woocommerce_related_products( $args = array() ) {
global $product;
@@ -2298,6 +2397,7 @@ if ( ! function_exists( 'woocommerce_upsell_display' ) ) {
* @param int $columns (default: 4).
* @param string $orderby Supported values - rand, title, ID, date, modified, menu_order, price.
* @param string $order Sort direction.
+ * @return void
*/
function woocommerce_upsell_display( $limit = -1, $columns = 4, $orderby = 'rand', $order = 'desc' ) {
global $product;
@@ -2366,6 +2466,7 @@ if ( ! function_exists( 'woocommerce_shipping_calculator' ) ) {
* Output the cart shipping calculator.
*
* @param string $button_text Text for the shipping calculation toggle.
+ * @return void
*/
function woocommerce_shipping_calculator( $button_text = '' ) {
if ( 'no' === get_option( 'woocommerce_enable_shipping_calc' ) || ! WC()->cart->needs_shipping() ) {
@@ -2385,6 +2486,8 @@ if ( ! function_exists( 'woocommerce_cart_totals' ) ) {
/**
* Output the cart totals.
+ *
+ * @return void
*/
function woocommerce_cart_totals() {
if ( is_checkout() ) {
@@ -2403,6 +2506,7 @@ if ( ! function_exists( 'woocommerce_cross_sell_display' ) ) {
* @param int $columns (default: 2).
* @param string $orderby (default: 'rand').
* @param string $order (default: 'desc').
+ * @return void
*/
function woocommerce_cross_sell_display( $limit = 2, $columns = 2, $orderby = 'rand', $order = 'desc' ) {
if ( is_checkout() ) {
@@ -2448,6 +2552,8 @@ if ( ! function_exists( 'woocommerce_button_proceed_to_checkout' ) ) {
/**
* Output the proceed to checkout button.
+ *
+ * @return void
*/
function woocommerce_button_proceed_to_checkout() {
wc_get_template( 'cart/proceed-to-checkout-button.php' );
@@ -2458,6 +2564,8 @@ if ( ! function_exists( 'woocommerce_widget_shopping_cart_button_view_cart' ) )
/**
* Output the view cart button.
+ *
+ * @return void
*/
function woocommerce_widget_shopping_cart_button_view_cart() {
$wp_button_class = wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '';
@@ -2472,6 +2580,8 @@ if ( ! function_exists( 'woocommerce_widget_shopping_cart_proceed_to_checkout' )
/**
* Output the proceed to checkout button.
+ *
+ * @return void
*/
function woocommerce_widget_shopping_cart_proceed_to_checkout() {
$wp_button_class = wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '';
@@ -2484,6 +2594,7 @@ if ( ! function_exists( 'woocommerce_widget_shopping_cart_subtotal' ) ) {
* Output to view cart subtotal.
*
* @since 3.7.0
+ * @return void
*/
function woocommerce_widget_shopping_cart_subtotal() {
echo '<strong>' . esc_html__( 'Subtotal:', 'woocommerce' ) . '</strong> ' . WC()->cart->get_cart_subtotal(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
@@ -2498,6 +2609,7 @@ if ( ! function_exists( 'woocommerce_mini_cart' ) ) {
* Output the Mini-cart - used by cart widget.
*
* @param array $args Arguments.
+ * @return void
*/
function woocommerce_mini_cart( $args = array() ) {
@@ -2519,6 +2631,7 @@ if ( ! function_exists( 'woocommerce_login_form' ) ) {
* Output the WooCommerce Login Form.
*
* @param array $args Arguments.
+ * @return void
*/
function woocommerce_login_form( $args = array() ) {
@@ -2538,6 +2651,8 @@ if ( ! function_exists( 'woocommerce_checkout_login_form' ) ) {
/**
* Output the WooCommerce Checkout Login Form.
+ *
+ * @return void
*/
function woocommerce_checkout_login_form() {
wc_get_template(
@@ -2555,6 +2670,7 @@ if ( ! function_exists( 'woocommerce_breadcrumb' ) ) {
* Output the WooCommerce Breadcrumb.
*
* @param array $args Arguments.
+ * @return void
*/
function woocommerce_breadcrumb( $args = array() ) {
$args = wp_parse_args(
@@ -2597,6 +2713,7 @@ if ( ! function_exists( 'woocommerce_order_review' ) ) {
* Output the Order review table for the checkout.
*
* @param bool $deprecated Deprecated param.
+ * @return void
*/
function woocommerce_order_review( $deprecated = false ) {
wc_get_template(
@@ -2612,6 +2729,8 @@ if ( ! function_exists( 'woocommerce_checkout_payment' ) ) {
/**
* Output the Payment Methods on the checkout.
+ *
+ * @return void
*/
function woocommerce_checkout_payment() {
if ( ! WC()->cart ) {
@@ -2645,6 +2764,8 @@ if ( ! function_exists( 'woocommerce_checkout_coupon_form' ) ) {
/**
* Output the Coupon form for the checkout.
+ *
+ * @return void
*/
function woocommerce_checkout_coupon_form() {
if ( is_user_logged_in() || WC()->checkout()->is_registration_enabled() || ! WC()->checkout()->is_registration_required() ) {
@@ -2854,6 +2975,7 @@ if ( ! function_exists( 'woocommerce_subcategory_thumbnail' ) ) {
* Show subcategory thumbnails.
*
* @param mixed $category Category.
+ * @return void
*/
function woocommerce_subcategory_thumbnail( $category ) {
$small_thumbnail_size = apply_filters( 'subcategory_archive_thumbnail_size', 'woocommerce_thumbnail' );
@@ -2900,6 +3022,7 @@ if ( ! function_exists( 'woocommerce_order_details_table' ) ) {
* Displays order details in a table.
*
* @param mixed $order_id Order ID.
+ * @return void
*/
function woocommerce_order_details_table( $order_id ) {
if ( ! $order_id ) {
@@ -2952,6 +3075,7 @@ if ( ! function_exists( 'woocommerce_order_downloads_table' ) ) {
*
* @since 3.2.0
* @param array $downloads Downloads.
+ * @return void
*/
function woocommerce_order_downloads_table( $downloads ) {
if ( ! $downloads ) {
@@ -2972,6 +3096,7 @@ if ( ! function_exists( 'woocommerce_order_again_button' ) ) {
* Display an 'order again' button on the view order page.
*
* @param object $order Order.
+ * @return void
*/
function woocommerce_order_again_button( $order ) {
/**
@@ -3332,6 +3457,8 @@ if ( ! function_exists( 'woocommerce_output_auth_header' ) ) {
/**
* Output the Auth header.
+ *
+ * @return void
*/
function woocommerce_output_auth_header() {
wc_get_template( 'auth/header.php' );
@@ -3342,6 +3469,8 @@ if ( ! function_exists( 'woocommerce_output_auth_footer' ) ) {
/**
* Output the Auth footer.
+ *
+ * @return void
*/
function woocommerce_output_auth_footer() {
wc_get_template( 'auth/footer.php' );
@@ -3352,6 +3481,8 @@ if ( ! function_exists( 'woocommerce_single_variation' ) ) {
/**
* Output placeholders for the single variation.
+ *
+ * @return void
*/
function woocommerce_single_variation() {
echo '<div class="woocommerce-variation single_variation" role="alert" aria-relevant="additions"></div>';
@@ -3362,6 +3493,8 @@ if ( ! function_exists( 'woocommerce_single_variation_add_to_cart_button' ) ) {
/**
* Output the add to cart button for variations.
+ *
+ * @return void
*/
function woocommerce_single_variation_add_to_cart_button() {
wc_get_template( 'single-product/add-to-cart/variation-add-to-cart-button.php' );
@@ -3375,6 +3508,7 @@ if ( ! function_exists( 'wc_dropdown_variation_attribute_options' ) ) {
*
* @param array $args Arguments.
* @since 2.4.0
+ * @return void
*/
function wc_dropdown_variation_attribute_options( $args = array() ) {
$args = wp_parse_args(
@@ -3455,6 +3589,8 @@ if ( ! function_exists( 'woocommerce_account_content' ) ) {
/**
* My Account content output.
+ *
+ * @return void
*/
function woocommerce_account_content() {
global $wp;
@@ -3487,6 +3623,8 @@ if ( ! function_exists( 'woocommerce_account_navigation' ) ) {
/**
* My Account navigation template.
+ *
+ * @return void
*/
function woocommerce_account_navigation() {
wc_get_template( 'myaccount/navigation.php' );
@@ -3499,6 +3637,7 @@ if ( ! function_exists( 'woocommerce_account_orders' ) ) {
* My Account > Orders template.
*
* @param int $current_page Current page number.
+ * @return void
*/
function woocommerce_account_orders( $current_page ) {
$current_page = empty( $current_page ) ? 1 : absint( $current_page );
@@ -3531,6 +3670,7 @@ if ( ! function_exists( 'woocommerce_account_view_order' ) ) {
* My Account > View order template.
*
* @param int $order_id Order ID.
+ * @return void
*/
function woocommerce_account_view_order( $order_id ) {
WC_Shortcode_My_Account::view_order( absint( $order_id ) );
@@ -3541,6 +3681,8 @@ if ( ! function_exists( 'woocommerce_account_downloads' ) ) {
/**
* My Account > Downloads template.
+ *
+ * @return void
*/
function woocommerce_account_downloads() {
wc_get_template( 'myaccount/downloads.php' );
@@ -3553,6 +3695,7 @@ if ( ! function_exists( 'woocommerce_account_edit_address' ) ) {
* My Account > Edit address template.
*
* @param string $type Type of address; 'billing' or 'shipping'.
+ * @return void
*/
function woocommerce_account_edit_address( $type ) {
$type = wc_edit_address_i18n( sanitize_title( $type ), true );
@@ -3565,6 +3708,8 @@ if ( ! function_exists( 'woocommerce_account_payment_methods' ) ) {
/**
* My Account > Downloads template.
+ *
+ * @return void
*/
function woocommerce_account_payment_methods() {
wc_get_template( 'myaccount/payment-methods.php' );
@@ -3575,6 +3720,8 @@ if ( ! function_exists( 'woocommerce_account_add_payment_method' ) ) {
/**
* My Account > Add payment method template.
+ *
+ * @return void
*/
function woocommerce_account_add_payment_method() {
WC_Shortcode_My_Account::add_payment_method();
@@ -3585,6 +3732,8 @@ if ( ! function_exists( 'woocommerce_account_edit_account' ) ) {
/**
* My Account > Edit account template.
+ *
+ * @return void
*/
function woocommerce_account_edit_account() {
WC_Shortcode_My_Account::edit_account();
@@ -3595,6 +3744,8 @@ if ( ! function_exists( 'wc_no_products_found' ) ) {
/**
* Handles the loop when no products were found/no product exist.
+ *
+ * @return void
*/
function wc_no_products_found() {
if ( ! function_exists( 'wc_print_notice' ) ) {
@@ -3867,6 +4018,8 @@ if ( ! function_exists( 'woocommerce_photoswipe' ) ) {
/**
* Get the shop sidebar template.
+ *
+ * @return void
*/
function woocommerce_photoswipe() {
if ( current_theme_supports( 'wc-product-gallery-lightbox' ) ) {
@@ -3880,6 +4033,7 @@ if ( ! function_exists( 'woocommerce_photoswipe' ) ) {
*
* @since 3.0.0
* @param WC_Product $product Product Object.
+ * @return void
*/
function wc_display_product_attributes( $product ) {
$product_attributes = array();
@@ -4075,6 +4229,7 @@ function wc_logout_url( $redirect = '' ) {
* Show notice if cart is empty.
*
* @since 3.1.0
+ * @return void
*/
function wc_empty_cart_message() {
$notice = wc_print_notice(
@@ -4106,6 +4261,7 @@ function wc_empty_cart_message() {
*
* @todo Deprecated this function after dropping support for WP 5.6.
* @since 3.2.0
+ * @return void
*/
function wc_page_noindex() {
// wp_no_robots is deprecated since WP 5.7.
@@ -4255,6 +4411,7 @@ function wc_get_cart_undo_url( $cart_item_key ) {
* Outputs all queued notices on WC pages.
*
* @since 3.5.0
+ * @return void
*/
function woocommerce_output_all_notices() {
if ( ! function_exists( 'wc_print_notices' ) ) {
@@ -4275,6 +4432,7 @@ function woocommerce_output_all_notices() {
* Display pay buttons HTML.
*
* @since 3.9.0
+ * @return void
*/
function wc_get_pay_buttons() {
$supported_gateways = array();
diff --git a/plugins/woocommerce/includes/wc-update-functions.php b/plugins/woocommerce/includes/wc-update-functions.php
index 29edcdf547..1fa76d377c 100644
--- a/plugins/woocommerce/includes/wc-update-functions.php
+++ b/plugins/woocommerce/includes/wc-update-functions.php
@@ -1252,6 +1252,8 @@ function wc_update_300_webhooks() {
/**
* Add an index to the field comment_type to improve the response time of the query
* used by WC_Comments::wp_count_comments() to get the number of comments by type.
+ *
+ * @return void
*/
function wc_update_300_comment_type_index() {
global $wpdb;
@@ -1316,6 +1318,8 @@ function wc_update_300_settings() {
/**
* Convert meta values into term for product visibility.
+ *
+ * @return void
*/
function wc_update_300_product_visibility() {
global $wpdb;
@@ -1379,6 +1383,8 @@ function wc_update_300_product_visibility() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_300_db_version() {
WC_Install::update_db_version( '3.0.0' );
@@ -1386,6 +1392,8 @@ function wc_update_300_db_version() {
/**
* Add an index to the downloadable product permissions table to improve performance of update_user_by_order_id.
+ *
+ * @return void
*/
function wc_update_310_downloadable_products() {
global $wpdb;
@@ -1399,6 +1407,8 @@ function wc_update_310_downloadable_products() {
/**
* Find old order notes and ensure they have the correct type for exclusion.
+ *
+ * @return void
*/
function wc_update_310_old_comments() {
global $wpdb;
@@ -1408,6 +1418,8 @@ function wc_update_310_old_comments() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_310_db_version() {
WC_Install::update_db_version( '3.1.0' );
@@ -1415,6 +1427,8 @@ function wc_update_310_db_version() {
/**
* Update shop_manager capabilities.
+ *
+ * @return void
*/
function wc_update_312_shop_manager_capabilities() {
$role = get_role( 'shop_manager' );
@@ -1423,6 +1437,8 @@ function wc_update_312_shop_manager_capabilities() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_312_db_version() {
WC_Install::update_db_version( '3.1.2' );
@@ -1430,6 +1446,8 @@ function wc_update_312_db_version() {
/**
* Update state codes for Mexico.
+ *
+ * @return void
*/
function wc_update_320_mexican_states() {
global $wpdb;
@@ -1503,6 +1521,8 @@ function wc_update_320_mexican_states() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_320_db_version() {
WC_Install::update_db_version( '3.2.0' );
@@ -1510,6 +1530,8 @@ function wc_update_320_db_version() {
/**
* Update image settings to use new aspect ratios and widths.
+ *
+ * @return void
*/
function wc_update_330_image_options() {
$old_thumbnail_size = get_option( 'shop_catalog_image_size', array() );
@@ -1555,6 +1577,8 @@ function wc_update_330_image_options() {
/**
* Migrate webhooks from post type to CRUD.
+ *
+ * @return void
*/
function wc_update_330_webhooks() {
register_post_type( 'shop_webhook' );
@@ -1594,6 +1618,8 @@ function wc_update_330_webhooks() {
/**
* Assign default cat to all products with no cats.
+ *
+ * @return void
*/
function wc_update_330_set_default_product_cat() {
/*
@@ -1606,6 +1632,8 @@ function wc_update_330_set_default_product_cat() {
/**
* Update product stock status to use the new onbackorder status.
+ *
+ * @return void
*/
function wc_update_330_product_stock_status() {
global $wpdb;
@@ -1649,6 +1677,8 @@ function wc_update_330_product_stock_status() {
/**
* Clear addons page transients
+ *
+ * @return void
*/
function wc_update_330_clear_transients() {
delete_transient( 'wc_addons_sections' );
@@ -1657,6 +1687,8 @@ function wc_update_330_clear_transients() {
/**
* Set PayPal's sandbox credentials.
+ *
+ * @return void
*/
function wc_update_330_set_paypal_sandbox_credentials() {
@@ -1675,6 +1707,8 @@ function wc_update_330_set_paypal_sandbox_credentials() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_330_db_version() {
WC_Install::update_db_version( '3.3.0' );
@@ -1682,6 +1716,8 @@ function wc_update_330_db_version() {
/**
* Update state codes for Ireland and BD.
+ *
+ * @return void
*/
function wc_update_340_states() {
$country_states = array(
@@ -1825,6 +1861,8 @@ function wc_update_340_state() {
/**
* Set last active prop for users.
+ *
+ * @return void
*/
function wc_update_340_last_active() {
global $wpdb;
@@ -1845,6 +1883,8 @@ function wc_update_340_last_active() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_340_db_version() {
WC_Install::update_db_version( '3.4.0' );
@@ -1900,6 +1940,8 @@ function wc_update_344_db_version() {
/**
* Set the comment type to 'review' for product reviews that don't have a comment type.
+ *
+ * @return void
*/
function wc_update_350_reviews_comment_type() {
global $wpdb;
@@ -1911,6 +1953,8 @@ function wc_update_350_reviews_comment_type() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_350_db_version() {
WC_Install::update_db_version( '3.5.0' );
@@ -1936,6 +1980,8 @@ function wc_update_352_drop_download_log_fk() {
/**
* Remove edit_user capabilities from shop managers and use "translated" capabilities instead.
* See wc_shop_manager_has_capability function.
+ *
+ * @return void
*/
function wc_update_354_modify_shop_manager_caps() {
global $wp_roles;
@@ -1953,6 +1999,8 @@ function wc_update_354_modify_shop_manager_caps() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_354_db_version() {
WC_Install::update_db_version( '3.5.4' );
@@ -1960,6 +2008,8 @@ function wc_update_354_db_version() {
/**
* Update product lookup tables in bulk.
+ *
+ * @return void
*/
function wc_update_360_product_lookup_tables() {
wc_update_product_lookup_tables();
@@ -1967,6 +2017,8 @@ function wc_update_360_product_lookup_tables() {
/**
* Renames ordering meta to be consistent across taxonomies.
+ *
+ * @return void
*/
function wc_update_360_term_meta() {
global $wpdb;
@@ -1991,6 +2043,8 @@ function wc_update_360_downloadable_product_permissions_index() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_360_db_version() {
WC_Install::update_db_version( '3.6.0' );
@@ -2063,6 +2117,8 @@ function wc_update_370_mro_std_currency() {
/**
* Update DB Version.
+ *
+ * @return void
*/
function wc_update_370_db_version() {
WC_Install::update_db_version( '3.7.0' );
@@ -2071,6 +2127,8 @@ function wc_update_370_db_version() {
/**
* We've moved the MaxMind database to a new location, as per the TOS' requirement that the database not
* be publicly accessible.
+ *
+ * @return void
*/
function wc_update_390_move_maxmind_database() {
// Make sure to use all of the correct filters to pull the local database path.
@@ -2092,6 +2150,8 @@ function wc_update_390_move_maxmind_database() {
/**
* So that we can best meet MaxMind's TOS, the geolocation database update cron should run once per 15 days.
+ *
+ * @return void
*/
function wc_update_390_change_geolocation_database_update_cron() {
wp_clear_scheduled_hook( 'woocommerce_geoip_updater' );
@@ -2100,6 +2160,8 @@ function wc_update_390_change_geolocation_database_update_cron() {
/**
* Update DB version.
+ *
+ * @return void
*/
function wc_update_390_db_version() {
WC_Install::update_db_version( '3.9.0' );
@@ -2107,6 +2169,8 @@ function wc_update_390_db_version() {
/**
* Increase column size
+ *
+ * @return void
*/
function wc_update_400_increase_size_of_column() {
global $wpdb;
@@ -2116,6 +2180,8 @@ function wc_update_400_increase_size_of_column() {
/**
* Reset ActionScheduler migration status. Needs AS >= 3.0 shipped with WC >= 4.0.
+ *
+ * @return void
*/
function wc_update_400_reset_action_scheduler_migration_status() {
if (
@@ -2128,6 +2194,8 @@ function wc_update_400_reset_action_scheduler_migration_status() {
/**
* Update DB version.
+ *
+ * @return void
*/
function wc_update_400_db_version() {
WC_Install::update_db_version( '4.0.0' );
@@ -2149,6 +2217,8 @@ function wc_update_440_insert_attribute_terms_for_variable_products() {
/**
* Update DB version.
+ *
+ * @return void
*/
function wc_update_440_db_version() {
WC_Install::update_db_version( '4.4.0' );
@@ -2156,6 +2226,8 @@ function wc_update_440_db_version() {
/**
* Update DB version to 4.5.0.
+ *
+ * @return void
*/
function wc_update_450_db_version() {
WC_Install::update_db_version( '4.5.0' );
@@ -2225,6 +2297,8 @@ function wc_update_450_sanitize_coupons_code() {
* Fixes product review count that might have been incorrect.
*
* See @link https://github.com/woocommerce/woocommerce/issues/27688.
+ *
+ * @return bool True to run again, false if completed.
*/
function wc_update_500_fix_product_review_count() {
global $wpdb;
@@ -2280,21 +2354,28 @@ function wc_update_500_fix_product_review_count() {
/**
* Update DB version to 5.0.0.
+ *
+ * @return void
*/
function wc_update_500_db_version() {
WC_Install::update_db_version( '5.0.0' );
}
+// phpcs:disable Squiz.Commenting.FunctionComment.InvalidReturnVoid -- return statement is in a nested function, not this one.
/**
* Creates the refund and returns policy page.
*
* See @link https://github.com/woocommerce/woocommerce/issues/29235.
+ *
+ * @return void
*/
function wc_update_560_create_refund_returns_page() {
+// phpcs:enable Squiz.Commenting.FunctionComment.InvalidReturnVoid
/**
* Filter on the pages created to return what we expect.
*
* @param array $pages The default WC pages.
+ * @return array
*/
function filter_created_pages( $pages ) {
$page_to_create = array( 'refund_returns' );
@@ -2311,6 +2392,8 @@ function wc_update_560_create_refund_returns_page() {
/**
* Update DB version to 5.6.0.
+ *
+ * @return void
*/
function wc_update_560_db_version() {
WC_Install::update_db_version( '5.6.0' );
@@ -2320,6 +2403,8 @@ function wc_update_560_db_version() {
* Migrate rate limit options to the new table.
*
* See @link https://github.com/woocommerce/woocommerce/issues/27103.
+ *
+ * @return void
*/
function wc_update_600_migrate_rate_limit_options() {
global $wpdb;
@@ -2349,6 +2434,8 @@ function wc_update_600_migrate_rate_limit_options() {
/**
* Update DB version to 6.0.0.
+ *
+ * @return void
*/
function wc_update_600_db_version() {
WC_Install::update_db_version( '6.0.0' );
@@ -2378,6 +2465,8 @@ function wc_update_630_create_product_attributes_lookup_table() {
/**
*
* Update DB version to 6.3.0.
+ *
+ * @return void
*/
function wc_update_630_db_version() {
WC_Install::update_db_version( '6.3.0' );
@@ -2397,6 +2486,8 @@ function wc_update_640_add_primary_key_to_product_attributes_lookup_table() {
/**
*
* Update DB version to 6.4.0.
+ *
+ * @return void
*/
function wc_update_640_db_version() {
WC_Install::update_db_version( '6.4.0' );
@@ -2406,6 +2497,8 @@ function wc_update_640_db_version() {
* Add the standard WooCommerce upload directories to the Approved Product Download Directories list
* and start populating it based on existing product download URLs, but do not enable the feature
* (for existing installations, a site admin should review and make a conscious decision to enable).
+ *
+ * @return void
*/
function wc_update_650_approved_download_directories() {
$directory_sync = wc_get_container()->get( Download_Directories_Sync::class );
@@ -2416,6 +2509,8 @@ function wc_update_650_approved_download_directories() {
/**
* In some cases, the approved download directories table may not have been successfully created during the update to
* 6.5.0. If this was the case we will need to re-initialize the feature.
+ *
+ * @return void
*/
function wc_update_651_approved_download_directories() {
global $wpdb;
@@ -2441,6 +2536,8 @@ function wc_update_651_approved_download_directories() {
/**
* Purges the comments count cache after 6.7.0 split reviews from the comments page.
+ *
+ * @return void
*/
function wc_update_670_purge_comments_count_cache() {
if ( ! is_callable( 'WC_Comments::delete_comments_count_cache' ) ) {
@@ -2470,6 +2567,8 @@ function wc_update_700_remove_download_log_fk() {
/**
* Remove the transient data for recommended marketing extensions.
+ *
+ * @return void
*/
function wc_update_700_remove_recommended_marketing_plugins_transient() {
delete_transient( 'wc_marketing_recommended_plugins' );
@@ -2478,6 +2577,8 @@ function wc_update_700_remove_recommended_marketing_plugins_transient() {
/**
* Update the New Zealand state codes in the database
* after they were updated in code to the CLDR standard.
+ *
+ * @return bool True if there are more records that need to be migrated, false otherwise.
*/
function wc_update_721_adjust_new_zealand_states() {
return MigrationHelper::migrate_country_states(
@@ -2506,6 +2607,8 @@ function wc_update_721_adjust_new_zealand_states() {
/**
* Update the Ukraine state codes in the database
* after they were updated in code to the CLDR standard.
+ *
+ * @return bool True if there are more records that need to be migrated, false otherwise.
*/
function wc_update_721_adjust_ukraine_states() {
return MigrationHelper::migrate_country_states(
@@ -2545,6 +2648,8 @@ function wc_update_721_adjust_ukraine_states() {
* This is a simple wrapper for the corresponding 7.2.1 update function. The reason we do this (instead of
* reusing the original function directly) is for better traceability in the Action Scheduler log, in case
* of problems.
+ *
+ * @return bool True if there are more records that need to be migrated, false otherwise.
*/
function wc_update_722_adjust_new_zealand_states() {
return wc_update_721_adjust_new_zealand_states();
@@ -2556,6 +2661,8 @@ function wc_update_722_adjust_new_zealand_states() {
* This is a simple wrapper for the corresponding 7.2.1 update function. The reason we do this (instead of
* reusing the original function directly) is for better traceability in the Action Scheduler log, in case
* of problems.
+ *
+ * @return bool True if there are more records that need to be migrated, false otherwise.
*/
function wc_update_722_adjust_ukraine_states() {
return wc_update_721_adjust_ukraine_states();
@@ -2564,6 +2671,8 @@ function wc_update_722_adjust_ukraine_states() {
/**
* Add new columns date_paid and date_completed to wp_wc_order_stats table in order to provide the option
* of using the dates in the reports
+ *
+ * @return void
*/
function wc_update_750_add_columns_to_order_stats_table() {
global $wpdb;
@@ -2598,6 +2707,8 @@ function wc_update_750_disable_new_product_management_experience() {
/**
* Remove the multichannel marketing feature flag and options. This feature is now enabled by default.
+ *
+ * @return void
*/
function wc_update_770_remove_multichannel_marketing_feature_options() {
delete_option( 'woocommerce_multichannel_marketing_enabled' );
@@ -2606,6 +2717,8 @@ function wc_update_770_remove_multichannel_marketing_feature_options() {
/**
* Set a flag to indicate whether the blockified Product Grid Block should be used as a template.
+ *
+ * @return void
*/
function wc_update_790_blockified_product_grid_block() {
update_option( BlockOptions::WC_BLOCK_USE_BLOCKIFIED_PRODUCT_GRID_BLOCK_AS_TEMPLATE, wc_bool_to_string( false ) );
@@ -2660,6 +2773,8 @@ LIMIT 250
/**
* Rename the checkout template to page-checkout.
+ *
+ * @return void
*/
function wc_update_830_rename_checkout_template() {
$template = get_block_template( BlockTemplateUtils::PLUGIN_SLUG . '//checkout', 'wp_template' );
@@ -2679,6 +2794,8 @@ function wc_update_830_rename_checkout_template() {
/**
* Rename the cart template to page-cart.
+ *
+ * @return void
*/
function wc_update_830_rename_cart_template() {
$template = get_block_template( BlockTemplateUtils::PLUGIN_SLUG . '//cart', 'wp_template' );
@@ -2701,6 +2818,8 @@ function wc_update_830_rename_cart_template() {
*
* This is removed because it is not used anymore.
* It is replaced by `woocommerce_admin_marketing_recommendations_specs` transient that is created by `MarketingRecommendationsDataSourcePoller`.
+ *
+ * @return void
*/
function wc_update_860_remove_recommended_marketing_plugins_transient() {
delete_transient( 'wc_marketing_recommended_plugins' );
@@ -2709,6 +2828,8 @@ function wc_update_860_remove_recommended_marketing_plugins_transient() {
/**
* Create an .htaccess file and an empty index.html file to prevent listing of the default transient files directory,
* if the directory exists.
+ *
+ * @return void
*/
function wc_update_870_prevent_listing_of_transient_files_directory() {
global $wp_filesystem;
@@ -2726,6 +2847,8 @@ function wc_update_870_prevent_listing_of_transient_files_directory() {
/**
* If it exists, remove the inbox note that asks users to connect to `Woo.com`.
+ *
+ * @return void
*/
function wc_update_890_update_connect_to_woocommerce_note() {
$note = Notes::get_note_by_name( WooSubscriptionsNotes::CONNECTION_NOTE_NAME );
@@ -2749,6 +2872,8 @@ function wc_update_890_update_connect_to_woocommerce_note() {
* to reduce the amount of new connections to the legacy gateway.
*
* Shows an admin notice to inform the store owner that PayPal Standard has been disabled and suggests installing PayPal Payments.
+ *
+ * @return void
*/
function wc_update_890_update_paypal_standard_load_eligibility() {
$paypal = class_exists( 'WC_Gateway_Paypal' ) ? WC_Gateway_Paypal::get_instance() : null;
@@ -2766,6 +2891,8 @@ function wc_update_890_update_paypal_standard_load_eligibility() {
/**
* Create the woocommerce_history_of_autoinstalled_plugins option if it doesn't exist
* as a copy of woocommerce_autoinstalled_plugins if it exists.
+ *
+ * @return void
*/
function wc_update_891_create_plugin_autoinstall_history_option() {
$autoinstalled_plugins_history_info = get_site_option( 'woocommerce_history_of_autoinstalled_plugins' );
@@ -2779,6 +2906,8 @@ function wc_update_891_create_plugin_autoinstall_history_option() {
/**
* Add woocommerce_show_lys_tour.
+ *
+ * @return void
*/
function wc_update_910_add_launch_your_store_tour_option() {
add_option( 'woocommerce_show_lys_tour', 'yes' );
@@ -2786,6 +2915,8 @@ function wc_update_910_add_launch_your_store_tour_option() {
/**
* Add woocommerce_hooked_blocks_version option for existing stores that are using a theme that supports the Block Hooks API
+ *
+ * @return void
*/
function wc_update_920_add_wc_hooked_blocks_version_option() {
if ( ! wp_is_block_theme() && ! current_theme_supports( 'block-template-parts' ) ) {
@@ -2874,6 +3005,8 @@ function wc_update_910_remove_obsolete_user_meta() {
/**
* Add woocommerce_coming_soon option when it is not currently present.
+ *
+ * @return void
*/
function wc_update_930_add_woocommerce_coming_soon_option() {
add_option( 'woocommerce_coming_soon', 'no' );
@@ -2881,6 +3014,8 @@ function wc_update_930_add_woocommerce_coming_soon_option() {
/**
* Migrate Launch Your Store tour meta keys to the woocommerce_meta user data fields.
+ *
+ * @return void
*/
function wc_update_930_migrate_user_meta_for_launch_your_store_tour() {
// Rename `woocommerce_launch_your_store_tour_hidden` meta key to `woocommerce_admin_launch_your_store_tour_hidden`.
@@ -2909,6 +3044,8 @@ function wc_update_930_migrate_user_meta_for_launch_your_store_tour() {
/**
* Recreate FTS index if it already exists, so that phone number can be added to the index.
+ *
+ * @return void
*/
function wc_update_940_add_phone_to_order_address_fts_index(): void {
$fts_already_exists = get_option( CustomOrdersTableController::HPOS_FTS_ADDRESS_INDEX_CREATED_OPTION ) === 'yes';
@@ -3002,6 +3139,8 @@ function wc_update_1000_multisite_visibility_setting(): void {
/**
* Autoloads woocommerce_allow_tracking option.
+ *
+ * @return void
*/
function wc_update_950_tracking_option_autoload() {
$options = array(
@@ -3013,6 +3152,8 @@ function wc_update_950_tracking_option_autoload() {
/**
* Update the base color for emails as part of the WooCommerce rebranding,
* but only if the user hasn't specified a custom color.
+ *
+ * @return void
*/
function wc_update_961_migrate_default_email_base_color() {
$color = get_option( 'woocommerce_email_base_color' );
@@ -3023,6 +3164,8 @@ function wc_update_961_migrate_default_email_base_color() {
/**
* Add old refunded order items to the product_lookup_table.
+ *
+ * @return void
*/
function wc_update_1020_add_old_refunded_order_items_to_product_lookup_table() {
global $wpdb;
@@ -3063,6 +3206,8 @@ function wc_update_1020_add_old_refunded_order_items_to_product_lookup_table() {
/**
* Remove the option woocommerce_order_attribution_install_banner_dismissed.
* This data is now stored in the user meta table in the PR #55715.
+ *
+ * @return void
*/
function wc_update_980_remove_order_attribution_install_banner_dismissed_option() {
delete_option( 'woocommerce_order_attribution_install_banner_dismissed' );
@@ -3070,6 +3215,8 @@ function wc_update_980_remove_order_attribution_install_banner_dismissed_option(
/**
* One-time force enable the new Payments Settings page feature for all stores.
+ *
+ * @return void
*/
function wc_update_985_enable_new_payments_settings_page_feature() {
update_option( 'woocommerce_feature_reactify-classic-payments-settings_enabled', 'yes' );
@@ -3077,6 +3224,8 @@ function wc_update_985_enable_new_payments_settings_page_feature() {
/**
* Remove the transient wc_count_comments as this has migrated to use cache.
+ *
+ * @return void
*/
function wc_update_990_remove_wc_count_comments_transient() {
delete_transient( 'wc_count_comments' );
@@ -3144,6 +3293,8 @@ function wc_update_1040_cleanup_legacy_ptk_patterns_fetching() {
* This migration ensures any installations that still have this old option set will have their brand permalink updated appropriately.
*
* @since 10.5.0
+ *
+ * @return void
*/
function wc_update_1050_migrate_brand_permalink_setting() {
if ( 'yes' !== get_option( 'woocommerce_prepend_shop_page_to_urls' ) ) {
diff --git a/plugins/woocommerce/phpstan-baseline.neon b/plugins/woocommerce/phpstan-baseline.neon
index 16e3a11cdd..1c0d6cd6bf 100644
--- a/plugins/woocommerce/phpstan-baseline.neon
+++ b/plugins/woocommerce/phpstan-baseline.neon
@@ -10147,22198 +10147,21598 @@ parameters:
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:add_ajax_events\(\) has no return type specified\.$#'
+ 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\:\:add_attribute\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ 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: '#^Method WC_AJAX\:\:add_attributes_and_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:add_coupon_discount\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|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: '#^Method WC_AJAX\:\:add_new_attribute\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|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: '#^Method WC_AJAX\:\:add_order_fee\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, non\-falsy\-string given\.$#'
+ identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:add_order_item\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:add_order_note\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:add_order_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:add_order_tax\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:add_to_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:add_variation\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$download of class WC_Customer_Download constructor expects array\|int\|object, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:apply_coupon\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:bulk_edit_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:calc_line_taxes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:checkout\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:create_all_product_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:define_ajax\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ 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: '#^Method WC_AJAX\:\:delete_order_note\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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 given\.$#'
+ identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:delete_refund\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:do_wc_ajax\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:feature_product\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:get_cart_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:get_customer_details\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:get_customer_location\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:get_order_details\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:get_refreshed_fragments\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:get_variation\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ 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: '#^Method WC_AJAX\:\:grant_access_to_download\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ 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: '#^Method WC_AJAX\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:json_search_categories\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ message: '#^Parameter \#1 \$time of function strtotime expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:json_search_categories_tree\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:json_search_customers\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:json_search_downloadable_products_and_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:json_search_pages\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:json_search_product_attributes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:json_search_products\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ 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: '#^Method WC_AJAX\:\:json_search_products_and_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:json_search_taxonomy_terms\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\<array\|string\> given\.$#'
+ identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:link_all_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:load_order_items\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$newvalue of function ini_set expects string, int given\.$#'
+ identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:load_status_widget\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:load_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:mark_order_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:order_add_meta\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:product_ordering\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:rated\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$qty of method WC_Abstract_Order\:\:add_product\(\) expects int, float\|int given\.$#'
+ identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:refund_line_items\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:remove_coupon\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
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
+ message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:remove_order_coupon\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:remove_order_item\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:remove_order_tax\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:remove_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#3 \$order of function wc_downloadable_file_permission expects WC_Order, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:render_variation_html\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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: '#^Method WC_AJAX\:\:revoke_access_to_download\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ 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: '#^Method WC_AJAX\:\:save_attributes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ 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: '#^Method WC_AJAX\:\:save_order_items\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 28
path: includes/class-wc-ajax.php
-
- message: '#^Method WC_AJAX\:\:save_variations\(\) has no return type specified\.$#'
+ message: '#^Method WC_Auth\:\:add_endpoint\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:set_wc_ajax_argument_in_query\(\) has no return type specified\.$#'
+ message: '#^Method WC_Auth\:\:auth_endpoint\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:shipping_classes_save_changes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Auth\:\:handle_auth_requests\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:shipping_zone_add_method\(\) has no return type specified\.$#'
+ message: '#^Method WC_Auth\:\:make_validation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:shipping_zone_methods_save_changes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Auth\:\:maybe_delete_key\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:shipping_zone_methods_save_settings\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:shipping_zone_remove_method\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:shipping_zones_save_changes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$str of function strtolower expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:tax_rates_save_changes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$string of function wc_trim_string expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:term_ordering\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-ajax.php
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:toggle_gateway_enabled\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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
+ path: includes/class-wc-auth.php
-
- message: '#^Method WC_AJAX\:\:update_api_key\(\) has no return type specified\.$#'
+ message: '#^Method WC_Autoloader\:\:autoload\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-autoloader.php
-
- message: '#^Method WC_AJAX\:\:update_order_review\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-ajax.php
+ path: includes/class-wc-autoloader.php
-
- message: '#^Method WC_AJAX\:\:update_order_review_expired\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to function is_callable\(\) with ''fastcgi_finish…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-background-emailer.php
-
- message: '#^Method WC_AJAX\:\:update_shipping_method\(\) has no return type specified\.$#'
+ message: '#^Method WC_Background_Emailer\:\:close_http_connection\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-background-emailer.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_delete_all\(\) has no return type specified\.$#'
+ message: '#^Method WC_Background_Emailer\:\:dispatch_queue\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-background-emailer.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_downloadable\(\) has no return type specified\.$#'
+ message: '#^Method WC_Background_Emailer\:\:handle\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-background-emailer.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_enabled\(\) has no return type specified\.$#'
+ message: '#^Method WC_Background_Emailer\:\:schedule_event\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-background-emailer.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_manage_stock\(\) has no return type specified\.$#'
+ message: '#^Method WC_Background_Updater\:\:complete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ 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_AJAX\:\:variation_bulk_action_toggle_virtual\(\) has no return type specified\.$#'
+ message: '#^Method WC_Background_Updater\:\:handle_cron_healthcheck\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-background-updater.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_download_expiry\(\) has no return type specified\.$#'
+ message: '#^Method WC_Background_Updater\:\:schedule_event\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-background-updater.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_download_limit\(\) has no return type specified\.$#'
+ 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-ajax.php
+ path: includes/class-wc-brands-brand-settings-manager.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_height\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$product\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands-coupons.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_length\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_items\(\) on WC_Discounts\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands-coupons.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_low_stock_amount\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Brands_Coupons\:\:get_product_brands\(\) should return array but returns list\<int\>\|WP_Error\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands-coupons.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_regular_price\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param array \$terms does not accept actual type of parameter\: array\<WP_Term\>\|WP_Error\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_regular_price_decrease\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param string \$brand_output does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_regular_price_increase\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Action callback returns WC_Product but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_price\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\<WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_price_decrease\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_price_increase\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_section_by_id\(\) on an unknown class BlockTemplateInterface\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_schedule\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock_status_instock\(\) has no return type specified\.$#'
+ message: '#^Method WC_Brands\:\:add_body_class\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock_status_onbackorder\(\) has no return type specified\.$#'
+ message: '#^Method WC_Brands\:\:body_class\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock_status_outofstock\(\) has no return type specified\.$#'
+ message: '#^Method WC_Brands\:\:brand_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_unset_cogs_value\(\) has no return type specified\.$#'
+ message: '#^Method WC_Brands\:\:duplicate_add_product_brand_terms\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_weight\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) has parameter \$original with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_width\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_adjust_price\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_set\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:variation_bulk_toggle\(\) has no return type specified\.$#'
+ message: '#^Method WC_Brands\:\:init_taxonomy\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Method WC_AJAX\:\:wc_ajax_headers\(\) has no return type specified\.$#'
+ message: '#^Method WC_Brands\:\:init_widgets\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.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: '#^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: '#^Parameter \#1 \$amount of method WC_Order_Item_Fee\:\:set_total\(\) expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Brands\:\:output_product_brand_list\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|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
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|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
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, non\-falsy\-string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Brands\:\:recount_after_stock_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(array\|string\)\: mixed\)\|null, ''strtoupper'' given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Brands\:\:recount_all_brands\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(array\|string\)\: mixed\)\|null, ''wc_normalize…'' given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Brands\:\:register_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(int\|string\)\: mixed\)\|null, ''sanitize_title'' given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Brands\:\:register_shortcodes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$cart_item_key of method WC_Cart\:\:remove_cart_item\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$coupon_code of method WC_Cart\:\:remove_coupon\(\) expects string, string\|false given\.$#'
- identifier: argument.type
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$download of class WC_Customer_Download constructor expects array\|int\|object, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
- identifier: argument.type
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Brands\:\:rest_api_add_brands_to_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, string\|false\|null given\.$#'
- identifier: argument.type
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{''WC_AJAX'', non\-falsy\-string\} given\.$#'
- identifier: argument.type
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$haystack of function strstr expects string, array\|int\|string given\.$#'
- identifier: argument.type
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$instance_id of method WC_Shipping_Zone\:\:delete_shipping_method\(\) expects int, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Brands\:\:show_brand\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.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: '#^Method WC_Brands\:\:styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.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 given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Brands\:\:template_loader\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$product of function wc_products_array_filter_readable expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Brands\:\:wc_brands_on_block_template_register\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$product_object of function wc_render_invalid_variation_notice expects WC_Product, WC_Product\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_brand'' given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-ajax.php
+ count: 2
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$product_object of static method WC_AJAX\:\:base_cost_or_null\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ 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-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$product_object of static method WC_AJAX\:\:render_variation_html\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$terms of function _wc_term_recount expects array, array\<int, int\>\|WP_Error given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$set of method WC_Shipping_Zone\:\:set_zone_name\(\) expects string, array\|string given\.$#'
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-ajax.php
+ count: 2
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$stock_quantity of function wc_format_stock_quantity_for_display expects int, int\|null given\.$#'
+ 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 \$template of method WC_Brands\:\:wc_brands_on_block_template_register\(\) has invalid type BlockTemplateInterface\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-brands.php
-
- message: '#^Parameter \#1 \$str of function trim expects string, array\|int\|string given\.$#'
- identifier: argument.type
+ 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-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.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: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-breadcrumb.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: '#^Cannot access property \$post_parent on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#1 \$the_term of function wc_reorder_terms expects int, WP_Term given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumb\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.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: '#^Method WC_Breadcrumb\:\:add_crumbs_404\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#1 \$title of function sanitize_title expects string, class\-string\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_attachment\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#1 \$type of method WC_Shipping_Zone\:\:add_shipping_method\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_author\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#1 \$value of method WC_Order_Item_Fee\:\:set_amount\(\) expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_category\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.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
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_date\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, array\|int\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_home\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.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: '#^Method WC_Breadcrumb\:\:add_crumbs_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_post_type_archive\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\<array\|string\> given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_product_category\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$needle of function stripos expects int\|string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_product_tag\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$newvalue of function ini_set expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_shop\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$next_id of function wc_reorder_terms expects int, int\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_single\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.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
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_tag\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\<string\> given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$product of function wc_format_stock_quantity_for_display expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:endpoint_trail\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$product_type of static method WC_Product_Factory\:\:get_product_classname\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:paged_trail\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$qty of method WC_Abstract_Order\:\:add_product\(\) expects int, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:prepend_shop_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:reset\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Breadcrumb\:\:search_trail\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-ajax.php
+ path: includes/class-wc-breadcrumb.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: '#^Method WC_Breadcrumb\:\:term_ancestors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ message: '#^Parameter \#1 \$name of method WC_Breadcrumb\:\:add_crumb\(\) expects string, int\|string\|false given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-ajax.php
+ count: 3
+ path: includes/class-wc-breadcrumb.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\.$#'
+ message: '#^Parameter \#1 \$name of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|null given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-ajax.php
+ count: 3
+ path: includes/class-wc-breadcrumb.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\.$#'
+ message: '#^Parameter \#1 \$post_type of function get_post_type_archive_link expects string, string\|false given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-ajax.php
+ count: 2
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#3 \$order of function wc_downloadable_file_permission expects WC_Order, WC_Order\|WC_Order_Refund\|false given\.$#'
+ message: '#^Parameter \#1 \$post_type of function get_post_type_object expects string, string\|false given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-ajax.php
+ count: 2
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#3 \$taxonomy of function get_term_by expects string, string\|null given\.$#'
+ 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-ajax.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Parameter \#4 \$value of static method WC_AJAX\:\:variation_bulk_adjust_price\(\) expects string, array\|string given\.$#'
+ message: '#^Parameter \#1 \$year of function get_year_link expects int\|false, int\|string\|false given\.$#'
identifier: argument.type
- count: 4
- path: includes/class-wc-ajax.php
+ count: 1
+ path: includes/class-wc-breadcrumb.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: '#^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: '#^Unreachable statement \- code above always terminates\.$#'
- identifier: deadCode.unreachable
- count: 28
- path: includes/class-wc-ajax.php
+ message: '#^Parameter \#2 \$link of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Method WC_Auth\:\:add_endpoint\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-auth.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Method WC_Auth\:\:auth_endpoint\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-auth.php
+ path: includes/class-wc-breadcrumb.php
-
- message: '#^Method WC_Auth\:\:handle_auth_requests\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Action callback returns array\<string, string\> but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/class-wc-auth.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Method WC_Auth\:\:make_validation\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cache_Helper\:\:clean_term_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-auth.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Method WC_Auth\:\:maybe_delete_key\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cache_Helper\:\:delete_transients_on_shutdown\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-auth.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Parameter \#1 \$scope of method WC_Auth\:\:get_i18n_scope\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Cache_Helper\:\:delete_version_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-auth.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Parameter \#1 \$scope of method WC_Auth\:\:get_permissions_in_scope\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Cache_Helper\:\:geolocation_ajax_redirect\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-auth.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Parameter \#1 \$str of function strtolower expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Cache_Helper\:\:incr_cache_prefix\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-auth.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Parameter \#1 \$string of function wc_trim_string expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Cache_Helper\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-auth.php
+ path: includes/class-wc-cache-helper.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
+ message: '#^Method WC_Cache_Helper\:\:invalidate_attribute_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-auth.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Cache_Helper\:\:invalidate_cache_group\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-auth.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Method WC_Autoloader\:\:autoload\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cache_Helper\:\:notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-autoloader.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Parameter \#1 \$autoload_function of function spl_autoload_register expects callable\(string\)\: void, ''__autoload'' given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Cache_Helper\:\:queue_delete_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-autoloader.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Call to function is_callable\(\) with ''fastcgi_finish…'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Method WC_Cache_Helper\:\:update_geolocation_hash\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-background-emailer.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Method WC_Background_Emailer\:\:close_http_connection\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$arr1 of function array_diff expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-background-emailer.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Method WC_Background_Emailer\:\:dispatch_queue\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-background-emailer.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Method WC_Background_Emailer\:\:handle\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, array\<mixed\>\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-background-emailer.php
+ path: includes/class-wc-cache-helper.php
-
- message: '#^Method WC_Background_Emailer\:\:schedule_event\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$name on string\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-background-emailer.php
+ path: includes/class-wc-cart-fees.php
-
- message: '#^Method WC_Background_Updater\:\:complete\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Fees\:\:init\(\) 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
+ path: includes/class-wc-cart-fees.php
-
- message: '#^Method WC_Background_Updater\:\:handle_cron_healthcheck\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Fees\:\:remove_all_fees\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-background-updater.php
+ path: includes/class-wc-cart-fees.php
-
- message: '#^Method WC_Background_Updater\:\:schedule_event\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Fees\:\:set_fees\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-background-updater.php
+ path: includes/class-wc-cart-fees.php
-
- message: '#^Method WC_Brands_Brand_Settings_Manager\:\:set_brand_settings_on_coupon\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Cart_Fees\:\:sort_fees_callback\(\) should return int but returns stdClass\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-brands-brand-settings-manager.php
+ path: includes/class-wc-cart-fees.php
-
- message: '#^Access to an undefined property object\:\:\$product\.$#'
- identifier: property.notFound
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/class-wc-brands-coupons.php
+ path: includes/class-wc-cart-fees.php
-
- message: '#^Cannot call method get_items\(\) on WC_Discounts\|null\.$#'
- identifier: method.nonObject
+ 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-brands-coupons.php
+ path: includes/class-wc-cart-fees.php
-
- message: '#^Method WC_Brands_Coupons\:\:get_product_brands\(\) should return array but returns list\<int\>\|WP_Error\.$#'
- identifier: return.type
+ message: '#^Parameter \#1 \$args of method WC_Cart_Fees\:\:add_fee\(\) expects array, object given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-brands-coupons.php
+ path: includes/class-wc-cart-fees.php
-
- message: '#^@param array \$terms does not accept actual type of parameter\: array\<WP_Term\>\|WP_Error\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#1 \$fee of method WC_Cart_Fees\:\:generate_id\(\) expects string, stdClass given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-fees.php
-
- message: '#^@param string \$brand_output does not accept actual type of parameter\: array\.$#'
+ message: '#^@param bool \$session does not accept actual type of parameter\: \$this\(WC_Cart_Session\)\.$#'
identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Action callback returns WC_Product but should not return anything\.$#'
- identifier: return.void
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Argument of an invalid type array\<WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-brands.php
-
- -
- message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
- count: 2
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Call to method get_id\(\) on an unknown class BlockTemplateInterface\.$#'
- identifier: class.notFound
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Call to method get_section_by_id\(\) on an unknown class BlockTemplateInterface\.$#'
- identifier: class.notFound
+ message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/class-wc-brands.php
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-cart-session.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 call method get_items\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-cart-session.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 call method has_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-cart-session.php
-
- message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart_Session\:\:dedupe_cookies\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:add_body_class\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Session\:\:destroy_cart_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:body_class\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Session\:\:get_cart_from_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:brand_description\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Session\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:duplicate_add_product_brand_terms\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Session\:\:maybe_set_cart_cookies\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) has parameter \$original with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Cart_Session\:\:persistent_cart_destroy\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) should return WC_Product but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Method WC_Cart_Session\:\:persistent_cart_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) should return WC_Product but return statement is missing\.$#'
- identifier: return.missing
+ 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-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:get_brand_name_first_character\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Cart_Session\:\:set_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:init_taxonomy\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Session\:\:set_cart_cookies\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:init_widgets\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Session\:\:set_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:output_product_brand\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ 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-brands.php
+ path: includes/class-wc-cart-session.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
+ message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.php
-
- message: '#^Method WC_Brands\:\:recount_after_stock_change\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$value of function wc_setcookie expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-session.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: '#^Access to an undefined property object\:\:\$price\.$#'
+ identifier: property.notFound
+ count: 7
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Brands\:\:register_hooks\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-brands.php
+ message: '#^Access to an undefined property object\:\:\$price_includes_tax\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Brands\:\:register_shortcodes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-brands.php
+ message: '#^Access to an undefined property object\:\:\$product\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/class-wc-cart-totals.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: '#^Access to an undefined property object\:\:\$tax_rates\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-cart-totals.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: '#^Access to an undefined property object\:\:\$taxable\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-cart-totals.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: '#^Binary operation "\*" between array\|float\|int\<min, \-1\> and \(float\|int\) results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Brands\:\:rest_api_add_brands_to_product\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$key on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-totals.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: '#^Cannot access property \$object on array\.$#'
+ identifier: property.nonObject
+ count: 9
+ path: includes/class-wc-cart-totals.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
+ message: '#^Cannot access property \$price on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-totals.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
+ message: '#^Cannot access property \$price_includes_tax on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Brands\:\:show_brand\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$product on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Brands\:\:styles\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$quantity on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Brands\:\:template_loader\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-brands.php
+ message: '#^Cannot access property \$tax_class on array\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Brands\:\:wc_brands_on_block_template_register\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$tax_rates on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_brand'' given\.$#'
- identifier: argument.type
+ message: '#^Cannot access property \$taxable on array\.$#'
+ identifier: property.nonObject
count: 2
- 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
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#1 \$terms of function _wc_term_recount expects array, array\<int, int\>\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/class-wc-brands.php
+ message: '#^Cannot access property \$taxes on array\.$#'
+ identifier: property.nonObject
+ count: 7
+ path: includes/class-wc-cart-totals.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: '#^Cannot access property \$total on array\.$#'
+ identifier: property.nonObject
+ count: 10
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#2 \$taxonomy of function _wc_term_recount expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
- identifier: argument.type
+ message: '#^Cannot access property \$total_tax on array\.$#'
+ identifier: property.nonObject
count: 2
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \$template of method WC_Brands\:\:wc_brands_on_block_template_register\(\) has invalid type BlockTemplateInterface\.$#'
- identifier: class.notFound
+ message: '#^Cannot clone non\-object variable \$default_shipping_props of type array\.$#'
+ identifier: clone.nonObject
count: 1
- path: includes/class-wc-brands.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/class-wc-breadcrumb.php
+ message: '#^Invalid array key type object\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 3
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
- identifier: property.nonObject
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart_Totals\:\:calculate\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart_Totals\:\:calculate_discounts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Cannot access property \$post_parent on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart_Totals\:\:calculate_fee_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumb\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Totals\:\:calculate_item_subtotals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_404\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Totals\:\:calculate_item_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_attachment\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Totals\:\:calculate_shipping_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_author\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Totals\:\:calculate_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_category\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Totals\:\:get_coupons_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_date\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_home\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_page\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_post_type_archive\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Totals\:\:get_fees_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_product_category\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Totals\:\:get_items_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_product_tag\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Cart_Totals\:\:get_merged_taxes\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_shop\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Totals\:\:get_shipping_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:add_crumbs_single\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart_Totals\:\:get_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.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\.$#'
+ message: '#^Method WC_Cart_Totals\:\:set_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:endpoint_trail\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:paged_trail\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:prepend_shop_page\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:reset\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:search_trail\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Breadcrumb\:\:term_ancestors\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$value of function wc_add_number_precision_deep expects array, float given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#1 \$name of method WC_Breadcrumb\:\:add_crumb\(\) expects string, int\|string\|false given\.$#'
+ message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, \(float\|int\) given\.$#'
identifier: argument.type
- count: 3
- path: includes/class-wc-breadcrumb.php
+ count: 2
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#1 \$name of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|null given\.$#'
+ message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, array\|float\|int given\.$#'
identifier: argument.type
- count: 3
- path: includes/class-wc-breadcrumb.php
+ count: 1
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#1 \$post_type of function get_post_type_archive_link expects string, string\|false given\.$#'
+ 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-breadcrumb.php
+ count: 1
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#1 \$post_type of function get_post_type_object expects string, string\|false given\.$#'
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_cart_contents_tax\(\) expects string, \(float\|int\) given\.$#'
identifier: argument.type
- count: 2
- path: includes/class-wc-breadcrumb.php
+ count: 1
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#1 \$year of function get_month_link expects int\|false, int\|string\|false given\.$#'
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#1 \$year of function get_year_link expects int\|false, int\|string\|false given\.$#'
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#2 \$link of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|WP_Error given\.$#'
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_totals\(\) expects array, array\|int given\.$#'
identifier: argument.type
- count: 6
- path: includes/class-wc-breadcrumb.php
+ count: 1
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#2 \$link of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|false given\.$#'
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_discount_tax\(\) expects string, float\|int given\.$#'
identifier: argument.type
- count: 6
- path: includes/class-wc-breadcrumb.php
+ count: 1
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#2 \$month of function get_month_link expects int\|false, int\|string\|false given\.$#'
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Parameter \#2 \$permalink of method WC_Breadcrumb\:\:add_crumbs_single\(\) expects string, string\|false given\.$#'
+ 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-breadcrumb.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Action callback returns array\<string, string\> but should not return anything\.$#'
- identifier: return.void
+ 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-cache-helper.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Cache_Helper\:\:clean_term_cache\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-cache-helper.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Cache_Helper\:\:delete_transients_on_shutdown\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-cache-helper.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Cache_Helper\:\:delete_version_transients\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-cache-helper.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Cache_Helper\:\:geolocation_ajax_redirect\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-cache-helper.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Cache_Helper\:\:incr_cache_prefix\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_subtotal\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-cache-helper.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Cache_Helper\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-cache-helper.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Cache_Helper\:\:invalidate_attribute_count\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_total_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-cache-helper.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Cache_Helper\:\:invalidate_cache_group\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\|int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-cache-helper.php
+ path: includes/class-wc-cart-totals.php
-
- message: '#^Method WC_Cache_Helper\:\:notices\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$total of method WC_Cart_Totals\:\:set_total\(\) expects int, float given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-cache-helper.php
+ path: includes/class-wc-cart-totals.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: '#^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: '#^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: '#^@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: '#^Parameter \#1 \$arr1 of function array_diff expects array, list\<string\>\|false given\.$#'
- identifier: argument.type
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/class-wc-cache-helper.php
+ path: includes/class-wc-cart.php
-
- message: '#^Parameter \#1 \$arr1 of function array_merge expects array, list\<string\>\|false given\.$#'
- identifier: argument.type
- count: 1
- path: includes/class-wc-cache-helper.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: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, array\<mixed\>\|false given\.$#'
- identifier: argument.type
- count: 1
- path: includes/class-wc-cache-helper.php
+ message: '#^Access to an undefined property WC_Cart\:\:\$coupon_discount_totals\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-cart.php
-
- message: '#^Cannot access property \$name on string\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/class-wc-cart-fees.php
+ message: '#^Access to an undefined property WC_Cart\:\:\$shipping_tax_total\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-cart.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: '#^Access to an undefined property WC_Cart\:\:\$shipping_total\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-cart.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: '#^Binary operation "\+" between float\|int\|string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Fees\:\:set_fees\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Binary operation "\-" between float\|string and float results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/class-wc-cart-fees.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Fees\:\:sort_fees_callback\(\) should return int but returns stdClass\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-fees.php
+ path: includes/class-wc-cart.php
-
- message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-fees.php
+ path: includes/class-wc-cart.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
+ message: '#^Call to an undefined method object\:\:get_tentative_usages_for_user\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-fees.php
+ path: includes/class-wc-cart.php
-
- message: '#^Parameter \#1 \$args of method WC_Cart_Fees\:\:add_fee\(\) expects array, object given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method object\:\:get_usage_by_email\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-fees.php
+ path: includes/class-wc-cart.php
-
- message: '#^Parameter \#1 \$fee of method WC_Cart_Fees\:\:generate_id\(\) expects string, stdClass given\.$#'
- identifier: argument.type
+ message: '#^Callback expects 1 parameter, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
count: 1
- path: includes/class-wc-cart-fees.php
+ path: includes/class-wc-cart.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: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-cart.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Cart\:\:add_fee\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Cart\:\:calculate_fees\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Cart\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Method WC_Cart\:\:calculate_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/class-wc-cart-session.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: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Cart\:\:check_cart_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Cannot call method has_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Cart\:\:check_customer_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:dedupe_cookies\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart\:\:empty_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:destroy_cart_session\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart\:\:get_cart_contents_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:get_cart_from_session\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Cart\:\:get_displayed_subtotal\(\) should return string but returns float\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:init\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart\:\:get_fee_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:maybe_set_cart_cookies\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart\:\:get_shipping_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:persistent_cart_destroy\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart\:\:remove_coupons\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:persistent_cart_update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart\:\:reset_totals\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:populate_cart_from_order\(\) should return array but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Method WC_Cart\:\:set_applied_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:set_cart\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart\:\:set_cart_contents\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:set_cart_cookies\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart\:\:set_cart_contents_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Session\:\:set_session\(\) has no return type specified\.$#'
+ message: '#^Method WC_Cart\:\:set_cart_contents_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Parameter \#1 \$product of function wc_get_cart_item_data_hash expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Cart\:\:set_cart_contents_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Cart\:\:set_coupon_discount_tax_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Parameter \#2 \$value of function wc_setcookie expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Cart\:\:set_coupon_discount_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-session.php
+ path: includes/class-wc-cart.php
-
- message: '#^Access to an undefined property object\:\:\$price\.$#'
- identifier: property.notFound
- count: 7
- path: includes/class-wc-cart-totals.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: '#^Access to an undefined property object\:\:\$price_includes_tax\.$#'
- identifier: property.notFound
- count: 2
- path: includes/class-wc-cart-totals.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: '#^Access to an undefined property object\:\:\$product\.$#'
- identifier: property.notFound
- count: 4
- path: includes/class-wc-cart-totals.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: '#^Access to an undefined property object\:\:\$tax_rates\.$#'
- identifier: property.notFound
- count: 3
- path: includes/class-wc-cart-totals.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: '#^Access to an undefined property object\:\:\$taxable\.$#'
- identifier: property.notFound
- count: 2
- path: includes/class-wc-cart-totals.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: '#^Binary operation "\*" between array\|float\|int\<min, \-1\> and \(float\|int\) results in an error\.$#'
- identifier: binaryOp.invalid
- count: 2
- path: includes/class-wc-cart-totals.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: '#^Cannot access property \$key on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart\:\:set_shipping_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-cart.php
-
- message: '#^Cannot access property \$object on array\.$#'
- identifier: property.nonObject
- count: 9
- path: includes/class-wc-cart-totals.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: '#^Cannot access property \$price on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart\:\:set_shipping_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-cart.php
-
- message: '#^Cannot access property \$price_includes_tax on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart\:\:set_subtotal\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-cart.php
-
- message: '#^Cannot access property \$product on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart\:\:set_subtotal_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-cart.php
-
- message: '#^Cannot access property \$quantity on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart\:\:set_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-cart.php
-
- message: '#^Cannot access property \$tax_class on array\.$#'
- identifier: property.nonObject
- count: 3
- path: includes/class-wc-cart-totals.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: '#^Cannot access property \$tax_rates on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Cart\:\:set_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-cart.php
-
- message: '#^Cannot access property \$taxable on array\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/class-wc-cart-totals.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: '#^Cannot access property \$taxes on array\.$#'
- identifier: property.nonObject
- count: 7
- path: includes/class-wc-cart-totals.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: '#^Cannot access property \$total on array\.$#'
- identifier: property.nonObject
- count: 10
- path: includes/class-wc-cart-totals.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: '#^Cannot access property \$total_tax on array\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/class-wc-cart-totals.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: '#^Cannot clone non\-object variable \$default_shipping_props of type array\.$#'
- identifier: clone.nonObject
+ message: '#^Parameter \#1 \$value of function wc_round_tax_total expects float, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-cart.php
-
- message: '#^Invalid array key type object\.$#'
- identifier: offsetAccess.invalidOffset
- count: 3
- 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.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
+ 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-totals.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Totals\:\:calculate\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Totals\:\:calculate_discounts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-totals.php
+ path: includes/class-wc-cart.php
-
- message: '#^Method WC_Cart_Totals\:\:calculate_fee_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Strict comparison using \!\=\= between 0 and mixed will always evaluate to true\.$#'
+ identifier: notIdentical.alwaysTrue
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-cart.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: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-checkout.php
-
- message: '#^Method WC_Cart_Totals\:\:calculate_item_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:has_cart_hash\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Method WC_Cart_Totals\:\:calculate_shipping_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:needs_payment\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Method WC_Cart_Totals\:\:calculate_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_cart_hash\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Method WC_Cart_Totals\:\:get_coupons_from_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_created_via\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.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
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_customer_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.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
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_customer_ip_address\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.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
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_customer_note\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Method WC_Cart_Totals\:\:get_fees_from_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_customer_user_agent\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Method WC_Cart_Totals\:\:get_items_from_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_payment_method\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Method WC_Cart_Totals\:\:get_merged_taxes\(\) should return array but returns array\|int\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Session\:\:save_data\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.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: '#^Cannot call method get_checkout_order_received_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-checkout.php
-
- message: '#^Method WC_Cart_Totals\:\:get_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Method WC_Cart_Totals\:\:set_total\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Class WP_Error referenced with incorrect case\: WP_ERROR\.$#'
+ identifier: class.nameCase
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^PHPDoc tag @return has invalid value \(array\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 189 on line 6$#'
- identifier: phpDoc.parseError
+ message: '#^Left side of && is always true\.$#'
+ identifier: booleanAnd.leftAlwaysTrue
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$item of method WC_Cart_Totals\:\:get_item_tax_rates\(\) expects object, array given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:__get\(\) should return array\|string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.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: '#^Method WC_Checkout\:\:__get\(\) should return array\|string but returns bool\.$#'
+ identifier: return.type
+ count: 3
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Cart\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:check_cart_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$price of static method WC_Tax\:\:calc_tax\(\) expects float, array\|float\|int\<0, max\> given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:checkout_form_billing\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of function wc_add_number_precision_deep expects array, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:checkout_form_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.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: '#^Method WC_Checkout\:\:create_order_coupon_lines\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, array\|float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:create_order_fee_lines\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:create_order_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_cart_contents_tax\(\) expects string, \(float\|int\) given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:create_order_shipping_lines\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_cart_contents_total\(\) expects string, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:create_order_tax_lines\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_tax_totals\(\) expects array, array\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:get_checkout_fields\(\) should return array but returns array\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_totals\(\) expects array, array\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:get_value\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_discount_tax\(\) expects string, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:initialize_checkout_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_discount_total\(\) expects string, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:process_checkout\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_fee_tax\(\) expects string, array\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:process_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_fee_taxes\(\) expects array, array\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:process_order_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_fee_total\(\) expects string, array\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:process_order_without_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_tax\(\) expects string, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:send_ajax_failure_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_taxes\(\) expects array, array\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:set_customer_address_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_total\(\) expects string, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:set_data_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_subtotal\(\) expects string, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:update_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_subtotal_tax\(\) expects string, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:validate_checkout\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_total_tax\(\) expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Checkout\:\:validate_posted_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#2 \$array of function array_map expects array, array\|int given\.$#'
+ 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 \$order of method WC_Checkout\:\:set_data_from_cart\(\) expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#2 \$total of method WC_Cart_Totals\:\:set_total\(\) expects int, float given\.$#'
+ 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-cart-totals.php
+ path: includes/class-wc-checkout.php
-
- message: '#^Parameter \#2 \$total of method WC_Cart_Totals\:\:set_total\(\) expects int, float\|int given\.$#'
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_tax\(\) expects string, float given\.$#'
identifier: argument.type
- count: 3
- path: includes/class-wc-cart-totals.php
+ count: 1
+ path: includes/class-wc-checkout.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: '#^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: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
- identifier: phpDoc.parseError
+ 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-cart.php
+ path: includes/class-wc-checkout.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: '#^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: '#^Access to an undefined property WC_Cart\:\:\$coupon_discount_totals\.$#'
- identifier: property.notFound
- count: 3
- path: includes/class-wc-cart.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: '#^Access to an undefined property WC_Cart\:\:\$shipping_tax_total\.$#'
- identifier: property.notFound
- count: 3
- path: includes/class-wc-cart.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: '#^Access to an undefined property WC_Cart\:\:\$shipping_total\.$#'
- identifier: property.notFound
- count: 2
- path: includes/class-wc-cart.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: '#^Binary operation "\+" between float\|int\|string and float results in an error\.$#'
- identifier: binaryOp.invalid
- count: 2
- path: includes/class-wc-cart.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: '#^Binary operation "\-" between float\|string and float results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Method WC_CLI\:\:add_blueprint_cli_hook\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-cli.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_CLI\:\:hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-cli.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_CLI\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-cli.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: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: includes/class-wc-comments.php
-
- message: '#^Call to an undefined method object\:\:get_usage_by_email\(\)\.$#'
- identifier: method.notFound
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Callback expects 1 parameter, \$accepted_args is set to 2\.$#'
- identifier: arguments.count
+ message: '#^Cannot access property \$comment_author_email on WP_Comment\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Cannot access property \$comment_post_ID on WP_Comment\|null\.$#'
+ identifier: property.nonObject
count: 2
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:add_fee\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-cart.php
+ message: '#^Cannot access property \$user_id on WP_Comment\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:calculate_fees\(\) has no return type specified\.$#'
+ message: '#^Method WC_Comments\:\:add_comment_rating\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:calculate_shipping\(\) has no return type specified\.$#'
+ message: '#^Method WC_Comments\:\:clear_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:calculate_totals\(\) has no return type specified\.$#'
+ message: '#^Method WC_Comments\:\:delete_comments_count_cache\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:check_cart_coupons\(\) has no return type specified\.$#'
+ message: '#^Method WC_Comments\:\:exclude_order_comments_from_feed_join\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:check_cart_items\(\) has no return type specified\.$#'
+ message: '#^Method WC_Comments\:\:exclude_webhook_comments_from_feed_join\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:check_customer_coupons\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:empty_cart\(\) has no return type specified\.$#'
+ message: '#^Method WC_Comments\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:get_cart_contents_taxes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Comments\:\:validate_product_review_verified_owners\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:get_displayed_subtotal\(\) should return string but returns float\.$#'
+ message: '#^Method WC_Comments\:\:wp_count_comments\(\) should return object but returns array\|object\.$#'
identifier: return.type
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.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: '#^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: '#^Method WC_Cart\:\:get_shipping_taxes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$user_id of function wc_customer_bought_product expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:remove_coupons\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:reset_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#3 \$product_id of function wc_customer_bought_product expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.php
-
- message: '#^Method WC_Cart\:\:set_applied_coupons\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-comments.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: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
+ identifier: property.notFound
+ count: 5
+ path: includes/class-wc-countries.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: '#^Access to an undefined property WC_Countries\:\:\$states\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-countries.php
-
- message: '#^Method WC_Cart\:\:set_cart_contents_taxes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Countries\:\:country_dropdown_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-countries.php
-
- message: '#^Method WC_Cart\:\:set_cart_contents_total\(\) has no return type specified\.$#'
+ message: '#^Method WC_Countries\:\:load_country_states\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-countries.php
-
- message: '#^Method WC_Cart\:\:set_coupon_discount_tax_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$str of function explode expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-countries.php
-
- message: '#^Method WC_Cart\:\:set_coupon_discount_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-countries.php
-
- message: '#^Method WC_Cart\:\:set_discount_tax\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_Cart\:\:\$subtotal\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_discount_total\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_Cart\:\:\$subtotal_ex_tax\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_fee_tax\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:decrease_usage_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_fee_taxes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:increase_usage_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_fee_total\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_removed_cart_contents\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon\:\:add_coupon_message\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_shipping_tax\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon\:\:decrease_usage_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_shipping_taxes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Coupon\:\:get_short_info\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_shipping_total\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon\:\:increase_usage_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_subtotal\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon\:\:read_manual_coupon\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_subtotal_tax\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon\:\:read_object_from_database\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_total\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon\:\:set_amount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_total_tax\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon\:\:set_code\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Cart\:\:set_totals\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon\:\:set_date_created\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.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: '#^Method WC_Coupon\:\:set_date_expires\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
-
- message: '#^Parameter \#1 \$product_id of method WC_Cart\:\:generate_cart_id\(\) expects int, int\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Coupon\:\:set_date_modified\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.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: '#^Method WC_Coupon\:\:set_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
-
- message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Coupon\:\:set_discount_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Parameter \#1 \$value of function wc_round_tax_total expects float, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Coupon\:\:set_discount_type_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_tax\(\) expects string, \(float\|int\) given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Coupon\:\:set_email_restrictions\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_tax\(\) expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Coupon\:\:set_exclude_sale_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_total\(\) expects string, \(float\|int\) given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Coupon\:\:set_excluded_product_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_total\(\) expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Coupon\:\:set_excluded_product_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Strict comparison using \!\=\= between 0 and mixed will always evaluate to true\.$#'
- identifier: notIdentical.alwaysTrue
+ message: '#^Method WC_Coupon\:\:set_free_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cart.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
- identifier: property.notFound
- count: 3
- path: includes/class-wc-checkout.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: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:has_cart_hash\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_limit_usage_to_x_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:needs_payment\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_maximum_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_cart_hash\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_minimum_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_created_via\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_product_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_customer_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_product_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_customer_ip_address\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_short_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_customer_note\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_customer_user_agent\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:set_payment_method\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_usage_limit\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Call to an undefined method WC_Session\:\:save_data\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Coupon\:\:set_usage_limit_per_user\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Cannot call method get_checkout_order_received_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/class-wc-checkout.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: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Coupon\:\:set_virtual\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Class WP_Error referenced with incorrect case\: WP_ERROR\.$#'
- identifier: class.nameCase
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Left side of && is always true\.$#'
- identifier: booleanAnd.leftAlwaysTrue
+ 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-checkout.php
+ path: includes/class-wc-coupon.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: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Checkout\:\:__get\(\) should return array\|string but returns bool\.$#'
- identifier: return.type
+ message: '#^Parameter \#2 \$allowed_html of function wp_kses expects array\<array\>\|string, array\<string, array\<string, bool\>\|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-checkout.php
+ path: includes/class-wc-coupon.php
-
- message: '#^Method WC_Checkout\:\:check_cart_items\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Log\:\:set_permission_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download-log.php
-
- message: '#^Method WC_Checkout\:\:checkout_form_billing\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Log\:\:set_timestamp\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download-log.php
-
- message: '#^Method WC_Checkout\:\:checkout_form_shipping\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Log\:\:set_user_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download-log.php
-
- message: '#^Method WC_Checkout\:\:create_order_coupon_lines\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Log\:\:set_user_ip_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download-log.php
-
- message: '#^Method WC_Checkout\:\:create_order_fee_lines\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-checkout.php
+ path: includes/class-wc-customer-download-log.php
-
- message: '#^Method WC_Checkout\:\:create_order_line_items\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_download_logs_count_for_permission\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:create_order_shipping_lines\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:read\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:create_order_tax_lines\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:get_checkout_fields\(\) should return array but returns array\|null\.$#'
- identifier: return.type
+ message: '#^Method WC_Customer_Download\:\:set_access_expires\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:get_value\(\) should return string but returns array\|string\.$#'
- identifier: return.type
+ message: '#^Method WC_Customer_Download\:\:set_access_granted\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:initialize_checkout_fields\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download\:\:set_download_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:process_checkout\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download\:\:set_download_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:process_customer\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download\:\:set_downloads_remaining\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:process_order_payment\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download\:\:set_order_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:process_order_without_payment\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download\:\:set_order_key\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:send_ajax_failure_response\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download\:\:set_product_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:set_customer_address_fields\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download\:\:set_user_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:set_data_from_cart\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download\:\:set_user_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:update_session\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download\:\:track_download\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.php
-
- message: '#^Method WC_Checkout\:\:validate_checkout\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer-download.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: '#^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: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.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
+ message: '#^Call to an undefined method object\:\:get_last_order\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#1 \$order of method WC_Checkout\:\:set_data_from_cart\(\) expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method object\:\:get_order_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_cart_tax\(\) expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method object\:\:get_total_spent\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_tax\(\) expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Customer\:\:get_avatar_url\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_total\(\) expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Customer\:\:get_calculated_shipping\(\) should return bool but returns string\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_tax\(\) expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Customer\:\:get_is_vat_exempt\(\) should return bool but returns string\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_total\(\) expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Customer\:\:set_address_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total\(\) expects string, float\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Customer\:\:set_billing_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#2 \$pieces of function implode expects array, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Customer\:\:set_billing_address_1\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-checkout.php
+ path: includes/class-wc-customer.php
-
- message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer\:\:set_billing_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-cli.php
+ path: includes/class-wc-customer.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_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_CLI\:\:add_blueprint_cli_hook\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_billing_city\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cli.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_CLI\:\:hooks\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_billing_company\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cli.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_CLI\:\:includes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_billing_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-cli.php
+ path: includes/class-wc-customer.php
-
- message: '#^Action callback returns array but should not return anything\.$#'
- identifier: return.void
- count: 2
- path: includes/class-wc-comments.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: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Method WC_Customer\:\:set_billing_first_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Cannot access property \$comment_author_email on WP_Comment\|null\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Customer\:\:set_billing_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Cannot access property \$comment_post_ID on WP_Comment\|null\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/class-wc-comments.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: '#^Cannot access property \$user_id on WP_Comment\|null\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/class-wc-comments.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_Comments\:\:add_comment_rating\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_billing_postcode\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Comments\:\:clear_transients\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_billing_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Comments\:\:delete_comments_count_cache\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_calculated_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Comments\:\:exclude_order_comments_from_feed_join\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_date_created\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Comments\:\:exclude_webhook_comments_from_feed_join\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_date_modified\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Comments\:\:get_average_rating_for_product\(\) should return float but returns int\|string\.$#'
- identifier: return.type
+ message: '#^Method WC_Customer\:\:set_display_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Comments\:\:init\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Comments\:\:validate_product_review_verified_owners\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_first_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Comments\:\:wp_count_comments\(\) should return object but returns array\|object\.$#'
- identifier: return.type
+ message: '#^Method WC_Customer\:\:set_is_paying_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.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: '#^Method WC_Customer\:\:set_is_vat_exempt\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.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
+ message: '#^Method WC_Customer\:\:set_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#3 \$product_id of function wc_customer_bought_product expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Customer\:\:set_password\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-comments.php
+ path: includes/class-wc-customer.php
-
- message: '#^Unreachable statement \- code above always terminates\.$#'
- identifier: deadCode.unreachable
+ message: '#^Method WC_Customer\:\:set_role\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Countries\:\:country_dropdown_options\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_shipping_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-countries.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Countries\:\:load_country_states\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_shipping_address_1\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-countries.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#2 \$str of function explode expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Customer\:\:set_shipping_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-countries.php
+ path: includes/class-wc-customer.php
-
- message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Customer\:\:set_shipping_address_to_base\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-countries.php
+ path: includes/class-wc-customer.php
-
- message: '#^Access to an undefined property WC_Cart\:\:\$subtotal\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Customer\:\:set_shipping_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Access to an undefined property WC_Cart\:\:\$subtotal_ex_tax\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Customer\:\:set_shipping_company\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Call to an undefined method object\:\:decrease_usage_count\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Customer\:\:set_shipping_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Call to an undefined method object\:\:increase_usage_count\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Customer\:\:set_shipping_first_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Customer\:\:set_shipping_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:add_coupon_message\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_shipping_location\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:decrease_usage_count\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_shipping_phone\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:get_short_info\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Customer\:\:set_shipping_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:increase_usage_count\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_shipping_state\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:read_manual_coupon\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer\:\:set_username\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.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: '#^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: '#^Method WC_Coupon\:\:set_amount\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Customer\:\:\$calculated_shipping \(string\) does not accept bool\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:set_code\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Customer\:\:\$calculated_shipping \(string\) does not accept default value of type false\.$#'
+ identifier: property.defaultValue
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:set_date_created\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Customer\:\:\$is_vat_exempt \(string\) does not accept bool\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:set_date_expires\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:set_date_modified\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WooCommerce\:\:\$session \(WC_Session\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-customer.php
-
- message: '#^Method WC_Coupon\:\:set_description\(\) has no return type specified\.$#'
+ message: '#^Method WC_Data_Store\:\:create\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-data-store.php
-
- message: '#^Method WC_Coupon\:\:set_discount_type\(\) has no return type specified\.$#'
+ message: '#^Method WC_Data_Store\:\:delete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-data-store.php
-
- message: '#^Method WC_Coupon\:\:set_discount_type_core\(\) has no return type specified\.$#'
+ message: '#^Method WC_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-data-store.php
-
- message: '#^Method WC_Coupon\:\:set_email_restrictions\(\) has no return type specified\.$#'
+ message: '#^Method WC_Data_Store\:\:read_multiple\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-data-store.php
-
- message: '#^Method WC_Coupon\:\:set_exclude_sale_items\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Data_Store\:\:read_multiple\(\) has parameter \$objects with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-data-store.php
-
- message: '#^Method WC_Coupon\:\:set_excluded_product_categories\(\) has no return type specified\.$#'
+ message: '#^Method WC_Data_Store\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-data-store.php
-
- message: '#^Method WC_Coupon\:\:set_excluded_product_ids\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @param for parameter \$objects contains unresolvable type\.$#'
+ identifier: parameter.unresolvableType
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-data-store.php
-
- message: '#^Method WC_Coupon\:\:set_free_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-coupon.php
+ path: includes/class-wc-data-store.php
-
- message: '#^Method WC_Coupon\:\:set_individual_use\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Data_Store\:\:\$instance \(WC_Data_Store\) does not accept object\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-data-store.php
-
- message: '#^Method WC_Coupon\:\:set_limit_usage_to_x_items\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to function method_exists\(\) with ''DateTime'' and ''getTimestamp'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-datetime.php
-
- message: '#^Method WC_Coupon\:\:set_maximum_amount\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_DateTime\:\:getTimestamp\(\) should return int but returns int\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-datetime.php
-
- message: '#^Method WC_Coupon\:\:set_minimum_amount\(\) has no return type specified\.$#'
+ message: '#^Method WC_DateTime\:\:set_utc_offset\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-datetime.php
-
- message: '#^Method WC_Coupon\:\:set_product_categories\(\) has no return type specified\.$#'
+ message: '#^Method WC_Deprecated_Action_Hooks\:\:hook_in\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-deprecated-action-hooks.php
-
- message: '#^Method WC_Coupon\:\:set_product_ids\(\) has no return type specified\.$#'
+ message: '#^Method WC_Deprecated_Filter_Hooks\:\:hook_in\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-deprecated-filter-hooks.php
-
- message: '#^Method WC_Coupon\:\:set_short_info\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Coupon\:\:set_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$key\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-discounts.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: '#^Access to an undefined property object\:\:\$object\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Coupon\:\:set_usage_limit\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$price\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-discounts.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: '#^Access to an undefined property object\:\:\$product\.$#'
+ identifier: property.notFound
+ count: 12
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Coupon\:\:set_used_by\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$quantity\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Coupon\:\:set_virtual\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-coupon.php
+ message: '#^Binary operation "/" between string and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/class-wc-discounts.php
-
- message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-coupon.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, string given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-coupon.php
+ 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-coupon.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: '#^Parameter \#2 \$allowed_html of function wp_kses expects array\<array\>\|string, array\<string, array\<string, bool\>\|true\> given\.$#'
- identifier: argument.type
- count: 2
- path: includes/class-wc-coupon.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: '#^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: '#^Call to an undefined method object\:\:get_usage_by_user_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download_Log\:\:set_permission_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:is_valid_for_cart\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-customer-download-log.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download_Log\:\:set_timestamp\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:is_valid_for_product\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-customer-download-log.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download_Log\:\:set_user_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-customer-download-log.php
+ path: includes/class-wc-discounts.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: '#^Cannot access property \$price on array\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/class-wc-discounts.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: '#^Cannot access property \$quantity on array\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/class-wc-discounts.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_download_logs_count_for_permission\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Discounts\:\:apply_coupon_percent\(\) should return int but returns float\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Call to an undefined method object\:\:read\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Discounts\:\:get_discounted_price\(\) should return float but returns array\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Class WC_Customer_Download implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
- identifier: missingType.generics
+ message: '#^Method WC_Discounts\:\:get_discounts\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_access_expires\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Discounts\:\:get_discounts_by_coupon\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_access_granted\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Discounts\:\:get_discounts_by_item\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_download_count\(\) has no return type specified\.$#'
+ 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-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_download_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Discounts\:\:set_items_from_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_downloads_remaining\(\) has no return type specified\.$#'
+ message: '#^Method WC_Discounts\:\:set_items_from_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_order_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_order_key\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_product_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_user_email\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:set_user_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Method WC_Customer_Download\:\:track_download\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Parameter \#1 \$email of function sanitize_email expects string, int given\.$#'
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ message: '#^Parameter \#2 \$allowed_html of function wp_kses expects array\<array\>\|string, array\<string, array\<string, bool\>\|true\> given\.$#'
identifier: argument.type
count: 2
- path: includes/class-wc-customer-download.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
- identifier: method.notFound
+ 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-customer.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Call to an undefined method object\:\:get_last_order\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_remainder\(\) expects int, float given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Call to an undefined method object\:\:get_order_count\(\)\.$#'
- identifier: method.notFound
+ 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-customer.php
+ path: includes/class-wc-discounts.php
-
- message: '#^Call to an undefined method object\:\:get_total_spent\(\)\.$#'
- identifier: method.notFound
+ 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-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:get_avatar_url\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^@param bool\|WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:get_calculated_shipping\(\) should return bool but returns string\.$#'
- identifier: return.type
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:get_is_vat_exempt\(\) should return bool but returns string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_address_prop\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:is_download_permitted\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_address\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_file_download_path\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_address_1\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:check_download_expiry\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_address_2\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:check_download_login_required\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_address_to_base\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:check_downloads_remaining\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_city\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:check_order_is_valid\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_company\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:check_server_config\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_country\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:clean_buffers\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_email\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:count_download\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_first_name\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:download\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_last_name\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:download_error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_location\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:download_file_force\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_phone\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:download_file_redirect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_postcode\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:download_file_xsendfile\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_billing_state\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:download_headers\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_calculated_shipping\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:download_product\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_date_created\(\) has no return type specified\.$#'
+ message: '#^Method WC_Download_Handler\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_date_modified\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_display_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_email\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$str of function sha1 expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_first_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$string of function substr expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_is_paying_customer\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$data of function hash expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_is_vat_exempt\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_last_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_password\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Strict comparison using \=\=\= between null and int will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-download-handler.php
-
- message: '#^Method WC_Customer\:\:set_role\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_address\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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 WC_Order\|WC_Order_Refund\:\:get_order_number\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_address_1\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_formatted_name\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_address_2\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_stock_quantity\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_address_to_base\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_city\(\) has no return type specified\.$#'
+ 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-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_company\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:additional_address_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_country\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:additional_checkout_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_first_name\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:backorder\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_last_name\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:customer_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_location\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:customer_invoice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_phone\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:customer_new_account\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_postcode\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:email_addresses\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_shipping_state\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:email_footer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Customer\:\:set_username\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:email_header\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.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: '#^Method WC_Emails\:\:fulfillment_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
-
- message: '#^Property WC_Customer\:\:\$calculated_shipping \(string\) does not accept bool\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_Emails\:\:fulfillment_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Property WC_Customer\:\:\$calculated_shipping \(string\) does not accept default value of type false\.$#'
- identifier: property.defaultValue
+ message: '#^Method WC_Emails\:\:get_store_address\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Property WC_Customer\:\:\$is_vat_exempt \(string\) does not accept bool\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_Emails\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Property WC_Customer\:\:\$is_vat_exempt \(string\) does not accept default value of type false\.$#'
- identifier: property.defaultValue
+ message: '#^Method WC_Emails\:\:init_transactional_emails\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Property WooCommerce\:\:\$session \(WC_Session\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
+ message: '#^Method WC_Emails\:\:low_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-customer.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Data_Store\:\:create\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:no_stock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-data-store.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Data_Store\:\:delete\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:order_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-data-store.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:order_downloads\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-data-store.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Data_Store\:\:read_multiple\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:order_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-data-store.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Data_Store\:\:read_multiple\(\) has parameter \$objects with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Emails\:\:order_schema_markup\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-data-store.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Data_Store\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Emails\:\:queue_transactional_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-data-store.php
+ path: includes/class-wc-emails.php
-
- message: '#^PHPDoc tag @param for parameter \$objects contains unresolvable type\.$#'
- identifier: parameter.unresolvableType
+ message: '#^Method WC_Emails\:\:remove_email_sender_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-data-store.php
+ path: includes/class-wc-emails.php
-
- message: '#^Property WC_Data_Store\:\:\$instance \(WC_Data_Store\) does not accept WC_Object_Data_Store_Interface\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_Emails\:\:send_queued_transactional_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-data-store.php
+ path: includes/class-wc-emails.php
-
- message: '#^Property WC_Data_Store\:\:\$instance \(WC_Data_Store\) does not accept object\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_Emails\:\:send_transactional_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-data-store.php
+ path: includes/class-wc-emails.php
-
- message: '#^Call to function method_exists\(\) with ''DateTime'' and ''getTimestamp'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Method WC_Emails\:\:wrap_message\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-datetime.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_DateTime\:\:getTimestamp\(\) should return int but returns int\|string\.$#'
- identifier: return.type
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-datetime.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_DateTime\:\:set_utc_offset\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-datetime.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Deprecated_Action_Hooks\:\:hook_in\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, int\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-deprecated-action-hooks.php
+ path: includes/class-wc-emails.php
-
- message: '#^Method WC_Deprecated_Filter_Hooks\:\:hook_in\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, array\<int, string\|false\|null\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-deprecated-filter-hooks.php
+ path: includes/class-wc-emails.php
-
- message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \#5 \$attachments of method WC_Email\:\:send\(\) expects array, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-emails.php
-
- message: '#^Access to an undefined property object\:\:\$key\.$#'
- identifier: property.notFound
+ message: '#^Cannot call method get_price_html\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-embed.php
-
- message: '#^Access to an undefined property object\:\:\$object\.$#'
- identifier: property.notFound
- count: 2
- path: includes/class-wc-discounts.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: '#^Access to an undefined property object\:\:\$price\.$#'
- identifier: property.notFound
+ message: '#^Cannot call method is_purchasable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-embed.php
-
- message: '#^Access to an undefined property object\:\:\$product\.$#'
- identifier: property.notFound
- count: 12
- path: includes/class-wc-discounts.php
+ message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-embed.php
-
- message: '#^Access to an undefined property object\:\:\$quantity\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Embed\:\:get_ratings\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-embed.php
-
- message: '#^Binary operation "/" between string and 100 results in an error\.$#'
- identifier: binaryOp.invalid
- count: 2
- path: includes/class-wc-discounts.php
+ message: '#^Method WC_Embed\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-embed.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Embed\:\:print_embed_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-embed.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Embed\:\:remove_comments_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-embed.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$text of function esc_html expects string, float given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-embed.php
-
- message: '#^Call to an undefined method object\:\:get_tentative_usages_for_user\(\)\.$#'
- identifier: method.notFound
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.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: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-form-handler.php
-
- message: '#^Call to an undefined method object\:\:is_valid_for_cart\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Call to an undefined method object\:\:is_valid_for_product\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot access property \$first_name on WP_User\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
+ message: '#^Cannot access property \$last_name on WP_User\|false\.$#'
identifier: property.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Cannot access property \$price on array\.$#'
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
identifier: property.nonObject
- count: 4
- path: includes/class-wc-discounts.php
+ count: 2
+ path: includes/class-wc-form-handler.php
-
- message: '#^Cannot access property \$quantity on array\.$#'
+ message: '#^Cannot access property \$user_pass on WP_User\|false\.$#'
identifier: property.nonObject
- count: 4
- path: includes/class-wc-discounts.php
+ count: 1
+ path: includes/class-wc-form-handler.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: '#^Cannot call method get_billing_city\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.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: '#^Cannot call method get_billing_country\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.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: '#^Cannot call method get_billing_postcode\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.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: '#^Cannot call method get_billing_state\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Discounts\:\:get_discounts_by_item\(\) should return array but returns array\|int\.$#'
- identifier: return.type
+ message: '#^Cannot call method get_checkout_order_received_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Discounts\:\:get_object_subtotal\(\) should return int but returns float\|int\.$#'
- identifier: return.type
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 2
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Discounts\:\:set_items\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method has_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Discounts\:\:set_items_from_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Discounts\:\:set_items_from_order\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.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
+ message: '#^Cannot call method set_payment_method\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$err_code of method WC_Coupon\:\:get_coupon_error\(\) expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Cart\|WC_Order\|null given\.$#'
- identifier: argument.type
+ message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Form_Handler\:\:add_payment_method_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.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
+ message: '#^Method WC_Form_Handler\:\:add_to_cart_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Form_Handler\:\:cancel_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-discounts.php
-
- -
- message: '#^Parameter \#2 \$allowed_html of function wp_kses expects array\<array\>\|string, array\<string, array\<string, bool\>\|true\> given\.$#'
- identifier: argument.type
- count: 2
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_fixed_cart\(\) expects int\|null, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Form_Handler\:\:checkout_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_remainder\(\) expects int, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Form_Handler\:\:delete_payment_method_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_remainder\(\) expects int, float\|int\<1, max\> given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Form_Handler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-discounts.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^@param WC_Product \$product does not accept actual type of parameter\: WC_Product\|false\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_Form_Handler\:\:order_again\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^@param bool\|WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_Form_Handler\:\:pay_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Action callback returns array but should not return anything\.$#'
- identifier: return.void
+ message: '#^Method WC_Form_Handler\:\:process_login\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Form_Handler\:\:process_lost_password\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:is_download_permitted\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Form_Handler\:\:process_registration\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Cannot call method get_file_download_path\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Form_Handler\:\:process_reset_password\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:check_download_expiry\(\) has no return type specified\.$#'
+ message: '#^Method WC_Form_Handler\:\:redirect_reset_password_link\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:check_download_login_required\(\) has no return type specified\.$#'
+ message: '#^Method WC_Form_Handler\:\:save_account_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:check_downloads_remaining\(\) has no return type specified\.$#'
+ message: '#^Method WC_Form_Handler\:\:save_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:check_order_is_valid\(\) has no return type specified\.$#'
+ message: '#^Method WC_Form_Handler\:\:set_default_payment_method_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:check_server_config\(\) has no return type specified\.$#'
+ message: '#^Method WC_Form_Handler\:\:update_cart_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:clean_buffers\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:count_download\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, \(array\<string\>\|string\|null\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:download\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$email of function is_email expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:download_error\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:download_file_force\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:download_file_redirect\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$url of function wp_parse_url expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:download_file_xsendfile\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:download_headers\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:download_product\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$country of function wc_format_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Method WC_Download_Handler\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$file_size of static method WC_Download_Handler\:\:get_download_range\(\) expects int, int\<0, max\>\|false given\.$#'
+ 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-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$haystack of function stristr expects string, string\|false given\.$#'
+ message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int\<1, max\> given\.$#'
identifier: argument.type
- count: 3
- path: includes/class-wc-download-handler.php
+ count: 1
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ message: '#^Parameter \#2 \$username of function wc_create_new_customer expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$order_key of function wc_get_order_id_by_order_key expects string, array\|string given\.$#'
+ 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-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$str of function sha1 expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Strict comparison using \=\=\= between 0 and 0 will always evaluate to true\.$#'
+ identifier: identical.alwaysTrue
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-form-handler.php
-
- message: '#^Parameter \#1 \$string of function substr expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Default value of the parameter \#5 \$in_footer \(array\<string, string\>\) of method WC_Frontend_Scripts\:\:enqueue_script\(\) is incompatible with type bool\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Parameter \#2 \$data of function hash expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Default value of the parameter \#5 \$in_footer \(array\<string, string\>\) of method WC_Frontend_Scripts\:\:register_script\(\) is incompatible with type bool\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-frontend-scripts.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: '#^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: '#^Parameter \#2 \$value of function apache_setenv expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Frontend_Scripts\:\:enqueue_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Frontend_Scripts\:\:enqueue_style\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Strict comparison using \=\=\= between null and int will always evaluate to false\.$#'
- identifier: identical.alwaysFalse
+ message: '#^Method WC_Frontend_Scripts\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-download-handler.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_Frontend_Scripts\:\:load_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Call to an undefined method WC_Email\:\:trigger\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/class-wc-emails.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: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_number\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Frontend_Scripts\:\:localize_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Call to an undefined method object\:\:get_formatted_name\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Frontend_Scripts\:\:register_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Call to an undefined method object\:\:get_stock_quantity\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Frontend_Scripts\:\:register_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Frontend_Scripts\:\:register_style\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Expected 2 @param tags, found 1\.$#'
- identifier: paramTag.count
- count: 2
- path: includes/class-wc-emails.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: '#^Expected 2 @param tags, found 3\.$#'
- identifier: paramTag.count
- count: 3
- path: includes/class-wc-emails.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: '#^Expected 4 @param tags, found 3\.$#'
- identifier: paramTag.count
- count: 6
- path: includes/class-wc-emails.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: '#^Method WC_Emails\:\:add_email_sender_filters\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-emails.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Method WC_Emails\:\:additional_address_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Address_Provider\:\:\$branding_html \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-frontend-scripts.php
-
- message: '#^Method WC_Emails\:\:additional_checkout_fields\(\) has no return type specified\.$#'
+ message: '#^Method WC_Geolite_Integration\:\:log\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-geolite-integration.php
-
- message: '#^Method WC_Emails\:\:backorder\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Geolite_Integration\:\:\$log \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-geolite-integration.php
-
- message: '#^Method WC_Emails\:\:customer_details\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param string \$geolocation does not accept actual type of parameter\: false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-geolocation.php
-
- message: '#^Method WC_Emails\:\:customer_invoice\(\) has no return type specified\.$#'
+ message: '#^Method WC_Geolocation\:\:update_database\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-geolocation.php
-
- message: '#^Method WC_Emails\:\:customer_new_account\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$array_arg of function current expects array\|object, list\<string\>\|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-emails.php
+ path: includes/class-wc-geolocation.php
-
- message: '#^Method WC_Emails\:\:email_addresses\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Variable \$transient_name might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-geolocation.php
-
- message: '#^Method WC_Emails\:\:email_footer\(\) has no return type specified\.$#'
+ message: '#^Method WC_HTTPS\:\:force_https_template_redirect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-https.php
-
- message: '#^Method WC_Emails\:\:email_header\(\) has no return type specified\.$#'
+ message: '#^Method WC_HTTPS\:\:http_api_curl\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-https.php
-
- message: '#^Method WC_Emails\:\:fulfillment_details\(\) has no return type specified\.$#'
+ message: '#^Method WC_HTTPS\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-https.php
-
- message: '#^Method WC_Emails\:\:fulfillment_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_HTTPS\:\:unforce_https_template_redirect\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-https.php
-
- message: '#^Method WC_Emails\:\:get_store_address\(\) should return string but returns string\|null\.$#'
- identifier: return.type
+ message: '#^Parameter \#1 \$ch of function curl_setopt expects resource, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-https.php
-
- message: '#^Method WC_Emails\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:init_transactional_emails\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:low_stock\(\) has no return type specified\.$#'
+ message: '#^Cannot access property \$download_link on array\|object\.$#'
+ identifier: property.nonObject
+ 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: '#^Method WC_Install\:\:add_coming_soon_option\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:no_stock\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:add_update_db_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:order_details\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:associate_plugin_file\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:order_downloads\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:background_installer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:order_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:check_version\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:order_schema_markup\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:clear_cron_jobs\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:queue_transactional_email\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:create_files\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:remove_email_sender_filters\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:create_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:send_queued_transactional_email\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:create_pages\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:send_transactional_email\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:create_placeholder_image\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Emails\:\:wrap_message\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Install\:\:create_roles\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Install\:\:create_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Parameter \#1 \$order of method WC_Structured_Data\:\:generate_order_data\(\) expects WP_Order, WC_Order given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Install\:\:delete_obsolete_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, int\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Install\:\:enable_customer_stock_notifications_signups\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, array\<int, string\|false\|null\> given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Install\:\:enable_email_improvements_for_existing_merchants\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Parameter \#5 \$attachments of method WC_Email\:\:send\(\) expects array, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Install\:\:enable_email_improvements_for_newly_installed\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-emails.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method get_price_html\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-embed.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method is_in_stock\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:install\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-embed.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method is_purchasable\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:install_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-embed.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:install_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-embed.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Embed\:\:get_ratings\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:manual_database_update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-embed.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Embed\:\:init\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:maybe_activate_legacy_api_enabled_option\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-embed.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Embed\:\:print_embed_styles\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:maybe_create_pages\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-embed.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Embed\:\:remove_comments_button\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:maybe_enable_hpos\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-embed.php
+ path: includes/class-wc-install.php
-
- message: '#^Parameter \#1 \$text of function esc_html expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Install\:\:maybe_install_legacy_api_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-embed.php
+ path: includes/class-wc-install.php
-
- message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_Install\:\:maybe_set_activation_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.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 property \$ID on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Install\:\:maybe_set_store_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot access property \$first_name on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Install\:\:maybe_update_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot access property \$last_name on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Install\:\:migrate_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-wc-install.php
-
- message: '#^Cannot access property \$user_pass on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Install\:\:newly_installed\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
-
- -
- message: '#^Cannot call method get_billing_city\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/class-wc-form-handler.php
-
- -
- message: '#^Cannot call method get_billing_country\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/class-wc-form-handler.php
-
- -
- message: '#^Cannot call method get_billing_postcode\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/class-wc-form-handler.php
-
- -
- message: '#^Cannot call method get_billing_state\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method get_checkout_order_received_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:remove_admin_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
-
- -
- message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/class-wc-form-handler.php
-
- -
- message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method has_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:remove_mailchimps_redirect\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/class-wc-form-handler.php
+ message: '#^Method WC_Install\:\:remove_roles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:remove_update_db_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:run_manual_database_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method set_payment_method\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:run_update_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Install\:\:run_update_callback_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
- identifier: arguments.count
+ message: '#^Method WC_Install\:\:run_update_callback_start\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:add_payment_method_action\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:set_paypal_standard_load_eligibility\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:add_to_cart_action\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:setup_environment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:cancel_order\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:theme_background_installer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:checkout_action\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:delete_payment_method_action\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:update_db_version\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:init\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:update_wc_version\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:order_again\(\) has no return type specified\.$#'
+ message: '#^Method WC_Install\:\:wc_admin_db_update_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:pay_action\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$post of function wp_attachment_is_image expects int\|WP_Post\|null, float\|int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:process_login\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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 \#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-form-handler.php
+ path: includes/class-wc-install.php
-
- message: '#^Method WC_Form_Handler\:\:process_lost_password\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-integrations.php
-
- message: '#^Method WC_Form_Handler\:\:process_registration\(\) has no return type specified\.$#'
+ message: '#^Method WC_Logger\:\:alert\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Method WC_Form_Handler\:\:process_reset_password\(\) has no return type specified\.$#'
+ message: '#^Method WC_Logger\:\:critical\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Method WC_Form_Handler\:\:redirect_reset_password_link\(\) has no return type specified\.$#'
+ message: '#^Method WC_Logger\:\:debug\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Method WC_Form_Handler\:\:save_account_details\(\) has no return type specified\.$#'
+ message: '#^Method WC_Logger\:\:emergency\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Method WC_Form_Handler\:\:save_address\(\) has no return type specified\.$#'
+ message: '#^Method WC_Logger\:\:error\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Method WC_Form_Handler\:\:set_default_payment_method_action\(\) has no return type specified\.$#'
+ message: '#^Method WC_Logger\:\:info\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Method WC_Form_Handler\:\:update_cart_action\(\) has no return type specified\.$#'
+ message: '#^Method WC_Logger\:\:notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Negated boolean expression is always false\.$#'
- identifier: booleanNot.alwaysFalse
+ message: '#^Method WC_Logger\:\:warning\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, \(array\<string\>\|string\|null\) given\.$#'
- identifier: argument.type
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Parameter \#1 \$email of function is_email expects string, array\|string given\.$#'
- identifier: argument.type
+ 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-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Parameter \#1 \$email of function sanitize_email expects string, array\|string given\.$#'
+ 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-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ 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-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Parameter \#1 \$url of function wp_parse_url expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Property WC_Logger\:\:\$threshold \(int\) does not accept string\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-logger.php
-
- message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_first_name\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Meta_Data\:\:apply_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-meta-data.php
-
- message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_last_name\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_order_item_type\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Parameter \#2 \$country of function wc_format_postcode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_order_type\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Parameter \#2 \$country of static method WC_Validation\:\:is_postcode\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_orders_type\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int given\.$#'
- identifier: argument.type
+ 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-form-handler.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int\<1, max\> given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method object\:\:set_defaults\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Parameter \#2 \$username of function wc_create_new_customer expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method object\:\:set_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Parameter \#3 \$variation_id of method WC_Cart\:\:add_to_cart\(\) expects int, int\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot access offset ''class_name'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Strict comparison using \=\=\= between 0 and 0 will always evaluate to true\.$#'
- identifier: identical.alwaysTrue
+ message: '#^Cannot call method get_id\(\) on array\|object\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-form-handler.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Default value of the parameter \#5 \$in_footer \(array\<string, string\>\) of method WC_Frontend_Scripts\:\:enqueue_script\(\) is incompatible with type bool\.$#'
- identifier: parameter.defaultValue
+ message: '#^Method WC_Order_Factory\:\:get_order\(\) should return WC_Order\|false but returns array\|object\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Default value of the parameter \#5 \$in_footer \(array\<string, string\>\) of method WC_Frontend_Scripts\:\:register_script\(\) is incompatible with type bool\.$#'
- identifier: parameter.defaultValue
+ message: '#^Method WC_Order_Factory\:\:get_order\(\) should return WC_Order\|false but returns object\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Method WC_Frontend_Scripts\:\:enqueue_block_assets\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-frontend-scripts.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Method WC_Frontend_Scripts\:\:enqueue_script\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-frontend-scripts.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Method WC_Frontend_Scripts\:\:enqueue_style\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Factory\:\:get_orders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Method WC_Frontend_Scripts\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @return contains unresolvable type\.$#'
+ identifier: return.unresolvableType
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Method WC_Frontend_Scripts\:\:load_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$id of method Automattic\\WooCommerce\\Caching\\ObjectCache\:\:get\(\) expects int\|string, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Method WC_Frontend_Scripts\:\:localize_printed_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order_id of static method WC_Order_Factory\:\:get_class_name_for_order_id\(\) expects int, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Method WC_Frontend_Scripts\:\:localize_script\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$id of method Automattic\\WooCommerce\\Caching\\ObjectCache\:\:set\(\) expects int\|string\|null, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-factory.php
-
- message: '#^Method WC_Frontend_Scripts\:\:register_script\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Coupon\:\:set_code\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-item-coupon.php
-
- message: '#^Method WC_Frontend_Scripts\:\:register_scripts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Coupon\:\:set_discount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-item-coupon.php
-
- message: '#^Method WC_Frontend_Scripts\:\:register_style\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Coupon\:\:set_discount_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-item-coupon.php
-
- message: '#^Method WC_Frontend_Scripts\:\:register_styles\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Coupon\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-item-coupon.php
-
- message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
- identifier: phpDoc.parseError
+ message: '#^Binary operation "\*" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-item-fee.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: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Parameter \#2 \$path of static method WC_Frontend_Scripts\:\:register_script\(\) expects string, false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Item_Fee\:\:set_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Property WC_Address_Provider\:\:\$branding_html \(string\) on left side of \?\? is not nullable\.$#'
- identifier: nullCoalesce.property
+ message: '#^Method WC_Order_Item_Fee\:\:set_tax_class\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-frontend-scripts.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Method WC_Geolite_Integration\:\:log\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Fee\:\:set_tax_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-geolite-integration.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Property WC_Geolite_Integration\:\:\$log \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_Order_Item_Fee\:\:set_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-geolite-integration.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^@param string \$geolocation does not accept actual type of parameter\: false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_Order_Item_Fee\:\:set_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-geolocation.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Method WC_Geolocation\:\:update_database\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Fee\:\:set_total_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-geolocation.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Parameter \#1 \$array_arg of function current expects array\|object, list\<string\>\|false given\.$#'
+ 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-geolocation.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Parameter \#1 \$ip of function rest_is_ip_address expects string, string\|null given\.$#'
+ 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-geolocation.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Variable \$transient_name might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-geolocation.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Method WC_HTTPS\:\:force_https_template_redirect\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-https.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Method WC_HTTPS\:\:http_api_curl\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-https.php
+ path: includes/class-wc-order-item-fee.php
-
- message: '#^Method WC_HTTPS\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/class-wc-https.php
+ path: includes/class-wc-order-item-meta.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 \#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: '#^Parameter \#1 \$ch of function curl_setopt expects resource, string given\.$#'
- identifier: argument.type
+ message: '#^Variable \$meta_list in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
count: 1
- path: includes/class-wc-https.php
+ path: includes/class-wc-order-item-meta.php
-
- message: '#^Call to function method_exists\(\) with WC_Settings_Page and ''get_settings'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Call to new WC_Notes_Run_Db_Update\(\) on a separate line has no effect\.$#'
- identifier: new.resultUnused
+ message: '#^Cannot call method backorders_require_notification\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Cannot access property \$download_link on array\|object\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/class-wc-install.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: '#^Class WC_Post_Types referenced with incorrect case\: WC_Post_types\.$#'
- identifier: class.nameCase
- count: 2
- path: includes/class-wc-install.php
+ message: '#^Cannot call method get_data\(\) on array\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:add_coming_soon_option\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_file\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:add_update_db_notice\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_stock_quantity\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:associate_plugin_file\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_tax_status\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:background_installer\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method has_file\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:check_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method is_downloadable\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:clear_cron_jobs\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method is_on_backorder\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:create_files\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:create_options\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_backorder_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:create_pages\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_product\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:create_placeholder_image\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_product_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:create_roles\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_quantity\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:create_terms\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_subtotal\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:delete_obsolete_notes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_subtotal_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:enable_customer_stock_notifications_signups\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_tax_class\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:enable_email_improvements_for_existing_merchants\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:enable_email_improvements_for_newly_installed\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:init\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_total_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:install\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_variation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:install_actions\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product\:\:set_variation_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:install_core\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-install.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: '#^Method WC_Install\:\:manual_database_update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:maybe_activate_legacy_api_enabled_option\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:maybe_create_pages\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-product.php
-
- message: '#^Method WC_Install\:\:maybe_enable_hpos\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Shipping\:\:set_instance_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:maybe_install_legacy_api_plugin\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Shipping\:\:set_method_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:maybe_set_activation_transients\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Shipping\:\:set_method_title\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:maybe_set_store_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Shipping\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:maybe_update_db_version\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Shipping\:\:set_shipping_rate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:migrate_options\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Shipping\:\:set_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:newly_installed\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Shipping\:\:set_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:remove_admin_notices\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Shipping\:\:set_total_tax\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:remove_mailchimps_redirect\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:remove_roles\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:remove_update_db_notice\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:run_manual_database_update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$price of static method WC_Tax\:\:calc_tax\(\) expects float, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:run_update_callback\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:run_update_callback_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-install.php
+ path: includes/class-wc-order-item-shipping.php
-
- message: '#^Method WC_Install\:\:run_update_callback_start\(\) has no return type specified\.$#'
+ 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: '#^Method WC_Order_Item_Tax\:\:set_compound\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-tax.php
-
- message: '#^Method WC_Install\:\:set_paypal_standard_load_eligibility\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Tax\:\:set_label\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-tax.php
-
- message: '#^Method WC_Install\:\:setup_environment\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Tax\:\:set_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-tax.php
-
- message: '#^Method WC_Install\:\:theme_background_installer\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Tax\:\:set_rate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-tax.php
-
- message: '#^Method WC_Install\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Tax\:\:set_rate_code\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-tax.php
-
- message: '#^Method WC_Install\:\:update_db_version\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Tax\:\:set_rate_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-tax.php
-
- message: '#^Method WC_Install\:\:update_wc_version\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Tax\:\:set_rate_percent\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-tax.php
-
- message: '#^Method WC_Install\:\:wc_admin_db_update_notice\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Tax\:\:set_shipping_tax_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-tax.php
-
- message: '#^Parameter \#1 \$post of function wp_attachment_is_image expects int\|WP_Post\|null, float\|int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Item_Tax\:\:set_tax_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item-tax.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: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-order-item.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: '#^Access to an undefined property object\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-order-item.php
-
- message: '#^Parameter \#5 \$post_parent of function wc_create_page expects int, int\|string given\.$#'
- identifier: argument.type
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-install.php
+ path: includes/class-wc-order-item.php
-
- message: '#^Access to an undefined property object\:\:\$id\.$#'
- identifier: property.notFound
+ message: '#^Argument of an invalid type array\<WC_Meta_Data\>\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/class-wc-integrations.php
+ path: includes/class-wc-order-item.php
-
- message: '#^Method WC_Logger\:\:alert\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method \$this\(WC_Order_Item\)\:\:set_taxes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order-item.php
-
- message: '#^Method WC_Logger\:\:critical\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order-item.php
-
- message: '#^Method WC_Logger\:\:debug\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ 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-logger.php
+ path: includes/class-wc-order-item.php
-
- message: '#^Method WC_Logger\:\:emergency\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item\:\:apply_changes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order-item.php
-
- message: '#^Method WC_Logger\:\:error\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item\:\:get_order\(\) should return WC_Order but returns WC_Order\|WC_Order_Refund\|false\.$#'
+ 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-logger.php
+ path: includes/class-wc-order-item.php
-
- message: '#^Method WC_Logger\:\:info\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item\:\:set_order_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order-item.php
-
- message: '#^Method WC_Logger\:\:notice\(\) has no return type specified\.$#'
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<WC_Meta_Data\>\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ 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_post_title\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order-refund.php
-
- message: '#^Method WC_Logger\:\:warning\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Refund\:\:set_amount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order-refund.php
-
- message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_Order_Refund\:\:set_reason\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order-refund.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
+ message: '#^Method WC_Order_Refund\:\:set_refunded_by\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order-refund.php
-
- message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:get_level_severity\(\) expects string, int\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Refund\:\:set_refunded_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order-refund.php
-
- message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:is_valid_level\(\) expects string, int given\.$#'
- identifier: argument.type
+ message: '#^@param int \$order_note_id does not accept actual type of parameter\: int\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order.php
-
- message: '#^Property WC_Logger\:\:\$threshold \(int\) does not accept string\.$#'
- identifier: assign.propertyType
+ 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\|WP_Comment\>\|int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/class-wc-logger.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Meta_Data\:\:apply_changes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Binary operation "\-" between float and non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/class-wc-meta-data.php
+ path: includes/class-wc-order.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_order_item_type\(\)\.$#'
- identifier: method.notFound
+ message: '#^Binary operation "\-" between float and string results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_order_type\(\)\.$#'
- identifier: method.notFound
+ message: '#^Binary operation "\-" between int\|string and string results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_orders_type\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_item_downloads\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Call to an undefined method object\:\:get_data_store\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
identifier: method.notFound
- count: 1
- path: includes/class-wc-order-factory.php
+ count: 3
+ path: includes/class-wc-order.php
-
- message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_id\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/class-wc-order-factory.php
+ count: 1
+ path: includes/class-wc-order.php
-
- message: '#^Call to an undefined method object\:\:set_defaults\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_shipping_tax_total\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Call to an undefined method object\:\:set_id\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_tax_total\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot access offset ''class_name'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method get_id\(\) on array\|object\.$#'
- identifier: method.nonObject
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Factory\:\:get_order\(\) should return WC_Order\|false but returns array\|object\|false\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:get_total_refunded\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Factory\:\:get_order\(\) should return WC_Order\|false but returns object\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:get_total_shipping_refunded\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Factory\:\:get_order_id\(\) should return bool\|int but returns float\|int\|string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:get_total_tax_refunded\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Factory\:\:get_order_item\(\) should return WC_Order_Item\|false but returns object\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:untrash_order\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Factory\:\:get_orders\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset ''manual'' on bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^PHPDoc tag @return contains unresolvable type\.$#'
- identifier: return.unresolvableType
+ message: '#^Cannot access offset ''note'' on bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$id of method Automattic\\WooCommerce\\Caching\\ObjectCache\:\:get\(\) expects int\|string, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
- identifier: argument.type
+ message: '#^Cannot access offset ''note'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$order_id of static method WC_Order_Factory\:\:get_class_name_for_order_id\(\) expects int, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
- identifier: argument.type
+ message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#2 \$id of method Automattic\\WooCommerce\\Caching\\ObjectCache\:\:set\(\) expects int\|string\|null, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
- identifier: argument.type
+ message: '#^Cannot access property \$comment_ID on int\|WP_Comment\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-order-factory.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Coupon\:\:set_code\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-item-coupon.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Coupon\:\:set_discount\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-order-item-coupon.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Coupon\:\:set_discount_tax\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Expected 3 @param tags, found 2\.$#'
+ identifier: paramTag.count
count: 1
- path: includes/class-wc-order-item-coupon.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Coupon\:\:set_name\(\) has no return type specified\.$#'
+ 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-item-coupon.php
+ path: includes/class-wc-order.php
-
- message: '#^Binary operation "\*" between string and float results in an error\.$#'
- identifier: binaryOp.invalid
+ 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-item-fee.php
+ path: includes/class-wc-order.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: '#^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_Item_Fee\:\:set_amount\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:handle_exception\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-fee.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Fee\:\:set_tax_class\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:maybe_set_date_completed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-fee.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Fee\:\:set_tax_status\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:maybe_set_date_paid\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-fee.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Fee\:\:set_taxes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:maybe_set_user_billing_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-fee.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Fee\:\:set_total\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_address_prop\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-fee.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Fee\:\:set_total_tax\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_billing_address_1\(\) 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
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\)\: mixed\)\|null, ''wc_round_tax_total'' given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order\:\:set_billing_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-fee.php
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order\:\:set_billing_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-fee.php
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$raw_tax_data of method WC_Order_Item_Fee\:\:set_taxes\(\) expects array, false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order\:\:set_billing_company\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-fee.php
+ path: includes/class-wc-order.php
-
- message: '#^Property WC_Order_Item_Fee\:\:\$legacy_fee \(object\) does not accept default value of type string\.$#'
- identifier: property.defaultValue
+ message: '#^Method WC_Order\:\:set_billing_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-fee.php
+ path: includes/class-wc-order.php
-
- message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Method WC_Order\:\:set_billing_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-wc-order.php
-
- message: '#^Variable \$meta_list in empty\(\) always exists and is not falsy\.$#'
- identifier: empty.variable
+ message: '#^Method WC_Order\:\:set_billing_first_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-meta.php
+ path: includes/class-wc-order.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Order\:\:set_billing_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method backorders_require_notification\(\) on WC_Product\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Order\:\:set_billing_phone\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method get_cogs_total_value\(\) on WC_Product\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Order\:\:set_billing_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method get_data\(\) on array\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Order\:\:set_billing_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method get_file\(\) on WC_Product\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Order\:\:set_cart_hash\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method get_stock_quantity\(\) on WC_Product\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Order\:\:set_created_via\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method get_tax_status\(\) on WC_Product\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Order\:\:set_customer_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method has_file\(\) on WC_Product\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Order\:\:set_customer_ip_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method is_downloadable\(\) on WC_Product\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Order\:\:set_customer_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Cannot call method is_on_backorder\(\) on WC_Product\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Order\:\:set_customer_user_agent\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:get_item_downloads\(\) should return array but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Method WC_Order\:\:set_date_completed\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_backorder_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_date_paid\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_product\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_order_key\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_product_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_payment_method\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_quantity\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_payment_method_title\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_subtotal\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_shipping_address_1\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_subtotal_tax\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_shipping_address_2\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_tax_class\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_shipping_city\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_taxes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_shipping_company\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_total\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_shipping_country\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_total_tax\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_shipping_first_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_variation\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_shipping_last_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Product\:\:set_variation_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order\:\:set_shipping_phone\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.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: '#^Method WC_Order\:\:set_shipping_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order\:\:set_shipping_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_subtotal\(\) expects string, int\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order\:\:set_transaction_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.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: '#^Method WC_Order\:\:status_transition\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_total_tax\(\) expects string, float given\.$#'
- identifier: argument.type
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
count: 2
- path: includes/class-wc-order-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int given\.$#'
- identifier: argument.type
+ 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-item-product.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Shipping\:\:set_instance_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-item-shipping.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Shipping\:\:set_method_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-item-shipping.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Shipping\:\:set_method_title\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-item-shipping.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Shipping\:\:set_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-item-shipping.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Shipping\:\:set_shipping_rate\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-item-shipping.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Shipping\:\:set_taxes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-item-shipping.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Shipping\:\:set_total\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-order-item-shipping.php
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Shipping\:\:set_total_tax\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-item-shipping.php
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\)\: mixed\)\|null, ''wc_round_tax_total'' given\.$#'
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-order-item-shipping.php
+ path: includes/class-wc-order.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\.$#'
+ 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-item-shipping.php
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$price of static method WC_Tax\:\:calc_tax\(\) expects float, string given\.$#'
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-order-item-shipping.php
+ count: 5
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$raw_tax_data of method WC_Order_Item_Shipping\:\:set_taxes\(\) expects array, false given\.$#'
+ message: '#^Parameter \#2 \$transition of method WC_Order\:\:add_status_transition_note\(\) expects bool, array given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-order-item-shipping.php
+ count: 2
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$value of method WC_Order_Item_Shipping\:\:set_instance_id\(\) expects string, int given\.$#'
+ message: '#^Parameter \#2 \$value of function wc_get_endpoint_url expects string, int given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-order-item-shipping.php
+ count: 3
+ path: includes/class-wc-order.php
-
- message: '#^Parameter \#1 \$value of method WC_Order_Item_Shipping\:\:set_total_tax\(\) expects string, float given\.$#'
+ 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-item-shipping.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
+ path: includes/class-wc-order.php
-
- message: '#^Method WC_Order_Item_Tax\:\:set_label\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
count: 1
- path: includes/class-wc-order-item-tax.php
+ path: includes/class-wc-payment-gateways.php
-
- message: '#^Method WC_Order_Item_Tax\:\:set_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_current\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-order-item-tax.php
+ path: includes/class-wc-payment-gateways.php
-
- message: '#^Method WC_Order_Item_Tax\:\:set_rate\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Gateways\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-tax.php
+ path: includes/class-wc-payment-gateways.php
-
- message: '#^Method WC_Order_Item_Tax\:\:set_rate_code\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Gateways\:\:on_payment_gateways_initialized\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-tax.php
+ path: includes/class-wc-payment-gateways.php
-
- message: '#^Method WC_Order_Item_Tax\:\:set_rate_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Gateways\:\:payment_gateway_settings_option_changed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-tax.php
+ path: includes/class-wc-payment-gateways.php
-
- message: '#^Method WC_Order_Item_Tax\:\:set_rate_percent\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Gateways\:\:process_admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-tax.php
+ path: includes/class-wc-payment-gateways.php
-
- message: '#^Method WC_Order_Item_Tax\:\:set_shipping_tax_total\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Gateways\:\:set_current_gateway\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item-tax.php
+ path: includes/class-wc-payment-gateways.php
-
- message: '#^Method WC_Order_Item_Tax\:\:set_tax_total\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-order-item-tax.php
+ path: includes/class-wc-payment-gateways.php
-
- message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
+ identifier: method.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
+ path: includes/class-wc-payment-tokens.php
-
- message: '#^Access to an undefined property object\:\:\$value\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_token_by_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-item.php
+ path: includes/class-wc-payment-tokens.php
-
- message: '#^Argument of an invalid type array\<WC_Meta_Data\>\|null supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_token_type_by_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-item.php
+ path: includes/class-wc-payment-tokens.php
-
- message: '#^Call to an undefined method \$this\(WC_Order_Item\)\:\:set_taxes\(\)\.$#'
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_tokens\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-order-item.php
+ path: includes/class-wc-payment-tokens.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_users_default_token\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-order-item.php
+ path: includes/class-wc-payment-tokens.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:set_taxes\(\)\.$#'
+ message: '#^Call to an undefined method WC_Data_Store\:\:set_default_status\(\)\.$#'
identifier: method.notFound
count: 2
- path: includes/class-wc-order-item.php
+ path: includes/class-wc-payment-tokens.php
-
- message: '#^Class WC_Order_Item implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-item.php
+ path: includes/class-wc-payment-tokens.php
-
- message: '#^Method WC_Order_Item\:\:apply_changes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Tokens\:\:delete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item.php
+ path: includes/class-wc-payment-tokens.php
-
- message: '#^Method WC_Order_Item\:\:get_order\(\) should return WC_Order but returns WC_Order\|WC_Order_Refund\|false\.$#'
+ message: '#^Method WC_Payment_Tokens\:\:get\(\) should return WC_Payment_Token\|null but returns object\.$#'
identifier: return.type
count: 1
- path: includes/class-wc-order-item.php
+ path: includes/class-wc-payment-tokens.php
-
- message: '#^Method WC_Order_Item\:\:set_name\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Tokens\:\:set_users_default\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order-item.php
+ path: includes/class-wc-payment-tokens.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: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-post-data.php
-
- message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<WC_Meta_Data\>\|null given\.$#'
- identifier: argument.type
- count: 3
- path: includes/class-wc-order-item.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\:\:query\(\)\.$#'
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_order_id\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-order-query.php
+ path: includes/class-wc-post-data.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: '#^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: '#^Method WC_Order_Refund\:\:set_amount\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-order-refund.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: '#^Method WC_Order_Refund\:\:set_reason\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_attribute_summary\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-refund.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order_Refund\:\:set_refunded_by\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:untrash_variations\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order-refund.php
+ path: includes/class-wc-post-data.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: '#^Cannot access property \$slug on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/class-wc-post-data.php
-
- message: '#^@param int \$order_note_id does not accept actual type of parameter\: int\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Cannot access property \$taxonomy on WP_Term\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.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: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-post-data.php
-
- message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Expected 4 @param tags, found 3\.$#'
+ identifier: paramTag.count
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Binary operation "\-" between float and non\-falsy\-string results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Method WC_Post_Data\:\:before_delete_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Binary operation "\-" between float and string results in an error\.$#'
- identifier: binaryOp.invalid
+ 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-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Binary operation "\-" between int\|string and string results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Method WC_Post_Data\:\:deferred_product_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_item_downloads\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Post_Data\:\:delete_order_downloadable_permissions\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
- identifier: method.notFound
- count: 3
- path: includes/class-wc-order.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: '#^Call to an undefined method WC_Order_Item\:\:get_rate_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Post_Data\:\:delete_post\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_shipping_tax_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Post_Data\:\:delete_post_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_tax_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Post_Data\:\:delete_product_query_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.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
+ message: '#^Method WC_Post_Data\:\:do_deferred_product_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Call to an undefined method object\:\:get_total_refunded\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Post_Data\:\:edit_term\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Call to an undefined method object\:\:get_total_shipping_refunded\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Post_Data\:\:edited_term\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Call to an undefined method object\:\:get_total_tax_refunded\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Post_Data\:\:flush_object_meta_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Call to an undefined method object\:\:untrash_order\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Post_Data\:\:force_default_term\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Cannot access offset ''manual'' on bool\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Post_Data\:\:handle_attribute_term_deleted\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Cannot access offset ''note'' on bool\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Post_Data\:\:handle_attribute_term_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Cannot access offset ''note'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Post_Data\:\:handle_global_attribute_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Post_Data\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Cannot access property \$comment_ID on int\|WP_Comment\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Post_Data\:\:on_product_attributes_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-wc-post-data.php
-
- message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Post_Data\:\:process_product_file_download_paths\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Post_Data\:\:product_type_changed\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Expected 3 @param tags, found 2\.$#'
- identifier: paramTag.count
+ 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-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:add_order_item_totals_payment_method_row\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Data\:\:regenerate_attribute_variation_summaries\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:add_order_item_totals_refund_rows\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Data\:\:regenerate_product_variation_summaries\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:add_order_note\(\) should return int but returns int\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Post_Data\:\:regenerate_term_variation_summaries\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:handle_exception\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Data\:\:regenerate_variation_attribute_summary\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:maybe_set_date_completed\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Data\:\:regenerate_variation_summaries\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:maybe_set_date_paid\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Data\:\:set_object_terms\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:maybe_set_user_billing_email\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Data\:\:sync_product_stock_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:set_address_prop\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Data\:\:transition_post_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:set_billing_address_1\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Data\:\:trash_post\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:set_billing_address_2\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Data\:\:untrash_post\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:set_billing_city\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset ''attribute_name'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:set_billing_company\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:set_billing_country\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:set_billing_email\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WP_Post\:\:\$ID \(int\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:set_billing_first_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WP_Post\:\:\$post_type \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.php
-
- message: '#^Method WC_Order\:\:set_billing_last_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Static property WC_Post_Data\:\:\$editing_term \(object\) does not accept WP_Term\|false\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-data.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: '#^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: '#^Method WC_Order\:\:set_billing_postcode\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Class WC_Post_Types referenced with incorrect case\: WC_Post_types\.$#'
+ identifier: class.nameCase
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_billing_state\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Types\:\:flush_rewrite_rules\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_cart_hash\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Types\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_created_via\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Types\:\:maybe_flush_rewrite_rules\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_customer_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Types\:\:register_post_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_customer_ip_address\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Types\:\:register_post_types\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_customer_note\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Types\:\:register_taxonomies\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_customer_user_agent\(\) has no return type specified\.$#'
+ message: '#^Method WC_Post_Types\:\:support_jetpack_omnisearch\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_date_completed\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Post_Types\:\:updated_term_messages\(\) should return bool but returns array\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_date_paid\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$str of function urldecode expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-post-types.php
-
- message: '#^Method WC_Order\:\:set_order_key\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Privacy_Background_Process\:\:task\(\) should return bool but returns string\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-background-process.php
-
- message: '#^Method WC_Order\:\:set_payment_method\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset ''task'' does not exist on non\-falsy\-string\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-background-process.php
-
- message: '#^Method WC_Order\:\:set_payment_method_title\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_user_email\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-erasers.php
-
- message: '#^Method WC_Order\:\:set_shipping_address_1\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_user_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-erasers.php
-
- message: '#^Method WC_Order\:\:set_shipping_address_2\(\) has no return type specified\.$#'
+ message: '#^Method WC_Privacy_Erasers\:\:remove_order_personal_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-erasers.php
-
- message: '#^Method WC_Order\:\:set_shipping_city\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-erasers.php
-
- message: '#^Method WC_Order\:\:set_shipping_company\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-erasers.php
-
- message: '#^Method WC_Order\:\:set_shipping_country\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Customer\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.php
-
- message: '#^Method WC_Order\:\:set_shipping_first_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_download_logs_for_permission\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.php
-
- message: '#^Method WC_Order\:\:set_shipping_last_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.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: '#^Call to an undefined method WC_Order\:\:get_access_expires\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-privacy-exporters.php
-
- message: '#^Method WC_Order\:\:set_shipping_postcode\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\:\:get_access_granted\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.php
-
- message: '#^Method WC_Order\:\:set_shipping_state\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\:\:get_download_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.php
-
- message: '#^Method WC_Order\:\:set_transaction_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\:\:get_downloads_remaining\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.php
-
- message: '#^Method WC_Order\:\:status_transition\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\:\:get_order_id\(\)\.$#'
+ identifier: method.notFound
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
+ path: includes/class-wc-privacy-exporters.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
+ message: '#^Call to an undefined method WC_Order\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.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
+ message: '#^Call to an undefined method WC_Order\:\:get_user_email\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.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
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.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
+ 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-order.php
+ path: includes/class-wc-privacy-exporters.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
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy-exporters.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: '#^Argument of an invalid type array\<WC_Order\>\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/class-wc-privacy.php
-
- message: '#^Parameter \#1 \$comment_id of function add_comment_meta expects int, int\|false given\.$#'
- identifier: argument.type
+ message: '#^Expected 1 @param tags, found 4\.$#'
+ identifier: paramTag.count
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy.php
-
- message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
- identifier: argument.type
+ 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-order.php
+ path: includes/class-wc-privacy.php
-
- message: '#^Parameter \#1 \$comment_id of function update_comment_meta expects int, int\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Privacy\:\:queue_cleanup_personal_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy.php
-
- message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Privacy\:\:register_erasers_exporters\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-order.php
+ path: includes/class-wc-privacy.php
-
- message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, bool\|float\|int\|string given\.$#'
+ 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-order.php
+ path: includes/class-wc-privacy.php
-
- message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ message: '#^Parameter \#1 \$timestamp of static method WC_Privacy\:\:delete_inactive_accounts_query\(\) expects int, int\|false given\.$#'
identifier: argument.type
- count: 5
- path: includes/class-wc-order.php
+ count: 1
+ path: includes/class-wc-privacy.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: '#^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: '#^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: '#^Method WC_Product_Attribute\:\:set_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-attribute.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: '#^Method WC_Product_Attribute\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-attribute.php
-
- message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
- identifier: staticMethod.notFound
+ message: '#^Method WC_Product_Attribute\:\:set_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-payment-gateways.php
+ path: includes/class-wc-product-attribute.php
-
- message: '#^Cannot call method set_current\(\) on class\-string\|object\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Product_Attribute\:\:set_position\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-payment-gateways.php
+ path: includes/class-wc-product-attribute.php
-
- message: '#^Method WC_Payment_Gateways\:\:init\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Attribute\:\:set_variation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-payment-gateways.php
+ path: includes/class-wc-product-attribute.php
-
- message: '#^Method WC_Payment_Gateways\:\:on_payment_gateways_initialized\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Attribute\:\:set_visible\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-payment-gateways.php
+ path: includes/class-wc-product-attribute.php
-
- message: '#^Method WC_Payment_Gateways\:\:payment_gateway_settings_option_changed\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-payment-gateways.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Method WC_Payment_Gateways\:\:process_admin_options\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Download\:\:approved_directory_checks\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-payment-gateways.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Method WC_Payment_Gateways\:\:set_current_gateway\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Download\:\:check_is_valid\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-payment-gateways.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: \(non\-falsy\-string\|false\) given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_Download\:\:get_file_type\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-payment-gateways.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_Download\:\:set_enabled\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-payment-tokens.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_token_by_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_Download\:\:set_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-payment-tokens.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_token_type_by_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_Download\:\:set_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-payment-tokens.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_tokens\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_Download\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-payment-tokens.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_users_default_token\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_Download\:\:set_previous_hash\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-payment-tokens.php
+ path: includes/class-wc-product-download.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: '#^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: '#^Call to an undefined method object\:\:delete\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$filename of function wp_check_filetype expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-payment-tokens.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Method WC_Payment_Tokens\:\:delete\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$path of function pathinfo expects string, string\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-payment-tokens.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Method WC_Payment_Tokens\:\:get\(\) should return WC_Payment_Token\|null but returns object\.$#'
- identifier: return.type
+ 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-payment-tokens.php
+ path: includes/class-wc-product-download.php
-
- message: '#^Method WC_Payment_Tokens\:\:set_users_default\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_External\:\:set_backorders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-payment-tokens.php
+ path: includes/class-wc-product-external.php
-
- message: '#^Access to an undefined property object\:\:\$slug\.$#'
- identifier: property.notFound
- count: 3
- path: includes/class-wc-post-data.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: '#^Access to an undefined property object\:\:\$taxonomy\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Product_External\:\:set_manage_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-external.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_order_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_External\:\:set_product_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-external.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: '#^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: '#^Call to an undefined method WC_Data_Store\:\:delete_variations\(\)\.$#'
- identifier: method.notFound
- count: 3
- path: includes/class-wc-post-data.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_attribute_summary\(\)\.$#'
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_product_type\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-factory.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:untrash_variations\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_Factory\:\:get_product\(\) should return bool\|WC_Product but returns object\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-factory.php
-
- message: '#^Cannot access property \$slug on WP_Term\|false\.$#'
- identifier: property.nonObject
- count: 3
- path: includes/class-wc-post-data.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: '#^Cannot access property \$taxonomy on WP_Term\|false\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Data_Store\:\:sync_price\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ message: '#^Cannot call method get_price\(\) on WC_Product\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Expected 4 @param tags, found 3\.$#'
- identifier: paramTag.count
+ message: '#^Cannot call method has_child\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:before_delete_order\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method is_on_sale\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:clear_global_unique_id_if_necessary\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method is_purchasable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:deferred_product_sync\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Grouped\:\:set_children\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:delete_order_downloadable_permissions\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-post-data.php
+ path: includes/class-wc-product-grouped.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: '#^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: '#^Method WC_Post_Data\:\:delete_post\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$from of function wc_format_price_range expects string, float\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:delete_post_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:delete_product_query_transients\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:do_deferred_product_sync\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$price of function wc_price expects float, float\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:edit_term\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:edited_term\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-post-data.php
+ path: includes/class-wc-product-grouped.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: '#^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: '#^Method WC_Post_Data\:\:force_default_term\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$to of function wc_format_price_range expects string, float\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-grouped.php
-
- message: '#^Method WC_Post_Data\:\:handle_attribute_term_deleted\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:query\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-query.php
-
- message: '#^Method WC_Post_Data\:\:handle_attribute_term_updated\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-simple.php
-
- message: '#^Method WC_Post_Data\:\:handle_global_attribute_updated\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-post-data.php
+ path: includes/class-wc-product-simple.php
-
- message: '#^Method WC_Post_Data\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param WC_Product_Variation \$variation does not accept actual type of parameter\: WC_Product\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:on_product_attributes_updated\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:sync_price\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.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: '#^Call to an undefined method WC_Data_Store\:\:sync_stock_status\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:product_type_changed\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:variation_is_visible\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:recount_terms_for_product_visibility_change\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:child_has_dimensions\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:regenerate_attribute_variation_summaries\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:child_has_stock_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:regenerate_product_variation_summaries\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:child_has_weight\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:regenerate_term_variation_summaries\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:child_is_in_stock\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.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: '#^Call to an undefined method object\:\:read_children\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:regenerate_variation_summaries\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:read_price_data\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:set_object_terms\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:read_variation_attributes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:sync_product_stock_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:sync_managed_variation_stock_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:transition_post_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:sync_stock_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:trash_post\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:sync_variation_names\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Data\:\:untrash_post\(\) has no return type specified\.$#'
+ 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: '#^Method WC_Product_Variable\:\:after_data_store_save_or_update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Offset ''attribute_name'' does not exist on string\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Method WC_Product_Variable\:\:get_available_variations\(\) should return array\<array\|WC_Product_Variation\> but returns list\<array\|bool\|WC_Product\>\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.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
+ message: '#^Method WC_Product_Variable\:\:set_children\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Parameter \#1 \$post_id of function wc_delete_product_transients expects int, int\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_Variable\:\:set_variation_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Property WP_Post\:\:\$ID \(int\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
+ message: '#^Method WC_Product_Variable\:\:set_visible_children\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Property WP_Post\:\:\$post_type \(string\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
+ 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-post-data.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Static property WC_Post_Data\:\:\$editing_term \(object\) does not accept WP_Term\|false\.$#'
- identifier: assign.propertyType
+ 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-post-data.php
+ path: includes/class-wc-product-variable.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: '#^Method WC_Product_Variable\:\:validate_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-variable.php
-
- message: '#^Class WC_Post_Types referenced with incorrect case\: WC_Post_types\.$#'
- identifier: class.nameCase
+ 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-post-types.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Types\:\:flush_rewrite_rules\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-post-types.php
+ path: includes/class-wc-product-variable.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: '#^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: '#^Method WC_Post_Types\:\:maybe_flush_rewrite_rules\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-post-types.php
+ path: includes/class-wc-product-variable.php
-
- message: '#^Method WC_Post_Types\:\:register_post_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Product_Variation\:\:get_permalink\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-post-types.php
+ path: includes/class-wc-product-variation.php
-
- message: '#^Method WC_Post_Types\:\:register_post_types\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variation\:\:set_attribute_summary\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-post-types.php
+ path: includes/class-wc-product-variation.php
-
- message: '#^Method WC_Post_Types\:\:register_taxonomies\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variation\:\:set_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-post-types.php
+ path: includes/class-wc-product-variation.php
-
- message: '#^Method WC_Post_Types\:\:support_jetpack_omnisearch\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variation\:\:set_parent_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-post-types.php
+ path: includes/class-wc-product-variation.php
-
- message: '#^Method WC_Post_Types\:\:updated_term_messages\(\) should return bool but returns array\.$#'
- identifier: return.type
+ message: '#^Parameter \#1 \$arr1 of function array_intersect_key expects array, array\<string, mixed\>\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-post-types.php
+ path: includes/class-wc-product-variation.php
-
- message: '#^Parameter \#1 \$str of function urldecode expects string, string\|false given\.$#'
+ 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-post-types.php
+ path: includes/class-wc-product-variation.php
-
- message: '#^Method WC_Privacy_Background_Process\:\:task\(\) should return bool but returns string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_number\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-privacy-background-process.php
+ path: includes/class-wc-query.php
-
- message: '#^Offset ''task'' does not exist on non\-falsy\-string\.$#'
- identifier: offsetAccess.notFound
+ 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-privacy-background-process.php
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_user_email\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot access property \$post_title on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-privacy-erasers.php
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_user_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot access property \$post_type on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ 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-privacy-erasers.php
+ path: includes/class-wc-query.php
-
- message: '#^Method WC_Privacy_Erasers\:\:remove_order_personal_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Query\:\:add_endpoints\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-erasers.php
+ path: includes/class-wc-query.php
-
- message: '#^Negated boolean expression is always false\.$#'
- identifier: booleanNot.alwaysFalse
+ message: '#^Method WC_Query\:\:get_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-erasers.php
+ path: includes/class-wc-query.php
-
- message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Query\:\:get_main_search_query_sql\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-erasers.php
+ path: includes/class-wc-query.php
-
- message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Customer\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_Query\:\:get_products_in_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_download_logs_for_permission\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Query\:\:init_query_vars\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Query\:\:layered_nav_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.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: '#^Method WC_Query\:\:layered_nav_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Order\:\:get_access_granted\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Query\:\:parse_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Order\:\:get_download_count\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Query\:\:pre_get_posts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Order\:\:get_downloads_remaining\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Query\:\:product_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Order\:\:get_order_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Query\:\:remove_ordering_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Order\:\:get_product_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Query\:\:remove_posts_where\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Call to an undefined method WC_Order\:\:get_user_email\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Query\:\:remove_product_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Negated boolean expression is always false\.$#'
- identifier: booleanNot.alwaysFalse
+ message: '#^Method WC_Query\:\:reset_chosen_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Query\:\:search_post_excerpt\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-privacy-exporters.php
+ path: includes/class-wc-query.php
-
- message: '#^Argument of an invalid type array\<WC_Order\>\|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
+ message: '#^Static property WC_Query\:\:\$chosen_attributes \(array\) does not accept null\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-privacy.php
+ path: includes/class-wc-query.php
-
- message: '#^Method WC_Privacy\:\:anonymize_custom_data_types\(\) should return string but returns int\|string\|null\.$#'
- identifier: return.type
+ message: '#^Variable \$product_visibility_not_in in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
count: 1
- path: includes/class-wc-privacy.php
+ path: includes/class-wc-query.php
-
- message: '#^Method WC_Privacy\:\:queue_cleanup_personal_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Rate_Limiter\:\:cleanup\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-privacy.php
+ path: includes/class-wc-rate-limiter.php
-
- message: '#^Method WC_Privacy\:\:register_erasers_exporters\(\) has no return type specified\.$#'
+ message: '#^Method WC_Rate_Limiter\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-privacy.php
+ path: includes/class-wc-rate-limiter.php
-
- message: '#^Parameter \#1 \$query of static method WC_Privacy\:\:anonymize_orders_query\(\) expects array, string given\.$#'
- identifier: argument.type
+ message: '#^Call to function method_exists\(\) with ''Imagick'' and ''setResourceLimit'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/class-wc-privacy.php
+ path: includes/class-wc-regenerate-images-request.php
-
- message: '#^Parameter \#1 \$timestamp of static method WC_Privacy\:\:delete_inactive_accounts_query\(\) expects int, int\|false given\.$#'
- identifier: argument.type
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/class-wc-privacy.php
+ path: includes/class-wc-regenerate-images-request.php
-
- message: '#^Class WC_Product_Attribute implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
- identifier: missingType.generics
+ 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-product-attribute.php
+ path: includes/class-wc-regenerate-images-request.php
-
- message: '#^Method WC_Product_Attribute\:\:set_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$imagefile of function getimagesize expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-product-attribute.php
+ path: includes/class-wc-regenerate-images-request.php
-
- message: '#^Method WC_Product_Attribute\:\:set_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$path of function pathinfo expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-product-attribute.php
+ path: includes/class-wc-regenerate-images-request.php
-
- message: '#^Method WC_Product_Attribute\:\:set_options\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$path of function wp_get_image_editor expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-product-attribute.php
+ path: includes/class-wc-regenerate-images-request.php
-
- message: '#^Method WC_Product_Attribute\:\:set_position\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-product-attribute.php
+ path: includes/class-wc-regenerate-images-request.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: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: includes/class-wc-regenerate-images.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: '#^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: '#^Class WC_Product_Download implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
- identifier: missingType.generics
+ 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\<int\|string, int\|string\>\|false\.$#'
+ identifier: offsetAccess.nonArray
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Method WC_Product_Download\:\:approved_directory_checks\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Method WC_Product_Download\:\:check_is_valid\(\) has no return type specified\.$#'
+ message: '#^Method WC_Regenerate_Images\:\:dismiss_regenerating_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Method WC_Product_Download\:\:get_file_type\(\) should return string but returns string\|false\.$#'
+ message: '#^Method WC_Regenerate_Images\:\:filter_image_get_intermediate_size\(\) should return array but returns array\<string, int\|string\>\|false\.$#'
identifier: return.type
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Method WC_Product_Download\:\:set_enabled\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Method WC_Product_Download\:\:set_file\(\) has no return type specified\.$#'
+ message: '#^Method WC_Regenerate_Images\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Method WC_Product_Download\:\:set_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Regenerate_Images\:\:maybe_resize_image\(\) should return array but returns string\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Method WC_Product_Download\:\:set_name\(\) has no return type specified\.$#'
+ message: '#^Method WC_Regenerate_Images\:\:regenerating_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Method WC_Product_Download\:\:set_previous_hash\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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\<int, mixed\>\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Parameter \#1 \$filename of function file_exists expects string, string\|false given\.$#'
- identifier: argument.type
+ 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-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Parameter \#1 \$filename of function wp_check_filetype expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Regenerate_Images\:\:unfiltered_image_downsize\(\) should return string but returns list\<bool\|int\|string\>\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Parameter \#1 \$path of function pathinfo expects string, string\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Parameter \#1 \$url of method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Register\:\:add_approved_directory\(\) expects string, string\|false given\.$#'
+ 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-product-download.php
+ path: includes/class-wc-regenerate-images.php
-
- message: '#^Method WC_Product_External\:\:set_backorders\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$description\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-product-external.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Method WC_Product_External\:\:set_button_text\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$form_fields\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-product-external.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Method WC_Product_External\:\:set_manage_stock\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-product-external.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Method WC_Product_External\:\:set_product_url\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$title\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-product-external.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Method WC_Product_External\:\:set_stock_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to protected property WC_Email\|WC_Settings_Page\:\:\$id\.$#'
+ identifier: property.protected
count: 1
- path: includes/class-wc-product-external.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^@param string \$classname does not accept actual type of parameter\: string\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Call to an undefined method WC_Email\|WC_Settings_Page\:\:get_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-product-factory.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_product_type\(\)\.$#'
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_id\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-product-factory.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Method WC_Product_Factory\:\:get_product\(\) should return bool\|WC_Product but returns object\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_label\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-product-factory.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Parameter \#2 \$product_type of static method WC_Product_Factory\:\:get_product_classname\(\) expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_option_key\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-product-factory.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:sync_price\(\)\.$#'
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_sections\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Cannot call method get_price\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_settings\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Cannot call method has_child\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ 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-product-grouped.php
+ path: includes/class-wc-register-wp-admin-settings.php
-
- message: '#^Cannot call method is_on_sale\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Cannot access offset ''oauth_consumer_key'' on non\-empty\-array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Cannot call method is_purchasable\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Cannot access offset ''oauth_nonce'' on non\-empty\-array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Method WC_Product_Grouped\:\:set_children\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset ''oauth_timestamp'' on non\-empty\-array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Method WC_Product_Grouped\:\:sync\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
- identifier: return.type
+ message: '#^Cannot access property \$consumer_secret on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.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
+ message: '#^Cannot access property \$user_id on array\.$#'
+ identifier: property.nonObject
count: 2
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Parameter \#1 \$from of function wc_format_price_range expects string, float\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot assign new offset to array\|string\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Authentication\:\:authenticate\(\) should return int\|false but returns bool\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Product given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Authentication\:\:authenticate\(\) should return int\|false but returns int\<min, \-1\>\|int\<1, max\>\|true\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Parameter \#1 \$price of function wc_price expects float, float\|string given\.$#'
- identifier: argument.type
+ 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-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Parameter \#1 \$product of function wc_get_price_excluding_tax expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Authentication\:\:get_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Parameter \#1 \$product of function wc_get_price_including_tax expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ 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-product-grouped.php
+ path: includes/class-wc-rest-authentication.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: '#^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: '#^Parameter \#2 \$to of function wc_format_price_range expects string, float\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Authentication\:\:set_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-product-grouped.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:query\(\)\.$#'
- identifier: method.notFound
+ 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-product-query.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ 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-product-simple.php
+ path: includes/class-wc-rest-authentication.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
+ message: '#^Parameter \#1 \$keys of function array_combine expects array, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-product-simple.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^@param WC_Product_Variation \$variation does not accept actual type of parameter\: WC_Product\.$#'
- identifier: parameter.phpDocType
+ 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 \$user of method WC_REST_Authentication\:\:check_oauth_signature\(\) expects stdClass, array given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:sync_price\(\)\.$#'
- identifier: method.notFound
+ 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-product-variable.php
+ path: includes/class-wc-rest-authentication.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: '#^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: '#^Call to an undefined method WC_Product\:\:variation_is_visible\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$path of function get_home_url expects string, string\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method object\:\:child_has_dimensions\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$pieces of function implode expects array, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method object\:\:child_has_stock_status\(\)\.$#'
- identifier: method.notFound
+ 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-product-variable.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method object\:\:child_has_weight\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$values of function array_combine expects array, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method object\:\:child_is_in_stock\(\)\.$#'
- identifier: method.notFound
+ message: '#^Property WC_REST_Authentication\:\:\$error \(WP_Error\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method object\:\:read_children\(\)\.$#'
- identifier: method.notFound
+ message: '#^Property WC_REST_Authentication\:\:\$user \(stdClass\) does not accept array\.$#'
+ identifier: assign.propertyType
count: 2
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method object\:\:read_price_data\(\)\.$#'
- identifier: method.notFound
+ message: '#^Property WC_REST_Authentication\:\:\$user \(stdClass\) does not accept null\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method object\:\:read_variation_attributes\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/class-wc-product-variable.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: '#^Call to an undefined method object\:\:sync_managed_variation_stock_status\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/class-wc-product-variable.php
+ message: '#^Result of && is always false\.$#'
+ identifier: booleanAnd.alwaysFalse
+ count: 3
+ path: includes/class-wc-rest-authentication.php
-
- message: '#^Call to an undefined method object\:\:sync_stock_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^@param string \$guest_session_id does not accept actual type of parameter\: string\|null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Call to an undefined method object\:\:sync_variation_names\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/class-wc-product-variable.php
+ message: '#^Cannot access offset 0 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/class-wc-session-handler.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 1 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variable\:\:after_data_store_save_or_update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset 2 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variable\:\:get_available_variations\(\) should return array\<array\|WC_Product_Variation\> but returns list\<array\|bool\|WC_Product\>\.$#'
- identifier: return.type
+ message: '#^Constant COOKIEHASH not found\.$#'
+ identifier: constant.notFound
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variable\:\:set_children\(\) has no return type specified\.$#'
+ message: '#^Method WC_Session_Handler\:\:cleanup_sessions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variable\:\:set_variation_attributes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Session_Handler\:\:clone_session_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variable\:\:set_visible_children\(\) has no return type specified\.$#'
+ message: '#^Method WC_Session_Handler\:\:delete_session\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variable\:\:sync\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
- identifier: return.type
+ message: '#^Method WC_Session_Handler\:\:destroy_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variable\:\:sync_stock_status\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
- identifier: return.type
+ message: '#^Method WC_Session_Handler\:\:forget_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variable\:\:validate_props\(\) has no return type specified\.$#'
+ message: '#^Method WC_Session_Handler\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Parameter \#1 \$attachment_id of function wc_get_product_attachment_props expects int\|null, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Session_Handler\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Session_Handler\:\:init_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-wc-session-handler.php
-
- message: '#^Parameter \#1 \$weight of function wc_format_weight expects float, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Session_Handler\:\:init_session_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-product-variable.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variation\:\:get_permalink\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Session_Handler\:\:maybe_set_customer_session_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-product-variation.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variation\:\:set_attribute_summary\(\) has no return type specified\.$#'
+ 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-product-variation.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variation\:\:set_attributes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Session_Handler\:\:restore_session_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-product-variation.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Product_Variation\:\:set_parent_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Session_Handler\:\:save_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-product-variation.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Parameter \#1 \$arr1 of function array_intersect_key expects array, array\<string, mixed\>\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Session_Handler\:\:set_customer_session_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-product-variation.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Parameter \#1 \$product of method WC_Product_Simple\:\:__construct\(\) expects int\|WC_Product, int\|object given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Session_Handler\:\:set_session_expiration\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-product-variation.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_number\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Session_Handler\:\:update_session_timestamp\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-session-handler.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: '#^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: '#^Cannot access property \$ID on WP_Post\|null\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/class-wc-query.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: '#^Cannot access property \$post_name on WP_Post\|null\.$#'
- identifier: property.nonObject
+ 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-query.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Cannot access property \$post_title on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Cannot access property \$post_type on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
count: 2
- path: includes/class-wc-query.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
- identifier: arguments.count
+ message: '#^Property WC_Session_Handler\:\:\$_session_expiring \(int\) does not accept float\|int\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-session-handler.php
-
- message: '#^Method WC_Query\:\:add_endpoints\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-query.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_Query\:\:get_errors\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:add_meta_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:get_main_search_query_sql\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Shipping_Rate\:\:get_shipping_tax\(\) should return float but returns array\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:get_products_in_view\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:set_cost\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:init_query_vars\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:set_delivery_time\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:layered_nav_init\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:set_description\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:layered_nav_query\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:set_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:parse_request\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:set_instance_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:pre_get_posts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:set_label\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:product_query\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:set_method_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:remove_ordering_args\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:set_tax_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:remove_posts_where\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Rate\:\:set_taxes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:remove_product_query\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:reset_chosen_attributes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Query\:\:search_post_excerpt\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
- identifier: argument.type
+ 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-query.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Static property WC_Query\:\:\$chosen_attributes \(array\) does not accept null\.$#'
- identifier: assign.propertyType
+ 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-query.php
+ path: includes/class-wc-shipping-rate.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: '#^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: '#^Method WC_Rate_Limiter\:\:cleanup\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-rate-limiter.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Method WC_Rate_Limiter\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-rate-limiter.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Call to function method_exists\(\) with ''Imagick'' and ''setResourceLimit'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ 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-regenerate-images-request.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
- identifier: arguments.count
+ message: '#^Parameter \#1 \$cost of method WC_Shipping_Rate\:\:set_cost\(\) expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-regenerate-images-request.php
+ path: includes/class-wc-shipping-rate.php
-
- message: '#^Offset ''extension'' might not exist on array\{dirname\?\: string, basename\: string, extension\?\: string, filename\: string\}\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Possibly invalid array key type array\|string\.$#'
+ identifier: offsetAccess.invalidOffset
count: 1
- path: includes/class-wc-regenerate-images-request.php
+ path: includes/class-wc-shipping-rate.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: '#^@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: '#^Parameter \#1 \$path of function pathinfo expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Access to an undefined property object\:\:\$enabled\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-regenerate-images-request.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Parameter \#1 \$path of function wp_get_image_editor expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Access to an undefined property object\:\:\$has_settings\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-regenerate-images-request.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
- identifier: argument.type
- count: 1
- path: includes/class-wc-regenerate-images-request.php
+ message: '#^Access to an undefined property object\:\:\$method_description\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Action callback returns array but should not return anything\.$#'
- identifier: return.void
- count: 2
- path: includes/class-wc-regenerate-images.php
+ message: '#^Access to an undefined property object\:\:\$method_order\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.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: '#^Access to an undefined property object\:\:\$settings_html\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.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: '#^Access to an undefined property object\:\:\$type\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Cannot use array destructuring on array\<int\|string, int\|string\>\|false\.$#'
- identifier: offsetAccess.nonArray
+ message: '#^Access to an undefined property object\:\:\$zone_id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
- identifier: arguments.count
+ message: '#^Call to an undefined method object\:\:add_method\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Method WC_Regenerate_Images\:\:dismiss_regenerating_notice\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:create\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Method WC_Regenerate_Images\:\:filter_image_get_intermediate_size\(\) should return array but returns array\<string, int\|string\>\|false\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:delete_method\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Method WC_Regenerate_Images\:\:filter_image_get_intermediate_size\(\) should return array but returns false\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:get_admin_options_html\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Method WC_Regenerate_Images\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_method\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Method WC_Regenerate_Images\:\:maybe_resize_image\(\) should return array but returns string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:get_method_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Method WC_Regenerate_Images\:\:regenerating_notice\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_methods\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.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: '#^Call to an undefined method object\:\:has_settings\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Method WC_Regenerate_Images\:\:resize_and_return_image\(\) should return string but returns array\<int, mixed\>\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:supports\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Method WC_Regenerate_Images\:\:resize_and_return_image\(\) should return string but returns array\|string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:update\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Method WC_Regenerate_Images\:\:unfiltered_image_downsize\(\) should return string but returns list\<bool\|int\|string\>\|false\.$#'
- identifier: return.type
+ message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Cannot access offset string on array\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Parameter \#3 \$size of static method WC_Regenerate_Images\:\:resize_and_return_image\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shipping_Zone\:\:add_location\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-regenerate-images.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$description\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Shipping_Zone\:\:clear_locations\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$form_fields\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Shipping_Zone\:\:delete_shipping_method\(\) should return true but returns false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$id\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Shipping_Zone\:\:set_locations\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$title\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Shipping_Zone\:\:set_zone_locations\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Access to protected property WC_Email\|WC_Settings_Page\:\:\$id\.$#'
- identifier: property.protected
+ message: '#^Method WC_Shipping_Zone\:\:set_zone_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Call to an undefined method WC_Email\|WC_Settings_Page\:\:get_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Shipping_Zone\:\:set_zone_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_id\(\)\.$#'
- identifier: method.notFound
+ 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-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_label\(\)\.$#'
- identifier: method.notFound
+ 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-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_option_key\(\)\.$#'
- identifier: method.notFound
+ message: '#^Strict comparison using \=\=\= between ''0'' and null will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zone.php
-
- message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_sections\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to an undefined property object\:\:\$enabled\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zones.php
-
- message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_settings\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to an undefined property object\:\:\$method_order\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zones.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
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_method\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-register-wp-admin-settings.php
+ path: includes/class-wc-shipping-zones.php
-
- message: '#^Cannot access offset ''oauth_consumer_key'' on non\-empty\-array\|WP_Error\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zone_id_by_instance_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping-zones.php
-
- message: '#^Cannot access offset ''oauth_nonce'' on non\-empty\-array\|WP_Error\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zone_id_from_package\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping-zones.php
-
- message: '#^Cannot access offset ''oauth_timestamp'' on non\-empty\-array\|WP_Error\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping-zones.php
-
- message: '#^Cannot access property \$consumer_secret on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Shipping_Zones\:\:delete_zone\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping-zones.php
-
- message: '#^Cannot access property \$user_id on array\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/class-wc-rest-authentication.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: '#^Cannot assign new offset to array\|string\.$#'
- identifier: offsetAssign.dimType
+ message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping-zones.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: '#^Parameter \#1 \$str of function strtoupper expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-shipping-zones.php
-
- message: '#^Method WC_REST_Authentication\:\:authenticate\(\) should return int\|false but returns int\<min, \-1\>\|int\<1, max\>\|true\.$#'
- identifier: return.type
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping.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
+ message: '#^Method WC_Shipping\:\:get_shipping_methods\(\) should return array\<WC_Shipping_Method\> but returns array\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping.php
-
- message: '#^Method WC_REST_Authentication\:\:get_error\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping.php
-
- message: '#^Method WC_REST_Authentication\:\:join_with_equals_sign\(\) should return string but returns array\|string\.$#'
- identifier: return.type
+ message: '#^Method WC_Shipping\:\:reset_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping.php
-
- message: '#^Method WC_REST_Authentication\:\:normalize_parameters\(\) should return array but returns array\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Shipping\:\:sort_shipping_methods\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping.php
-
- message: '#^Method WC_REST_Authentication\:\:set_error\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping\:\:unregister_shipping_methods\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping.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
+ message: '#^Offset mixed might not exist on array\|null\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping.php
-
- message: '#^PHPDoc tag @return has invalid value \(WP_Error\|null\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 63 on line 4$#'
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
identifier: phpDoc.parseError
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shipping.php
-
- message: '#^Parameter \#1 \$keys of function array_combine expects array, array\|string given\.$#'
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_shipping…'' 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
+ path: includes/class-wc-shipping.php
-
- message: '#^Parameter \#1 \$user of method WC_REST_Authentication\:\:check_oauth_signature\(\) expects stdClass, array given\.$#'
- identifier: argument.type
+ message: '#^@param bool \$force_rendering does not accept actual type of parameter\: null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shortcodes.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: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Parameter \#2 \$params of method WC_REST_Authentication\:\:check_oauth_signature\(\) expects array, array\|WP_Error given\.$#'
- identifier: argument.type
+ message: '#^Cannot access property \$post_parent on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Parameter \#2 \$path of function get_home_url expects string, string\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Cannot access property \$post_status on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Parameter \#2 \$pieces of function implode expects array, string given\.$#'
- identifier: argument.type
+ message: '#^Cannot access property \$post_type on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Parameter \#2 \$query_params of method WC_REST_Authentication\:\:join_with_equals_sign\(\) expects array, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method add_to_cart_url\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Parameter \#2 \$values of function array_combine expects array, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shortcodes\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Property WC_REST_Authentication\:\:\$error \(WP_Error\) in empty\(\) is not falsy\.$#'
- identifier: empty.property
+ message: '#^Method WC_Shortcodes\:\:product_add_to_cart\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shortcodes.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: '#^Method WC_Shortcodes\:\:related_products\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Property WC_REST_Authentication\:\:\$user \(stdClass\) does not accept null\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_Shortcodes\:\:shortcode_wrapper\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-rest-authentication.php
+ path: includes/class-wc-shortcodes.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: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Result of && is always false\.$#'
- identifier: booleanAnd.alwaysFalse
- count: 3
- path: includes/class-wc-rest-authentication.php
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\<string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
-
- message: '#^@param string \$guest_session_id does not accept actual type of parameter\: string\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Cannot access offset 0 on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 3
- path: includes/class-wc-session-handler.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: '#^Cannot access offset 1 on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Cannot access offset 2 on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ 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-session-handler.php
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Constant COOKIEHASH not found\.$#'
- identifier: constant.notFound
+ message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, true given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-shortcodes.php
-
- message: '#^Method WC_Session_Handler\:\:cleanup_sessions\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int\<min, \-1\>\|int\<1, max\> supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:clone_session_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.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: '#^Call to an undefined method WC_Product\:\:get_variation_price\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-structured-data.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: '#^Call to an undefined method WC_Product\:\:get_variation_prices\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:forget_session\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_sale_price\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_image_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:init_hooks\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:init_session\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:is_visible\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:init_session_cookie\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_billing_address_1\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:maybe_set_customer_session_cookie\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_billing_city\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:migrate_guest_session_to_user_session\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_billing_country\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:restore_session_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_billing_email\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:save_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_billing_phone\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:set_customer_session_cookie\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_billing_postcode\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Session_Handler\:\:set_session_expiration\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_billing_state\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.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: '#^Call to method get_currency\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 5
+ path: includes/class-wc-structured-data.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
+ message: '#^Call to method get_date_created\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.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
+ message: '#^Call to method get_edit_order_url\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.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: '#^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: '#^Parameter \#1 \$haystack of function strpos expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Call to method get_items\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Call to method get_line_subtotal\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 2
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Property WC_Session_Handler\:\:\$_session_expiring \(int\) does not accept float\|int\.$#'
- identifier: assign.propertyType
+ message: '#^Call to method get_order_number\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-session-handler.php
+ path: includes/class-wc-structured-data.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: '#^Call to method get_status\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/class-wc-structured-data.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: '#^Call to method get_total\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:get_shipping_tax\(\) should return float but returns array\.$#'
- identifier: return.type
+ message: '#^Call to method get_total_discount\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:set_cost\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_view_order_url\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:set_delivery_time\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$comment_ID on int\|WP_Comment\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:set_description\(\) has no return type specified\.$#'
+ 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-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:set_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Structured_Data\:\:generate_order_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:set_instance_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Structured_Data\:\:generate_product_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:set_label\(\) has no return type specified\.$#'
+ message: '#^Method WC_Structured_Data\:\:generate_review_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:set_method_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Structured_Data\:\:generate_website_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:set_tax_status\(\) has no return type specified\.$#'
+ message: '#^Method WC_Structured_Data\:\:output_email_structured_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Method WC_Shipping_Rate\:\:set_taxes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Structured_Data\:\:output_structured_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.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
+ message: '#^Method WC_Structured_Data\:\:prepare_gtin\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.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
+ 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-shipping-rate.php
+ path: includes/class-wc-structured-data.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
+ 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-shipping-rate.php
+ path: includes/class-wc-structured-data.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
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.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
+ 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-shipping-rate.php
+ path: includes/class-wc-structured-data.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
+ 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-shipping-rate.php
+ path: includes/class-wc-structured-data.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
+ 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-shipping-rate.php
+ path: includes/class-wc-structured-data.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
+ message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.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
+ message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-shipping-rate.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Parameter \#1 \$cost of method WC_Shipping_Rate\:\:set_cost\(\) expects string, int given\.$#'
+ message: '#^Parameter \#1 \$product of callable ''wc_get_price…'' expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
- count: 1
- path: includes/class-wc-shipping-rate.php
+ count: 2
+ path: includes/class-wc-structured-data.php
-
- message: '#^Possibly invalid array key type array\|string\.$#'
- identifier: offsetAccess.invalidOffset
+ 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-shipping-rate.php
+ path: includes/class-wc-structured-data.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: '#^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: '#^Access to an undefined property object\:\:\$enabled\.$#'
- identifier: property.notFound
+ 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-shipping-zone.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Access to an undefined property object\:\:\$has_settings\.$#'
- identifier: property.notFound
+ 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-shipping-zone.php
+ path: includes/class-wc-structured-data.php
-
- message: '#^Access to an undefined property object\:\:\$method_description\.$#'
- identifier: property.notFound
- count: 2
- path: includes/class-wc-shipping-zone.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: '#^Access to an undefined property object\:\:\$method_order\.$#'
+ message: '#^Access to an undefined property object\:\:\$tax_rate\.$#'
identifier: property.notFound
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Access to an undefined property object\:\:\$settings_html\.$#'
+ message: '#^Access to an undefined property object\:\:\$tax_rate_compound\.$#'
identifier: property.notFound
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Access to an undefined property object\:\:\$type\.$#'
+ message: '#^Access to an undefined property object\:\:\$tax_rate_country\.$#'
identifier: property.notFound
count: 4
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Access to an undefined property object\:\:\$zone_id\.$#'
+ message: '#^Access to an undefined property object\:\:\$tax_rate_id\.$#'
identifier: property.notFound
- count: 1
- path: includes/class-wc-shipping-zone.php
+ count: 6
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method object\:\:add_method\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to an undefined property object\:\:\$tax_rate_name\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method object\:\:create\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/class-wc-shipping-zone.php
+ message: '#^Access to an undefined property object\:\:\$tax_rate_priority\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method object\:\:delete_method\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/class-wc-shipping-zone.php
+ message: '#^Access to an undefined property object\:\:\$tax_rate_state\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method object\:\:get_admin_options_html\(\)\.$#'
- identifier: method.notFound
+ 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-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method object\:\:get_method\(\)\.$#'
+ message: '#^Call to an undefined method object\:\:get_taxable_address\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method object\:\:get_method_count\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot access offset ''slug'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method object\:\:get_methods\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/class-wc-shipping-zone.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: '#^Call to an undefined method object\:\:has_settings\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Tax\:\:_delete_tax_rate\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method object\:\:supports\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Tax\:\:_update_tax_rate\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method object\:\:update\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Tax\:\:_update_tax_rate_cities\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Method WC_Tax\:\:_update_tax_rate_postcodes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Cannot access offset string on array\|false\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ 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-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Method WC_Shipping_Zone\:\:add_location\(\) has no return type specified\.$#'
+ message: '#^Method WC_Tax\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Method WC_Shipping_Zone\:\:clear_locations\(\) has no return type specified\.$#'
+ message: '#^Method WC_Tax\:\:maybe_remove_tax_class_rates\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Method WC_Shipping_Zone\:\:delete_shipping_method\(\) should return true but returns false\.$#'
- identifier: return.type
+ message: '#^Method WC_Tax\:\:update_tax_rate_locations\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Method WC_Shipping_Zone\:\:set_locations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Method WC_Shipping_Zone\:\:set_zone_locations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Method WC_Shipping_Zone\:\:set_zone_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Method WC_Shipping_Zone\:\:set_zone_order\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.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
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> 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-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Parameter \#2 \$callback of function uasort expects callable\(object, object\)\: int, ''wc_shipping_zone…'' given\.$#'
- identifier: argument.type
+ message: '#^Static method WC_Tax\:\:format_tax_rate\(\) is unused\.$#'
+ identifier: method.unused
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Strict comparison using \=\=\= between ''0'' and null will always evaluate to false\.$#'
- identifier: identical.alwaysFalse
+ message: '#^Static method WC_Tax\:\:format_tax_rate_country\(\) is unused\.$#'
+ identifier: method.unused
count: 1
- path: includes/class-wc-shipping-zone.php
+ path: includes/class-wc-tax.php
-
- message: '#^Access to an undefined property object\:\:\$enabled\.$#'
- identifier: property.notFound
+ message: '#^Static method WC_Tax\:\:format_tax_rate_name\(\) is unused\.$#'
+ identifier: method.unused
count: 1
- path: includes/class-wc-shipping-zones.php
+ path: includes/class-wc-tax.php
-
- message: '#^Access to an undefined property object\:\:\$method_order\.$#'
- identifier: property.notFound
+ message: '#^Static method WC_Tax\:\:format_tax_rate_priority\(\) is unused\.$#'
+ identifier: method.unused
count: 1
- path: includes/class-wc-shipping-zones.php
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_method\(\)\.$#'
- identifier: method.notFound
+ message: '#^Static method WC_Tax\:\:sort_rates_callback\(\) is unused\.$#'
+ identifier: method.unused
count: 1
- path: includes/class-wc-shipping-zones.php
+ path: includes/class-wc-tax.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_zone_id_by_instance_id\(\)\.$#'
- identifier: method.notFound
+ 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-shipping-zones.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_zone_id_from_package\(\)\.$#'
- identifier: method.notFound
+ 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-shipping-zones.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-shipping-zones.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Method WC_Shipping_Zones\:\:delete_zone\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-shipping-zones.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Method WC_Shipping_Zones\:\:get_shipping_method\(\) should return bool\|WC_Shipping_Method but returns object\.$#'
- identifier: return.type
+ message: '#^Cannot access property \$post_modified on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-shipping-zones.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-shipping-zones.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Parameter \#1 \$str of function strtoupper expects string, array\|string given\.$#'
- identifier: argument.type
+ 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-shipping-zones.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Access to an undefined property object\:\:\$id\.$#'
- identifier: property.notFound
+ 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: '#^Method WC_Template_Loader\:\:add_support_for_product_page_gallery\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-shipping.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Method WC_Shipping\:\:get_shipping_methods\(\) should return array\<WC_Shipping_Method\> but returns array\|null\.$#'
- identifier: return.type
+ 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-shipping.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Method WC_Shipping\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-shipping.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Method WC_Shipping\:\:reset_shipping\(\) has no return type specified\.$#'
+ message: '#^Method WC_Template_Loader\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Method WC_Shipping\:\:sort_shipping_methods\(\) has no return type specified\.$#'
+ message: '#^Method WC_Template_Loader\:\:unsupported_theme_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Method WC_Shipping\:\:unregister_shipping_methods\(\) has no return type specified\.$#'
+ message: '#^Method WC_Template_Loader\:\:unsupported_theme_product_page_init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-shipping.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Offset mixed might not exist on array\|null\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Method WC_Template_Loader\:\:unsupported_theme_shop_page_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-shipping.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_Template_Loader\:\:unsupported_theme_tax_archive_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-shipping.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_shipping…'' given\.$#'
+ 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-shipping.php
+ path: includes/class-wc-template-loader.php
-
- message: '#^@param bool \$force_rendering does not accept actual type of parameter\: null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Access to an undefined property WP_Theme\:\:\$Name\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
- identifier: property.nonObject
- count: 3
- path: includes/class-wc-shortcodes.php
+ message: '#^Access to an undefined property WP_Theme\:\:\$Version\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-tracker.php
-
- message: '#^Cannot access property \$post_parent on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Cannot access property \$post_status on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Access to an undefined property object\:\:\$supports\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Cannot access property \$post_type on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Access to an undefined property object\:\:\$title\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Cannot call method add_to_cart_url\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Method WC_Shortcodes\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to function is_callable\(\) with ''WC_Helper_Options\:…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Method WC_Shortcodes\:\:product_add_to_cart\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ 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-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Method WC_Shortcodes\:\:related_products\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Cannot access offset 1 on list\<string\>\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Method WC_Shortcodes\:\:shortcode_wrapper\(\) should return string but returns string\|false\.$#'
+ message: '#^Cannot access offset int\<0, max\> on list\<string\>\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ 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-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Tracker\:\:get_category_counts\(\) should return int but returns string\|WP_Error\.$#'
+ identifier: return.type
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\<string\> given\.$#'
+ 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\:\: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\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_type'' given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, string given\.$#'
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_brand'' given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string given\.$#'
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, string given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, int\<0, max\> given\.$#'
+ message: '#^Parameter \#1 \$size of function wc_let_to_num expects string, string\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, true given\.$#'
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-shortcodes.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int\<min, \-1\>\|int\<1, max\> supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ 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-structured-data.php
+ path: includes/class-wc-tracker.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
- identifier: method.notFound
+ message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-tracker.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: '#^Method WC_Validation\:\:is_email\(\) should return bool but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-validation.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_variation_prices\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
+ identifier: argument.type
count: 2
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-validation.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_variation_sale_price\(\)\.$#'
- identifier: method.notFound
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to an undefined method object\:\:get_image_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to private property WooCommerce\:\:\$api\.$#'
+ identifier: property.private
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
- identifier: method.notFound
+ message: '#^Action callback returns mixed but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to an undefined method object\:\:is_visible\(\)\.$#'
+ message: '#^Call to an undefined method object\:\:get_api_version_number\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_billing_address_1\(\) on an unknown class WP_Order\.$#'
+ message: '#^Call to method get_webhook_api_payload\(\) on an unknown class WC_API\.$#'
identifier: class.notFound
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_billing_city\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_billing_country\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_billing_email\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Webhook\:\:deliver\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_billing_phone\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Webhook\:\:enqueue\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_billing_postcode\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Webhook\:\:failed_delivery\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_billing_state\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ 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-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
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_date_created\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Webhook\:\:log_delivery\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_edit_order_url\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Webhook\:\:set_api_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.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: '#^Method WC_Webhook\:\:set_date_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_items\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Webhook\:\:set_date_modified\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.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: '#^Method WC_Webhook\:\:set_delivery_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_order_number\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Webhook\:\:set_failure_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.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: '#^Method WC_Webhook\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.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: '#^Method WC_Webhook\:\:set_pending_delivery\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_total_discount\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Webhook\:\:set_secret\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Call to method get_view_order_url\(\) on an unknown class WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Webhook\:\:set_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Cannot access property \$comment_ID on int\|WP_Comment\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Webhook\:\:set_topic\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Cannot call method format\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Webhook\:\:set_user_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Cannot call method get_date_on_sale_to\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ 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-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Cannot call method get_regular_price\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ 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-structured-data.php
+ path: includes/class-wc-webhook.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
+ message: '#^Parameter \#1 \$message of method WC_Logger_Interface\:\:info\(\) expects string, bool\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Method WC_Structured_Data\:\:generate_order_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Method WC_Structured_Data\:\:generate_product_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-wc-webhook.php
-
- message: '#^Method WC_Structured_Data\:\:generate_review_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ 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-structured-data.php
+ path: includes/class-wc-webhook.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: '#^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: '#^Method WC_Structured_Data\:\:output_email_structured_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param int \$limit does not accept actual type of parameter\: null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Method WC_Structured_Data\:\:output_structured_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Action callback returns int but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.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: '#^Call to an undefined method object\:\:init\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-woocommerce.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
+ message: '#^Cannot access an offset on list\<string\>\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.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
+ message: '#^Method WooCommerce\:\:activated_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Method WooCommerce\:\:add_image_sizes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#1 \$comment of function get_comment_link expects int\|WP_Comment\|null, string given\.$#'
- identifier: argument.type
+ message: '#^Method WooCommerce\:\:add_thumbnail_support\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#1 \$comment_id of function get_comment_author expects int\|WP_Comment, string given\.$#'
- identifier: argument.type
+ message: '#^Method WooCommerce\:\:add_woocommerce_inbox_variant\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#1 \$comment_id of function get_comment_text expects int\|WP_Comment, string given\.$#'
- identifier: argument.type
+ message: '#^Method WooCommerce\:\:add_woocommerce_remote_variant\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WooCommerce\:\:deactivated_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, string given\.$#'
- identifier: argument.type
+ message: '#^Method WooCommerce\:\:define\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
- identifier: argument.type
+ message: '#^Method WooCommerce\:\:define_constants\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#2 \$comment_id of function get_comment_date expects int\|WP_Comment, string given\.$#'
- identifier: argument.type
+ message: '#^Method WooCommerce\:\:define_tables\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \$order of method WC_Structured_Data\:\:generate_order_data\(\) has invalid type WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WooCommerce\:\:frontend_includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \$order of method WC_Structured_Data\:\:output_email_structured_data\(\) has invalid type WP_Order\.$#'
- identifier: class.notFound
+ message: '#^Method WooCommerce\:\:include_template_functions\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Property WC_Structured_Data\:\:\$_data \(array\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
+ message: '#^Method WooCommerce\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-structured-data.php
+ path: includes/class-woocommerce.php
-
- message: '#^Access to an undefined property object\:\:\$tax_rate\.$#'
- identifier: property.notFound
+ message: '#^Method WooCommerce\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Access to an undefined property object\:\:\$tax_rate_compound\.$#'
- identifier: property.notFound
+ message: '#^Method WooCommerce\:\:init_customizer\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-woocommerce.php
-
- message: '#^Access to an undefined property object\:\:\$tax_rate_name\.$#'
- identifier: property.notFound
+ message: '#^Method WooCommerce\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-woocommerce.php
-
- message: '#^Argument of an invalid type array\|float\|int\|string\|false\|null supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Method WooCommerce\:\:is_request\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Call to an undefined method object\:\:get_taxable_address\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WooCommerce\:\:load_plugin_textdomain\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Cannot access offset ''slug'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WooCommerce\:\:load_rest_api\(\) has no return type specified\.$#'
+ identifier: missingType.return
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
+ path: includes/class-woocommerce.php
-
- message: '#^Method WC_Tax\:\:_delete_tax_rate\(\) has no return type specified\.$#'
+ message: '#^Method WooCommerce\:\:load_webhooks\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Method WC_Tax\:\:_update_tax_rate\(\) has no return type specified\.$#'
+ message: '#^Method WooCommerce\:\:log_errors\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Method WC_Tax\:\:_update_tax_rate_cities\(\) has no return type specified\.$#'
+ message: '#^Method WooCommerce\:\:on_plugins_loaded\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Method WC_Tax\:\:_update_tax_rate_postcodes\(\) has no return type specified\.$#'
+ message: '#^Method WooCommerce\:\:register_recurring_actions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Method WC_Tax\:\:get_tax_class_by\(\) should return array\|bool but returns WP_Error\.$#'
- identifier: return.type
+ message: '#^Method WooCommerce\:\:register_wp_admin_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Method WC_Tax\:\:init\(\) has no return type specified\.$#'
+ message: '#^Method WooCommerce\:\:setup_environment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Method WC_Tax\:\:maybe_remove_tax_class_rates\(\) has no return type specified\.$#'
+ message: '#^Method WooCommerce\:\:theme_support_includes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Method WC_Tax\:\:update_tax_rate_locations\(\) has no return type specified\.$#'
+ message: '#^Method WooCommerce\:\:wpdb_table_fix\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{''WC_Tax'', non\-falsy\-string\} given\.$#'
+ message: '#^Parameter \#1 \$class_name of method Automattic\\WooCommerce\\Proxies\\LegacyProxy\:\:get_instance_of\(\) expects class\-string\<object\>, string given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
+ message: '#^Parameter \#2 \$haystack of function array_search expects array, list\<string\>\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#1 \$rates of static method WC_Tax\:\:sort_rates\(\) expects array, array\|float\|int\|string\|false\|null given\.$#'
+ message: '#^Parameter \#2 \$scheme of function home_url expects string\|null, string\|false\|null 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
+ count: 3
+ path: includes/class-woocommerce.php
-
- message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ message: '#^Parameter \#2 \$value of method WooCommerce\:\:define\(\) expects bool\|string, int given\.$#'
identifier: argument.type
- count: 2
- path: includes/class-wc-tax.php
+ count: 3
+ path: includes/class-woocommerce.php
-
- message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) on left side of \?\? is not nullable\.$#'
- identifier: nullCoalesce.property
+ message: '#^Property WooCommerce\:\:\$api \(WC_API\) does not accept Automattic\\WooCommerce\\Internal\\Utilities\\LegacyRestApiStub\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Static method WC_Tax\:\:format_tax_rate\(\) is unused\.$#'
- identifier: method.unused
+ message: '#^Property WooCommerce\:\:\$api has unknown class WC_API as its type\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Static method WC_Tax\:\:format_tax_rate_country\(\) is unused\.$#'
- identifier: method.unused
+ message: '#^Property WooCommerce\:\:\$session \(WC_Session\) does not accept object\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Static method WC_Tax\:\:format_tax_rate_name\(\) is unused\.$#'
- identifier: method.unused
+ message: '#^Unable to resolve the template type T in call to method Automattic\\WooCommerce\\Proxies\\LegacyProxy\:\:get_instance_of\(\)$#'
+ identifier: argument.templateType
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Static method WC_Tax\:\:format_tax_rate_priority\(\) is unused\.$#'
- identifier: method.unused
+ message: '#^Undefined variable\: \$site_url$#'
+ identifier: variable.undefined
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Static method WC_Tax\:\:sort_rates_callback\(\) is unused\.$#'
- identifier: method.unused
+ message: '#^Variable \$site_url in empty\(\) is never defined\.$#'
+ identifier: empty.variable
count: 1
- path: includes/class-wc-tax.php
+ path: includes/class-woocommerce.php
-
- message: '#^Access to an undefined property object\:\:\$taxonomy\.$#'
- identifier: property.notFound
- count: 2
- path: includes/class-wc-template-loader.php
+ message: '#^Call to method display_items\(\) on an unknown class WP_CLI\\Formatter\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
-
- message: '#^Cannot access property \$columns on array\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/class-wc-template-loader.php
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 3
+ path: includes/cli/class-wc-cli-com-command.php
-
- message: '#^Cannot access property \$name on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
- identifier: property.nonObject
+ message: '#^Call to static method confirm\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-command.php
-
- message: '#^Cannot access property \$page on array\.$#'
- identifier: property.nonObject
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 4
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-command.php
-
- message: '#^Cannot access property \$post_author on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-command.php
-
- message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/class-wc-template-loader.php
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/cli/class-wc-cli-com-command.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: '#^Function WP_CLI\\Utils\\get_flag_value not found\.$#'
+ identifier: function.notFound
+ count: 2
+ path: includes/cli/class-wc-cli-com-command.php
-
- message: '#^Cannot access property \$post_modified on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Instantiated class WP_CLI\\Formatter not found\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-command.php
-
- message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_CLI_COM_Command\:\:list_extensions\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-command.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: '#^Method WC_CLI_COM_Command\:\:register_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
-
- message: '#^Cannot access property \$rows on array\.$#'
- identifier: property.nonObject
+ message: '#^PHPDoc tag @throws with type WP_CLI\\ExitException is not subtype of Throwable$#'
+ identifier: throws.notThrowable
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
+ path: includes/cli/class-wc-cli-com-command.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: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
-
- message: '#^Method WC_Template_Loader\:\:add_support_for_product_page_gallery\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_CLI_COM_Extension_Command\:\:\$item_type\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-extension-command.php
-
- message: '#^Method WC_Template_Loader\:\:comments_template_loader\(\) should return string but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-extension-command.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
+ message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-extension-command.php
-
- message: '#^Method WC_Template_Loader\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function WP_CLI\\Utils\\report_batch_operation_results not found\.$#'
+ identifier: function.notFound
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-extension-command.php
-
- message: '#^Method WC_Template_Loader\:\:unsupported_theme_init\(\) has no return type specified\.$#'
+ message: '#^Method WC_CLI_COM_Extension_Command\:\:install\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-extension-command.php
-
- message: '#^Method WC_Template_Loader\:\:unsupported_theme_product_page_init\(\) has no return type specified\.$#'
+ message: '#^Method WC_CLI_COM_Extension_Command\:\:register_commands\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-extension-command.php
-
- message: '#^Method WC_Template_Loader\:\:unsupported_theme_shop_page_init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^WC_CLI_COM_Extension_Command\:\:install\(\) calls parent\:\:install\(\) but WC_CLI_COM_Extension_Command does not extend any class\.$#'
+ identifier: class.noParent
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-com-extension-command.php
-
- message: '#^Method WC_Template_Loader\:\:unsupported_theme_tax_archive_init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_CLI_REST_Command\:\:\$api_url\.$#'
+ identifier: property.notFound
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-rest-command.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
+ message: '#^Call to method display_item\(\) on an unknown class WP_CLI\\Formatter\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-template-loader.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Access to an undefined property WP_Theme\:\:\$Name\.$#'
- identifier: property.notFound
+ message: '#^Call to method display_items\(\) on an unknown class WP_CLI\\Formatter\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Access to an undefined property WP_Theme\:\:\$Version\.$#'
- identifier: property.notFound
+ message: '#^Call to static method debug\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
- identifier: property.notFound
- count: 1
- path: includes/class-wc-tracker.php
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Access to an undefined property object\:\:\$supports\.$#'
- identifier: property.notFound
- count: 1
- path: includes/class-wc-tracker.php
+ message: '#^Call to static method get_config\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Access to an undefined property object\:\:\$title\.$#'
- identifier: property.notFound
- count: 1
- path: includes/class-wc-tracker.php
+ message: '#^Call to static method line\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 3
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
- count: 1
- path: includes/class-wc-tracker.php
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 4
+ path: includes/cli/class-wc-cli-rest-command.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: '#^Function WP_CLI\\Utils\\get_flag_value not found\.$#'
+ identifier: function.notFound
+ count: 3
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Call to function is_callable\(\) with array\{Automattic\\Jetpack\\Status, ''in_safe_mode''\} will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Instantiated class WP_CLI\\Formatter not found\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Cannot access offset 1 on list\<string\>\|false\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_CLI_REST_Command\:\:create_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Cannot access offset int\<0, max\> on list\<string\>\|false\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 4
- path: includes/class-wc-tracker.php
-
- -
- message: '#^Constant WP_MEMORY_LIMIT not found\.$#'
- identifier: constant.notFound
+ message: '#^Method WC_CLI_REST_Command\:\:delete_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Method WC_Tracker\:\:get_brands_counts\(\) should return int but returns string\|WP_Error\.$#'
- identifier: return.type
+ message: '#^Method WC_CLI_REST_Command\:\:get_formatter\(\) has invalid return type WP_CLI\\Formatter\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Method WC_Tracker\:\:get_category_counts\(\) should return int but returns string\|WP_Error\.$#'
- identifier: return.type
+ message: '#^Method WC_CLI_REST_Command\:\:get_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Method WC_Tracker\:\:get_order_dates\(\) should return string but returns array\.$#'
- identifier: return.type
+ message: '#^Method WC_CLI_REST_Command\:\:list_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Method WC_Tracker\:\:init\(\) has no return type specified\.$#'
+ message: '#^Method WC_CLI_REST_Command\:\:set_supported_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Method WC_Tracker\:\:send_tracking_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_CLI_REST_Command\:\:update_item\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_type'' given\.$#'
+ message: '#^Parameter \#1 \$string of function strlen expects string, string\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_brand'' given\.$#'
- identifier: argument.type
+ message: '#^Property WC_CLI_REST_Command\:\:\$resource_identifier \(int\) does not accept string\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
- identifier: argument.type
+ message: '#^Property WC_CLI_REST_Command\:\:\$resource_identifier \(int\) does not accept string\|null\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Parameter \#1 \$arr1 of function array_merge expects array, string given\.$#'
- identifier: argument.type
+ message: '#^Property WC_CLI_REST_Command\:\:\$resource_identifier is never read, only written\.$#'
+ identifier: property.onlyWritten
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-rest-command.php
-
- message: '#^Parameter \#1 \$size of function wc_let_to_num expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-runner.php
-
- message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to static method debug\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-runner.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
+ message: '#^Call to static method get_config\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-runner.php
-
- message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
+ message: '#^Method WC_CLI_Runner\:\:after_wp_load\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-tracker.php
+ path: includes/cli/class-wc-cli-runner.php
-
- message: '#^Method WC_Validation\:\:is_email\(\) should return bool but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_CLI_Runner\:\:register_route_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-validation.php
+ path: includes/cli/class-wc-cli-runner.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: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-tool-command.php
-
- message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
- identifier: phpDoc.parseError
+ message: '#^Call to static method get_config\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-tool-command.php
-
- message: '#^Access to private property WooCommerce\:\:\$api\.$#'
- identifier: property.private
+ message: '#^Method WC_CLI_Tool_Command\:\:register_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-tool-command.php
-
- message: '#^Action callback returns mixed but should not return anything\.$#'
- identifier: return.void
+ message: '#^Undefined variable\: \$command_args$#'
+ identifier: variable.undefined
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-tool-command.php
-
- message: '#^Call to an undefined method object\:\:get_api_version_number\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/class-wc-webhook.php
+ message: '#^Variable \$command_args in empty\(\) is never defined\.$#'
+ identifier: empty.variable
+ count: 2
+ path: includes/cli/class-wc-cli-tool-command.php
-
- message: '#^Call to method get_webhook_api_payload\(\) on an unknown class WC_API\.$#'
+ message: '#^Call to method display_items\(\) on an unknown class WP_CLI\\Formatter\.$#'
identifier: class.notFound
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-tracker-command.php
-
- message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-tracker-command.php
-
- message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Instantiated class WP_CLI\\Formatter not found\.$#'
+ identifier: class.notFound
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-tracker-command.php
-
- message: '#^Method WC_Webhook\:\:deliver\(\) has no return type specified\.$#'
+ message: '#^Method WC_CLI_Tracker_Command\:\:register_commands\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-tracker-command.php
-
- message: '#^Method WC_Webhook\:\:enqueue\(\) has no return type specified\.$#'
+ message: '#^Method WC_CLI_Tracker_Command\:\:show_tracker_snapshot\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-tracker-command.php
-
- message: '#^Method WC_Webhook\:\:failed_delivery\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-webhook.php
+ message: '#^Class WP_CLI not found\.$#'
+ identifier: class.notFound
+ count: 4
+ path: includes/cli/class-wc-cli-update-command.php
-
- message: '#^Method WC_Webhook\:\:get_wp_api_payload\(\) should return array but returns array\|WP_Error\.$#'
- identifier: return.type
+ message: '#^Method WC_CLI_Update_Command\:\:register_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-update-command.php
-
- message: '#^Method WC_Webhook\:\:log_delivery\(\) has no return type specified\.$#'
+ message: '#^Method WC_CLI_Update_Command\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/cli/class-wc-cli-update-command.php
-
- message: '#^Method WC_Webhook\:\:set_api_version\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shop_Customizer\:\:add_checkout_section\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_date_created\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shop_Customizer\:\:add_frontend_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_date_modified\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shop_Customizer\:\:add_product_catalog_section\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_delivery_url\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shop_Customizer\:\:add_product_images_section\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_failure_count\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shop_Customizer\:\:add_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_name\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shop_Customizer\:\:add_sections\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_pending_delivery\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shop_Customizer\:\:add_store_notice_section\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_secret\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shop_Customizer\:\:add_styles\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_status\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shop_Customizer\:\:enqueue_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_topic\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-wc-webhook.php
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<WP_Post\>\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WC_Webhook\:\:set_user_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', active_callback\: array\{\$this\(WC_Shop_Customizer\), ''has_privacy_policy…''\}, type\: ''textarea''\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.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
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', active_callback\: array\{\$this\(WC_Shop_Customizer\), ''has_terms_and…''\}, type\: ''text''\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Parameter \#1 \$failure_count of method WC_Webhook\:\:set_failure_count\(\) expects bool, int given\.$#'
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_catalog…'', type\: ''number'', input_attrs\: array\{min\: mixed, max\: mixed, step\: 1\}\} given\.$#'
identifier: argument.type
count: 2
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Parameter \#1 \$message of method WC_Logger_Interface\:\:info\(\) expects string, bool\|string given\.$#'
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_default…'', type\: ''select'', choices\: mixed\} given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int given\.$#'
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_shop…'', type\: ''select'', choices\: array\{''''\: string, subcategories\: string, both\: string\}\} given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_single…'', type\: ''number'', input_attrs\: array\{min\: 0, step\: 1\}\} given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Parameter \#1 \$topic of function wc_is_webhook_valid_topic expects string, array\|string given\.$#'
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce…'', type\: ''number'', input_attrs\: array\{min\: 0, step\: 1\}\} given\.$#'
identifier: argument.type
count: 1
- path: includes/class-wc-webhook.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce…'', type\: ''select'', choices\: array\{''''\: string, subcategories\: string, both\: string\}\} given\.$#'
identifier: argument.type
- count: 2
- path: includes/class-wc-webhook.php
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^@param int \$limit does not accept actual type of parameter\: null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_store…'', settings\: ''woocommerce_demo…'', type\: ''textarea''\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Action callback returns int but should not return anything\.$#'
- identifier: return.void
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce_terms…''\|''wp_page_for_privacy…'', type\: ''select'', choices\: non\-empty\-array\} given\.$#'
+ identifier: argument.type
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
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Cannot access an offset on list\<string\>\|false\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', type\: ''checkbox''\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WooCommerce\:\:activated_plugin\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', type\: ''select'', choices\: array\{hidden\: string, optional\: string, required\: string\}\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WooCommerce\:\:add_image_sizes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_store…'', settings\: ''woocommerce_demo…'', type\: ''checkbox''\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WooCommerce\:\:add_thumbnail_support\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_panel\(\) expects array\{priority\?\: int, capability\?\: string, theme_supports\?\: array\<mixed\>, title\?\: string, description\?\: string, type\?\: string, active_callback\?\: callable\(\)\: mixed\}, array\{priority\: 200, capability\: ''manage_woocommerce'', theme_supports\: '''', title\: string\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WooCommerce\:\:add_woocommerce_inbox_variant\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_setting\(\) expects array\{type\?\: string, capability\?\: string, theme_supports\?\: array\<string\>\|string, default\?\: string, transport\?\: string, validate_callback\?\: callable\(\)\: mixed, sanitize_callback\?\: callable\(\)\: mixed, sanitize_js_callback\?\: callable\(\)\: mixed, \.\.\.\}, array\{default\: 300, type\: ''option'', capability\: ''manage_woocommerce'', sanitize_callback\: ''absint'', sanitize_js_callback\: ''absint''\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WooCommerce\:\:add_woocommerce_remote_variant\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-woocommerce.php
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_setting\(\) expects array\{type\?\: string, capability\?\: string, theme_supports\?\: array\<string\>\|string, default\?\: string, transport\?\: string, validate_callback\?\: callable\(\)\: mixed, sanitize_callback\?\: callable\(\)\: mixed, sanitize_js_callback\?\: callable\(\)\: mixed, \.\.\.\}, array\{default\: 4, type\: ''option'', capability\: ''manage_woocommerce'', sanitize_callback\: ''absint'', sanitize_js_callback\: ''absint''\} given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WooCommerce\:\:deactivated_plugin\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_setting\(\) expects array\{type\?\: string, capability\?\: string, theme_supports\?\: array\<string\>\|string, default\?\: string, transport\?\: string, validate_callback\?\: callable\(\)\: mixed, sanitize_callback\?\: callable\(\)\: mixed, sanitize_js_callback\?\: callable\(\)\: mixed, \.\.\.\}, array\{default\: 600, type\: ''option'', capability\: ''manage_woocommerce'', sanitize_callback\: ''absint'', sanitize_js_callback\: ''absint''\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WooCommerce\:\:define\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-woocommerce.php
+ message: '#^Property WP_Customize_Manager\:\:\$selective_refresh \(WP_Customize_Selective_Refresh\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 2
+ path: includes/customizer/class-wc-shop-customizer.php
-
- message: '#^Method WooCommerce\:\:define_constants\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset non\-falsy\-string on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:define_tables\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-woocommerce.php
+ message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:frontend_includes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-woocommerce.php
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:include_template_functions\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/class-woocommerce.php
+ message: '#^Class WC_Order referenced with incorrect case\: WC_order\.$#'
+ identifier: class.nameCase
+ count: 3
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:includes\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:clear_caches\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:init\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:init_customizer\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:delete_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:init_hooks\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:prime_order_item_caches_for_orders\(\) 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
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:load_plugin_textdomain\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:load_rest_api\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:read_order_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:load_webhooks\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:set_order_props\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:log_errors\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:on_plugins_loaded\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_order_from_object\(\) should return bool but returns int\<0, max\>\.$#'
+ identifier: return.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:register_recurring_actions\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_order_meta_from_object\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:register_wp_admin_settings\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_payment_token_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:setup_environment\(\) has no return type specified\.$#'
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:theme_support_includes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Order\:\:get_type\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Method WooCommerce\:\:wpdb_table_fix\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:get_post_status\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#1 \$class_name of method Automattic\\WooCommerce\\Proxies\\LegacyProxy\:\:get_instance_of\(\) expects class\-string\<object\>, string given\.$#'
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\) expects WC_Order, WC_Abstract_Order given\.$#'
identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$haystack of function array_search expects array, list\<string\>\|false given\.$#'
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_total\(\) expects string, float given\.$#'
identifier: argument.type
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$scheme of function home_url expects string\|null, string\|false\|null given\.$#'
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\|false given\.$#'
identifier: argument.type
- count: 3
- path: includes/class-woocommerce.php
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$value of method WooCommerce\:\:define\(\) expects bool\|string, int given\.$#'
+ message: '#^Parameter \#2 \$meta_key of function delete_post_meta expects string, int\|string given\.$#'
identifier: argument.type
- count: 3
- path: includes/class-woocommerce.php
-
- -
- message: '#^Property WooCommerce\:\:\$api \(WC_API\) does not accept Automattic\\WooCommerce\\Internal\\Utilities\\LegacyRestApiStub\.$#'
- identifier: assign.propertyType
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Property WooCommerce\:\:\$api has unknown class WC_API as its type\.$#'
- identifier: class.notFound
+ message: '#^Return type \(void\) of method Abstract_WC_Order_Data_Store_CPT\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- message: '#^Property WooCommerce\:\:\$session \(WC_Session\) does not accept object\.$#'
- identifier: assign.propertyType
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_metadata\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Unable to resolve the template type T in call to method Automattic\\WooCommerce\\Proxies\\LegacyProxy\:\:get_instance_of\(\)$#'
- identifier: argument.templateType
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Undefined variable\: \$site_url$#'
- identifier: variable.undefined
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_metadata\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Variable \$site_url in empty\(\) is never defined\.$#'
- identifier: empty.variable
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:clear_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/class-woocommerce.php
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Call to method display_items\(\) on an unknown class WP_CLI\\Formatter\.$#'
- identifier: class.notFound
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-com-command.php
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
- count: 3
- path: includes/cli/class-wc-cli-com-command.php
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Call to static method confirm\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-com-command.php
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
- count: 4
- path: includes/cli/class-wc-cli-com-command.php
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:save_cogs_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-com-command.php
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
- count: 2
- path: includes/cli/class-wc-cli-com-command.php
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Function WP_CLI\\Utils\\get_flag_value not found\.$#'
- identifier: function.notFound
- count: 2
- path: includes/cli/class-wc-cli-com-command.php
-
- -
- message: '#^Instantiated class WP_CLI\\Formatter not found\.$#'
- identifier: class.notFound
+ message: '#^PHPDoc tag @var for property Abstract_WC_Order_Item_Type_Data_Store\:\:\$order_item_data_store with type WC_Order_Item_Data_Store is incompatible with native type WC_Data_Store\.$#'
+ identifier: property.phpDocType
count: 1
- path: includes/cli/class-wc-cli-com-command.php
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
-
- message: '#^Method WC_CLI_COM_Command\:\:list_extensions\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_coupon_held_keys_for_users\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/cli/class-wc-cli-com-command.php
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Method WC_CLI_COM_Command\:\:register_commands\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/cli/class-wc-cli-com-command.php
+ message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^PHPDoc tag @throws with type WP_CLI\\ExitException is not subtype of Throwable$#'
- identifier: throws.notThrowable
- count: 2
- path: includes/cli/class-wc-cli-com-command.php
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:add_coupon_used_by\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-com-command.php
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Access to an undefined property WC_CLI_COM_Extension_Command\:\:\$item_type\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-com-extension-command.php
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:delete\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
count: 1
- path: includes/cli/class-wc-cli-com-extension-command.php
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
- count: 1
- path: includes/cli/class-wc-cli-com-extension-command.php
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Function WP_CLI\\Utils\\report_batch_operation_results not found\.$#'
- identifier: function.notFound
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-com-extension-command.php
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Method WC_CLI_COM_Extension_Command\:\:install\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-com-extension-command.php
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Method WC_CLI_COM_Extension_Command\:\:register_commands\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-com-extension-command.php
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^WC_CLI_COM_Extension_Command\:\:install\(\) calls parent\:\:install\(\) but WC_CLI_COM_Extension_Command does not extend any class\.$#'
- identifier: class.noParent
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, int\<1, max\>\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/cli/class-wc-cli-com-extension-command.php
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Access to an undefined property WC_CLI_REST_Command\:\:\$api_url\.$#'
- identifier: property.notFound
+ message: '#^Strict comparison using \!\=\= between '''' and mixed~\(0\|0\.0\|''''\|''0''\|array\{\}\|false\|null\) will always evaluate to true\.$#'
+ identifier: notIdentical.alwaysTrue
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- message: '#^Call to method display_item\(\) on an unknown class WP_CLI\\Formatter\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Data_Store_Session\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store-session.php
-
- message: '#^Call to method display_items\(\) on an unknown class WP_CLI\\Formatter\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Data_Store_Session\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store-session.php
-
- message: '#^Call to static method debug\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Data_Store_Session\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store-session.php
-
- message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
- count: 2
- path: includes/cli/class-wc-cli-rest-command.php
+ message: '#^Method WC_Customer_Data_Store_Session\:\:save_to_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
-
- message: '#^Call to static method get_config\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
- count: 2
- path: includes/cli/class-wc-cli-rest-command.php
+ message: '#^Method WC_Customer_Data_Store_Session\:\:set_defaults\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
-
- message: '#^Call to static method line\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
- count: 3
- path: includes/cli/class-wc-cli-rest-command.php
+ message: '#^Method WC_Customer_Data_Store_Session\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
-
- message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
- count: 4
- path: includes/cli/class-wc-cli-rest-command.php
+ message: '#^Access to an undefined property WP_User_Query\:\:\$total_users\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Function WP_CLI\\Utils\\get_flag_value not found\.$#'
- identifier: function.notFound
- count: 3
- path: includes/cli/class-wc-cli-rest-command.php
+ message: '#^Access to an undefined property object\:\:\$meta_key\.$#'
+ identifier: property.notFound
+ count: 7
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Instantiated class WP_CLI\\Formatter not found\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Method WC_CLI_REST_Command\:\:create_item\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Customer_Data_Store\:\:delete\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Method WC_CLI_REST_Command\:\:delete_item\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Customer_Data_Store\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Method WC_CLI_REST_Command\:\:get_formatter\(\) has invalid return type WP_CLI\\Formatter\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Data_Store\:\:get_last_order\(\) should return WC_Order\|false but returns WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Method WC_CLI_REST_Command\:\:get_item\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Customer_Data_Store\:\:get_total_spent\(\) should return float but returns string\.$#'
+ identifier: return.type
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Method WC_CLI_REST_Command\:\:list_items\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Method WC_CLI_REST_Command\:\:set_supported_ids\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Data_Store\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Method WC_CLI_REST_Command\:\:update_item\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Data_Store\:\:update_user_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Parameter \#1 \$string of function strlen expects string, string\|null given\.$#'
+ message: '#^Parameter \#1 \$code of class WC_Data_Exception constructor expects string, int\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Property WC_CLI_REST_Command\:\:\$resource_identifier \(int\) does not accept string\.$#'
- identifier: assign.propertyType
- count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ message: '#^Parameter \#1 \$data of function esc_sql expects array\|string, int given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Property WC_CLI_REST_Command\:\:\$resource_identifier \(int\) does not accept string\|null\.$#'
- identifier: assign.propertyType
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Property WC_CLI_REST_Command\:\:\$resource_identifier is never read, only written\.$#'
- identifier: property.onlyWritten
+ message: '#^Parameter \#3 \$length of function array_slice expects int\|null, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/cli/class-wc-cli-rest-command.php
+ path: includes/data-stores/class-wc-customer-data-store.php
-
- message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/cli/class-wc-cli-runner.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Call to static method debug\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Download_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-runner.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Call to static method get_config\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Download_Data_Store\:\:create_from_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-runner.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Method WC_CLI_Runner\:\:after_wp_load\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Data_Store\:\:delete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-runner.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Method WC_CLI_Runner\:\:register_route_commands\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Data_Store\:\:delete_by_download_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-runner.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Download_Data_Store\:\:delete_by_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-tool-command.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Call to static method get_config\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Download_Data_Store\:\:delete_by_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-tool-command.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Method WC_CLI_Tool_Command\:\:register_commands\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-tool-command.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Undefined variable\: \$command_args$#'
- identifier: variable.undefined
+ message: '#^Method WC_Customer_Download_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-tool-command.php
-
- -
- message: '#^Variable \$command_args in empty\(\) is never defined\.$#'
- identifier: empty.variable
- count: 2
- path: includes/cli/class-wc-cli-tool-command.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Call to method display_items\(\) on an unknown class WP_CLI\\Formatter\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Download_Data_Store\:\:update_download_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-tracker-command.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Customer_Download_Data_Store\:\:update_user_by_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-tracker-command.php
+ path: includes/data-stores/class-wc-customer-download-data-store.php
-
- message: '#^Instantiated class WP_CLI\\Formatter not found\.$#'
- identifier: class.notFound
- count: 1
- path: includes/cli/class-wc-cli-tracker-command.php
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
-
- message: '#^Method WC_CLI_Tracker_Command\:\:register_commands\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:create\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-tracker-command.php
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
-
- message: '#^Method WC_CLI_Tracker_Command\:\:show_tracker_snapshot\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:delete_by_permission_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-tracker-command.php
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
-
- message: '#^Class WP_CLI not found\.$#'
- identifier: class.notFound
- count: 4
- path: includes/cli/class-wc-cli-update-command.php
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:get_download_logs_count_for_permission\(\) should return int but returns array\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
-
- message: '#^Method WC_CLI_Update_Command\:\:register_commands\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:get_download_logs_for_permission\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/cli/class-wc-cli-update-command.php
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
-
- message: '#^Method WC_CLI_Update_Command\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/cli/class-wc-cli-update-command.php
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
-
- message: '#^Method WC_Shop_Customizer\:\:add_checkout_section\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
-
- message: '#^Method WC_Shop_Customizer\:\:add_frontend_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ message: '#^Access to an undefined property object\:\:\$meta_key\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Method WC_Shop_Customizer\:\:add_product_catalog_section\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset ''year'' on array\{year\: string, month\: string, day\: string\}\|bool\|string\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Method WC_Shop_Customizer\:\:add_product_images_section\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Data_Store_WP\:\:add_meta\(\) should return int but returns int\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Method WC_Shop_Customizer\:\:add_scripts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Data_Store_WP\:\:delete_from_lookup_table\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Method WC_Shop_Customizer\:\:add_sections\(\) has no return type specified\.$#'
+ message: '#^Method WC_Data_Store_WP\:\:delete_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Method WC_Shop_Customizer\:\:add_store_notice_section\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ message: '#^Method WC_Data_Store_WP\:\:update_lookup_table\(\) should return null but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Method WC_Shop_Customizer\:\:add_styles\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Data_Store_WP\:\:update_lookup_table\(\) should return null but returns false\.$#'
+ identifier: return.type
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Method WC_Shop_Customizer\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Data_Store_WP\:\:update_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<WP_Post\>\|false given\.$#'
- identifier: argument.type
+ message: '#^Offset 0\|1 might not exist on array\{0\: WC_DateTime, 1\?\: WC_DateTime\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 4
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Offset 1 might not exist on array\{0\: WC_DateTime, 1\?\: WC_DateTime\}\.$#'
+ identifier: offsetAccess.notFound
count: 2
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', active_callback\: array\{\$this\(WC_Shop_Customizer\), ''has_privacy_policy…''\}, type\: ''textarea''\} given\.$#'
+ message: '#^Parameter \#3 \$meta_key of function add_metadata expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', active_callback\: array\{\$this\(WC_Shop_Customizer\), ''has_terms_and…''\}, type\: ''text''\} given\.$#'
- identifier: argument.type
+ message: '#^Variable \$dates in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-data-store-wp.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_catalog…'', type\: ''number'', input_attrs\: array\{min\: mixed, max\: mixed, step\: 1\}\} given\.$#'
- identifier: argument.type
- count: 2
- path: includes/customizer/class-wc-shop-customizer.php
+ message: '#^Access to an undefined property object\:\:\$post_excerpt\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_default…'', type\: ''select'', choices\: mixed\} given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_user_by_order_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_shop…'', type\: ''select'', choices\: array\{''''\: string, subcategories\: string, both\: string\}\} given\.$#'
- identifier: argument.type
+ message: '#^Cannot access offset non\-falsy\-string on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_single…'', type\: ''number'', input_attrs\: array\{min\: 0, step\: 1\}\} given\.$#'
- identifier: argument.type
+ message: '#^Cannot access offset string on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce…'', type\: ''number'', input_attrs\: array\{min\: 0, step\: 1\}\} given\.$#'
- identifier: argument.type
- count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ message: '#^Cannot assign offset ''value'' to array\|string\.$#'
+ identifier: offsetAssign.dimType
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce…'', type\: ''select'', choices\: array\{''''\: string, subcategories\: string, both\: string\}\} given\.$#'
- identifier: argument.type
+ message: '#^Class WC_Order referenced with incorrect case\: WC_order\.$#'
+ identifier: class.nameCase
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_store…'', settings\: ''woocommerce_demo…'', type\: ''textarea''\} given\.$#'
- identifier: argument.type
+ message: '#^Expected 3 @param tags, found 2\.$#'
+ identifier: paramTag.count
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce_terms…''\|''wp_page_for_privacy…'', type\: ''select'', choices\: non\-empty\-array\} given\.$#'
- identifier: argument.type
- count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ message: '#^Method WC_Abstract_Order\:\:get_cogs_total_value\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', type\: ''checkbox''\} given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', type\: ''select'', choices\: array\{hidden\: string, optional\: string, required\: string\}\} given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Data_Store_CPT\:\:get_order_type\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_store…'', settings\: ''woocommerce_demo…'', type\: ''checkbox''\} given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Data_Store_CPT\:\:get_orders_generate_customer_meta_query\(\) should return array but returns WP_Error\.$#'
+ identifier: return.type
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_panel\(\) expects array\{priority\?\: int, capability\?\: string, theme_supports\?\: array\<mixed\>, title\?\: string, description\?\: string, type\?\: string, active_callback\?\: callable\(\)\: mixed\}, array\{priority\: 200, capability\: ''manage_woocommerce'', theme_supports\: '''', title\: string\} given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Data_Store_CPT\:\:prime_caches_for_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_setting\(\) expects array\{type\?\: string, capability\?\: string, theme_supports\?\: array\<string\>\|string, default\?\: string, transport\?\: string, validate_callback\?\: callable\(\)\: mixed, sanitize_callback\?\: callable\(\)\: mixed, sanitize_js_callback\?\: callable\(\)\: mixed, \.\.\.\}, array\{default\: 300, type\: ''option'', capability\: ''manage_woocommerce'', sanitize_callback\: ''absint'', sanitize_js_callback\: ''absint''\} given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Data_Store_CPT\:\:prime_raw_meta_cache_for_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_setting\(\) expects array\{type\?\: string, capability\?\: string, theme_supports\?\: array\<string\>\|string, default\?\: string, transport\?\: string, validate_callback\?\: callable\(\)\: mixed, sanitize_callback\?\: callable\(\)\: mixed, sanitize_js_callback\?\: callable\(\)\: mixed, \.\.\.\}, array\{default\: 4, type\: ''option'', capability\: ''manage_woocommerce'', sanitize_callback\: ''absint'', sanitize_js_callback\: ''absint''\} given\.$#'
- identifier: argument.type
- count: 2
- path: includes/customizer/class-wc-shop-customizer.php
+ message: '#^Method WC_Order_Data_Store_CPT\:\:prime_refund_caches_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_setting\(\) expects array\{type\?\: string, capability\?\: string, theme_supports\?\: array\<string\>\|string, default\?\: string, transport\?\: string, validate_callback\?\: callable\(\)\: mixed, sanitize_callback\?\: callable\(\)\: mixed, sanitize_js_callback\?\: callable\(\)\: mixed, \.\.\.\}, array\{default\: 600, type\: ''option'', capability\: ''manage_woocommerce'', sanitize_callback\: ''absint'', sanitize_js_callback\: ''absint''\} given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Data_Store_CPT\:\:read_cogs_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/customizer/class-wc-shop-customizer.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Property WP_Customize_Manager\:\:\$selective_refresh \(WP_Customize_Selective_Refresh\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
- count: 2
- path: includes/customizer/class-wc-shop-customizer.php
+ message: '#^Method WC_Order_Data_Store_CPT\:\:read_order_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Cannot access offset non\-falsy\-string on array\|bool\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Order_Data_Store_CPT\:\:release_held_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
- count: 5
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_download_permissions_granted\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
- count: 5
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_email_sent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Class WC_Order referenced with incorrect case\: WC_order\.$#'
- identifier: class.nameCase
- count: 3
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- -
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:clear_caches\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_new_order_email_sent\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_order_stock_reduced\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:delete_items\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_recorded_coupon_usage_counts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:prime_order_item_caches_for_orders\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_recorded_sales\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_stock_reduced\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:read_order_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:set_order_props\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_CPT\:\:update_order_meta_from_object\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
-
- -
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_order_from_object\(\) should return bool but returns int\<0, max\>\.$#'
- identifier: return.type
- count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_order_meta_from_object\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$input of function array_reduce expects array\<WC_Order\>, array\<WC_Order\>\|stdClass given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_payment_token_ids\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, bool\|int given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ message: '#^Parameter \#1 \$post_id of function update_post_meta expects int, bool\|int given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Method WC_Abstract_Order\:\:get_type\(\) invoked with 1 parameter, 0 required\.$#'
- identifier: arguments.count
+ message: '#^Parameter \#1 \$posts of function update_post_caches expects array\<WP_Post\>, array\<int\|WP_Post\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:get_post_status\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ message: '#^Parameter \#1 \$status of static method Automattic\\WooCommerce\\Utilities\\OrderUtil\:\:remove_status_prefix\(\) expects string, string\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_total\(\) expects string, float given\.$#'
+ message: '#^Parameter \#2 \$callback of function array_reduce expects callable\(mixed, WC_Order\)\: mixed, Closure\(mixed, WC_Order_Refund\)\: mixed given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$array of function array_map expects array, array\|false given\.$#'
+ message: '#^Parameter \#3 \$index_key of function wp_list_pluck expects int\|string\|null, true given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Parameter \#2 \$meta_key of function delete_post_meta expects string, int\|string given\.$#'
+ message: '#^Parameter \#3 \$query of method WC_Order_Data_Store_CPT\:\:compile_orders\(\) expects WP_Query, \(object\{posts\: array, found_posts\: int, max_num_pages\: int\}&stdClass\)\|WP_Query given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- message: '#^Return type \(void\) of method Abstract_WC_Order_Data_Store_CPT\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
- identifier: method.childReturnType
+ message: '#^Method WC_Order_Item_Coupon_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-item-coupon-data-store.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:delete_metadata\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Order_Item_Coupon_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-coupon-data-store.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Coupon_Data_Store\:\:read\(\) expects WC_Order_Item_Coupon, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-coupon-data-store.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:update_metadata\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Order_Item_Data_Store\:\:add_metadata\(\) should return int but returns int\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-data-store.php
-
- message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:clear_cache\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Data_Store\:\:clear_caches\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-data-store.php
-
- message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:create\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Data_Store\:\:delete_order_item\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-data-store.php
-
- message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:delete\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
- count: 2
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ message: '#^Method WC_Order_Item_Data_Store\:\:update_metadata\(\) should return bool but returns bool\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-order-item-data-store.php
-
- message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Fee_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-fee-data-store.php
-
- message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:save_cogs_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Fee_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-fee-data-store.php
-
- message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Fee_Data_Store\:\:read\(\) expects WC_Order_Item_Fee, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-item-fee-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Product_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-product-data-store.php
-
- message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Product_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-product-data-store.php
-
- message: '#^PHPDoc tag @var for property Abstract_WC_Order_Item_Type_Data_Store\:\:\$order_item_data_store with type WC_Order_Item_Data_Store is incompatible with native type WC_Data_Store\.$#'
- identifier: property.phpDocType
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Product_Data_Store\:\:read\(\) expects WC_Order_Item_Product, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
count: 1
- path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+ path: includes/data-stores/class-wc-order-item-product-data-store.php
-
- message: '#^Call to an undefined method object\:\:get_coupon_held_keys_for_users\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_instance_id\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
-
- message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_method_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
-
- message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_instance_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
-
- message: '#^Method WC_Coupon_Data_Store_CPT\:\:add_coupon_used_by\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_method_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
-
- message: '#^Method WC_Coupon_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Shipping_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
-
- message: '#^Method WC_Coupon_Data_Store_CPT\:\:delete\(\) should return bool but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Method WC_Order_Item_Shipping_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
-
- -
- message: '#^Method WC_Coupon_Data_Store_CPT\:\:delete\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
- count: 2
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
-
- message: '#^Method WC_Coupon_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Shipping_Data_Store\:\:read\(\) expects WC_Order_Item_Shipping, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
count: 1
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
-
- message: '#^Method WC_Coupon_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Tax_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-item-tax-data-store.php
-
- message: '#^Method WC_Coupon_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Item_Tax_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-item-tax-data-store.php
-
- message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, int\<1, max\>\|WP_Error given\.$#'
- identifier: argument.type
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Tax_Data_Store\:\:read\(\) expects WC_Order_Item_Tax, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
count: 1
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-item-tax-data-store.php
-
- message: '#^Strict comparison using \!\=\= between '''' and mixed~\(0\|0\.0\|''''\|''0''\|array\{\}\|false\|null\) will always evaluate to true\.$#'
- identifier: notIdentical.alwaysTrue
+ message: '#^@param WC_Order_Refund \$refund does not accept actual type of parameter\: WC_Order\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store_Session\:\:create\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$post_author\.$#'
+ identifier: property.notFound
count: 1
- path: includes/data-stores/class-wc-customer-data-store-session.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store_Session\:\:delete\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Access to an undefined property object\:\:\$post_excerpt\.$#'
+ identifier: property.notFound
count: 1
- path: includes/data-stores/class-wc-customer-data-store-session.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store_Session\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Refund_Data_Store_CPT\:\:read_order_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-data-store-session.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store_Session\:\:save_to_session\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Refund_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-data-store-session.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store_Session\:\:set_defaults\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Refund_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-data-store-session.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store_Session\:\:update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:read_order_data\(\) expects WC_Order, WC_Order_Refund given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-customer-data-store-session.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Access to an undefined property WP_User_Query\:\:\$total_users\.$#'
- identifier: property.notFound
- count: 2
- path: includes/data-stores/class-wc-customer-data-store.php
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:update\(\) expects WC_Order, WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Access to an undefined property object\:\:\$meta_key\.$#'
- identifier: property.notFound
- count: 7
- path: includes/data-stores/class-wc-customer-data-store.php
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\) expects WC_Order, WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store\:\:create\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_Order_Refund_Data_Store_CPT\:\:read_order_data\(\) should be compatible with parameter \$order \(WC_Order\) of method Abstract_WC_Order_Data_Store_CPT\:\:read_order_data\(\)$#'
+ identifier: method.childParameterType
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store\:\:delete\(\) should return bool but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_Order_Refund_Data_Store_CPT\:\:update\(\) should be compatible with parameter \$order \(WC_Order\) of method Abstract_WC_Order_Data_Store_CPT\:\:update\(\)$#'
+ identifier: method.childParameterType
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store\:\:delete\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_Order_Refund_Data_Store_CPT\:\:update_post_meta\(\) should be compatible with parameter \$order \(WC_Order\) of method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\)$#'
+ identifier: method.childParameterType
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store\:\:get_last_order\(\) should return WC_Order\|false but returns WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: return.type
+ message: '#^Parameter &\$refund by\-ref type of method WC_Order_Refund_Data_Store_CPT\:\:read_order_data\(\) expects WC_Order_Refund, WC_Order given\.$#'
+ identifier: parameterByRef.type
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store\:\:get_total_spent\(\) should return float but returns string\.$#'
- identifier: return.type
+ message: '#^Parameter &\$refund by\-ref type of method WC_Order_Refund_Data_Store_CPT\:\:update\(\) expects WC_Order_Refund, WC_Order given\.$#'
+ identifier: parameterByRef.type
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
-
- message: '#^Method WC_Customer_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Parameter &\$refund by\-ref type of method WC_Order_Refund_Data_Store_CPT\:\:update_post_meta\(\) expects WC_Order_Refund, WC_Order given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Return type \(void\) of method WC_Order_Refund_Data_Store_CPT\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Payment_Token_Data_Store\:\:create\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-payment-token-data-store.php
-
- message: '#^Method WC_Customer_Data_Store\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Token_Data_Store\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Method WC_Payment_Token_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-payment-token-data-store.php
-
- message: '#^Method WC_Customer_Data_Store\:\:update_user_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Token_Data_Store\:\:read_extra_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-payment-token-data-store.php
-
- message: '#^Parameter \#1 \$code of class WC_Data_Exception constructor expects string, int\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Payment_Token_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-payment-token-data-store.php
-
- message: '#^Parameter \#1 \$data of function esc_sql expects array\|string, int given\.$#'
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(int\)\: mixed\)\|null, ''esc_sql'' given\.$#'
identifier: argument.type
- count: 4
- path: includes/data-stores/class-wc-customer-data-store.php
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
-
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-payment-token-data-store.php
-
- message: '#^Parameter \#3 \$length of function array_slice expects int\|null, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
- identifier: argument.type
+ message: '#^Parameter \#2 \$force_delete \(bool\) of method WC_Payment_Token_Data_Store\:\:delete\(\) should be compatible with parameter \$args \(array\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childParameterType
count: 1
- path: includes/data-stores/class-wc-customer-data-store.php
+ path: includes/data-stores/class-wc-payment-token-data-store.php
-
- message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
+ message: '#^Return type \(void\) of method WC_Payment_Token_Data_Store\:\:set_default_status\(\) should be compatible with return type \(string\) of method WC_Payment_Token_Data_Store_Interface\:\:set_default_status\(\)$#'
+ identifier: method.childReturnType
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-payment-token-data-store.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:create\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param float \$cogs_value does not accept actual type of parameter\: float\|null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:create_from_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param int \$product does not accept actual type of parameter\: WC_Product\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:delete\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$post_status on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:delete_by_download_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:delete_by_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:delete_by_order_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:clear_caches\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Product_Data_Store_CPT\:\:delete\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:update_download_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:handle_updated_props\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Data_Store\:\:update_user_by_order_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:load_cogs_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/data-stores/class-wc-customer-download-log-data-store.php
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Log_Data_Store\:\:create\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-log-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Log_Data_Store\:\:delete_by_permission_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_downloads\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-log-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Log_Data_Store\:\:get_download_logs_count_for_permission\(\) should return int but returns array\|int\.$#'
- identifier: return.type
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_extra_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-log-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Log_Data_Store\:\:get_download_logs_for_permission\(\) should return array but returns array\|int\.$#'
- identifier: return.type
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_product_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-log-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Log_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_stock_quantity\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-log-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Customer_Download_Log_Data_Store\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_visibility\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-customer-download-log-data-store.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Access to an undefined property object\:\:\$meta_key\.$#'
- identifier: property.notFound
- count: 2
- path: includes/data-stores/class-wc-data-store-wp.php
+ message: '#^Method WC_Product_Data_Store_CPT\:\:set_product_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Cannot access offset ''year'' on array\{year\: string, month\: string, day\: string\}\|bool\|string\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Product_Data_Store_CPT\:\:sort_all_product_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-data-store-wp.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Data_Store_WP\:\:add_meta\(\) should return int but returns int\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-data-store-wp.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Data_Store_WP\:\:delete_from_lookup_table\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-data-store-wp.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Data_Store_WP\:\:delete_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_average_rating\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-data-store-wp.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Data_Store_WP\:\:update_lookup_table\(\) should return null but return statement is missing\.$#'
- identifier: return.missing
- count: 2
- path: includes/data-stores/class-wc-data-store-wp.php
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Data_Store_WP\:\:update_lookup_table\(\) should return null but returns false\.$#'
- identifier: return.type
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_product_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-data-store-wp.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Data_Store_WP\:\:update_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_rating_counts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-data-store-wp.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Offset 0\|1 might not exist on array\{0\: WC_DateTime, 1\?\: WC_DateTime\}\.$#'
- identifier: offsetAccess.notFound
- count: 4
- path: includes/data-stores/class-wc-data-store-wp.php
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_review_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Offset 1 might not exist on array\{0\: WC_DateTime, 1\?\: WC_DateTime\}\.$#'
- identifier: offsetAccess.notFound
- count: 2
- path: includes/data-stores/class-wc-data-store-wp.php
-
- -
- message: '#^Parameter \#3 \$meta_key of function add_metadata expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-data-store-wp.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Variable \$dates in empty\(\) always exists and is not falsy\.$#'
- identifier: empty.variable
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_version_and_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-data-store-wp.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Access to an undefined property object\:\:\$post_excerpt\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_visibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:update_user_by_order_id\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, float\|int\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Cannot access offset non\-falsy\-string on array\|bool\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Parameter \#1 \$postarr of function wp_update_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\{ID\: int, post_content\: string, post_excerpt\: string, post_title\: string, post_parent\: int, comment_status\: ''closed''\|''open'', post_status\: non\-falsy\-string, menu_order\: int, \.\.\.\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Cannot access offset string on array\|bool\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Parameter \#1 \$posts of function update_post_caches expects array\<WP_Post\>, array\<int\|WP_Post\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- -
- message: '#^Cannot assign offset ''value'' to array\|string\.$#'
- identifier: offsetAssign.dimType
- count: 2
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Class WC_Order referenced with incorrect case\: WC_order\.$#'
- identifier: class.nameCase
+ message: '#^Parameter \#2 \$post_type of function update_post_caches expects string, array\<int, string\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Expected 3 @param tags, found 2\.$#'
- identifier: paramTag.count
+ message: '#^Parameter \#3 \$index_key of function wp_list_pluck expects int\|string\|null, true given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- message: '#^Method WC_Abstract_Order\:\:get_cogs_total_value\(\) invoked with 1 parameter, 0 required\.$#'
+ message: '#^Method WC_Product\:\:get_children\(\) invoked with 1 parameter, 0 required\.$#'
identifier: arguments.count
- count: 2
- path: includes/data-stores/class-wc-order-data-store-cpt.php
-
- -
- message: '#^Method WC_Order_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
- identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:get_order_type\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:handle_updated_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:get_orders_generate_customer_meta_query\(\) should return array but returns WP_Error\.$#'
- identifier: return.type
+ message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:sync_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:prime_caches_for_orders\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:prime_raw_meta_cache_for_orders\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:update_prices_from_children\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:prime_refund_caches_for_order\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of method WC_Product_Grouped_Data_Store_CPT\:\:update_prices_from_children\(\) expects WC_Product, int\|WC_Product given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:read_cogs_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:child_is_in_stock\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:read_order_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:child_is_on_backorder\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:release_held_coupons\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ message: '#^Call to an undefined method WC_Product\:\:get_visible_children\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:set_download_permissions_granted\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:set_email_sent\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:set_visible_children\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:set_new_order_email_sent\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:delete_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:set_order_stock_reduced\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:read_attributes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:set_recorded_coupon_usage_counts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:read_product_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:set_recorded_sales\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_managed_variation_stock_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:set_stock_reduced\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_price\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_stock_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:update_order_meta_from_object\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_variation_names\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Method WC_Order_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:untrash_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Parameter \#1 \$input of function array_reduce expects array\<WC_Order\>, array\<WC_Order\>\|stdClass given\.$#'
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
identifier: argument.type
- count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ count: 3
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, bool\|int given\.$#'
- identifier: argument.type
- count: 5
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ message: '#^Property WooCommerce\:\:\$customer \(WC_Customer\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 2
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- message: '#^Parameter \#1 \$post_id of function update_post_meta expects int, bool\|int given\.$#'
- identifier: argument.type
- count: 5
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ message: '#^Access to an undefined property object\:\:\$meta_key\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Parameter \#1 \$posts of function update_post_caches expects array\<WP_Post\>, array\<int\|WP_Post\> given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Product\:\:get_cogs_value_is_additive\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Parameter \#1 \$status of static method Automattic\\WooCommerce\\Utilities\\OrderUtil\:\:remove_status_prefix\(\) expects string, string\|false given\.$#'
- identifier: argument.type
- count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
- identifier: argument.type
- count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Parameter \#2 \$callback of function array_reduce expects callable\(mixed, WC_Order\)\: mixed, Closure\(mixed, WC_Order_Refund\)\: mixed given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Parameter \#3 \$index_key of function wp_list_pluck expects int\|string\|null, true given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:load_cogs_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Parameter \#3 \$query of method WC_Order_Data_Store_CPT\:\:compile_orders\(\) expects WP_Query, \(object\{posts\: array, found_posts\: int, max_num_pages\: int\}&stdClass\)\|WP_Query given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-data-store-cpt.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Coupon_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:read_product_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-coupon-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Coupon_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-coupon-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Coupon_Data_Store\:\:read\(\) expects WC_Order_Item_Coupon, WC_Order_Item given\.$#'
- identifier: parameterByRef.type
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-coupon-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Data_Store\:\:add_metadata\(\) should return int but returns int\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_guid\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Data_Store\:\:clear_caches\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Data_Store\:\:delete_order_item\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_terms\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Data_Store\:\:update_metadata\(\) should return bool but returns bool\|int\.$#'
- identifier: return.type
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_version_and_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Fee_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_visibility\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-fee-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Fee_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of method WC_Product_Variation_Data_Store_CPT\:\:generate_attribute_summary\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-item-fee-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Fee_Data_Store\:\:read\(\) expects WC_Order_Item_Fee, WC_Order_Item given\.$#'
- identifier: parameterByRef.type
+ message: '#^Parameter \#1 \$product of method WC_Product_Variation_Data_Store_CPT\:\:read_product_data\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-item-fee-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Product_Data_Store\:\:read\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of method WC_Product_Variation_Data_Store_CPT\:\:update_guid\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-item-product-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Method WC_Order_Item_Product_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-item-product-data-store.php
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Product_Data_Store\:\:read\(\) expects WC_Order_Item_Product, WC_Order_Item given\.$#'
+ message: '#^Parameter &\$product by\-ref type of method WC_Product_Variation_Data_Store_CPT\:\:create\(\) expects WC_Product_Variation, WC_Product given\.$#'
identifier: parameterByRef.type
- count: 1
- path: includes/data-stores/class-wc-order-item-product-data-store.php
+ count: 7
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_instance_id\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+ message: '#^Parameter &\$product by\-ref type of method WC_Product_Variation_Data_Store_CPT\:\:read\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: parameterByRef.type
+ count: 2
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_method_id\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+ message: '#^Parameter &\$product by\-ref type of method WC_Product_Variation_Data_Store_CPT\:\:update\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: parameterByRef.type
+ count: 7
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:set_instance_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^@param array \$package does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:set_method_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to an undefined property object\:\:\$method_id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^Method WC_Order_Item_Shipping_Data_Store\:\:read\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+ message: '#^Cannot access offset ''destination'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^Method WC_Order_Item_Shipping_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Zone_Data_Store\:\:create\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Shipping_Data_Store\:\:read\(\) expects WC_Order_Item_Shipping, WC_Order_Item given\.$#'
- identifier: parameterByRef.type
+ message: '#^Method WC_Shipping_Zone_Data_Store\:\:delete_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^Method WC_Order_Item_Tax_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Zone_Data_Store\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-tax-data-store.php
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^Method WC_Order_Item_Tax_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Zone_Data_Store\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-item-tax-data-store.php
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Tax_Data_Store\:\:read\(\) expects WC_Order_Item_Tax, WC_Order_Item given\.$#'
- identifier: parameterByRef.type
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-item-tax-data-store.php
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^@param WC_Order_Refund \$refund does not accept actual type of parameter\: WC_Order\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^Access to an undefined property object\:\:\$post_author\.$#'
- identifier: property.notFound
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Return type \(void\) of method WC_Shipping_Zone_Data_Store\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
-
- message: '#^Access to an undefined property object\:\:\$post_excerpt\.$#'
- identifier: property.notFound
+ message: '#^Binary operation "\." between ''AND `date_created…'' and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Method WC_Order_Refund_Data_Store_CPT\:\:read_order_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Binary operation "\." between ''AND `date_modified…'' and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Method WC_Order_Refund_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ message: '#^Binary operation "\." between non\-falsy\-string and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Cannot call method date\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:create\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Method WC_Order_Refund_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Webhook_Data_Store\:\:delete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:read_order_data\(\) expects WC_Order, WC_Order_Refund given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Webhook_Data_Store\:\:delete_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:update\(\) expects WC_Order, WC_Order_Refund given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Webhook_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\) expects WC_Order, WC_Order_Refund given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Webhook_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_Order_Refund_Data_Store_CPT\:\:read_order_data\(\) should be compatible with parameter \$order \(WC_Order\) of method Abstract_WC_Order_Data_Store_CPT\:\:read_order_data\(\)$#'
- identifier: method.childParameterType
+ message: '#^Method WC_Webhook_Data_Store\:\:validate_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_Order_Refund_Data_Store_CPT\:\:update\(\) should be compatible with parameter \$order \(WC_Order\) of method Abstract_WC_Order_Data_Store_CPT\:\:update\(\)$#'
- identifier: method.childParameterType
+ message: '#^Parameter \#1 \$data of function esc_sql expects array\|string, float\|int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_Order_Refund_Data_Store_CPT\:\:update_post_meta\(\) should be compatible with parameter \$order \(WC_Order\) of method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\)$#'
- identifier: method.childParameterType
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\|object given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/data-stores/class-wc-webhook-data-store.php
-
- message: '#^Parameter &\$refund by\-ref type of method WC_Order_Refund_Data_Store_CPT\:\:read_order_data\(\) expects WC_Order_Refund, WC_Order given\.$#'
- identifier: parameterByRef.type
+ message: '#^Method WC_Email_Cancelled_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/emails/class-wc-email-cancelled-order.php
-
- message: '#^Parameter &\$refund by\-ref type of method WC_Order_Refund_Data_Store_CPT\:\:update\(\) expects WC_Order_Refund, WC_Order given\.$#'
- identifier: parameterByRef.type
+ message: '#^Method WC_Email_Cancelled_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/emails/class-wc-email-cancelled-order.php
-
- message: '#^Parameter &\$refund by\-ref type of method WC_Order_Refund_Data_Store_CPT\:\:update_post_meta\(\) expects WC_Order_Refund, WC_Order given\.$#'
- identifier: parameterByRef.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 232 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/emails/class-wc-email-cancelled-order.php
-
- message: '#^Return type \(void\) of method WC_Order_Refund_Data_Store_CPT\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
- identifier: method.childReturnType
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+ path: includes/emails/class-wc-email-cancelled-order.php
-
- message: '#^Method WC_Payment_Token_Data_Store\:\:create\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-payment-token-data-store.php
+ path: includes/emails/class-wc-email-cancelled-order.php
-
- message: '#^Method WC_Payment_Token_Data_Store\:\:delete\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-payment-token-data-store.php
+ path: includes/emails/class-wc-email-cancelled-order.php
-
- message: '#^Method WC_Payment_Token_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Cancelled_Order\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-payment-token-data-store.php
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
-
- message: '#^Method WC_Payment_Token_Data_Store\:\:read_extra_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Cancelled_Order\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-payment-token-data-store.php
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
-
- message: '#^Method WC_Payment_Token_Data_Store\:\:update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 258 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-payment-token-data-store.php
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
-
- message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(int\)\: mixed\)\|null, ''esc_sql'' given\.$#'
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-payment-token-data-store.php
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
-
- message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-payment-token-data-store.php
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
-
- message: '#^Parameter \#2 \$force_delete \(bool\) of method WC_Payment_Token_Data_Store\:\:delete\(\) should be compatible with parameter \$args \(array\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
- identifier: method.childParameterType
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-payment-token-data-store.php
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
-
- message: '#^Return type \(void\) of method WC_Payment_Token_Data_Store\:\:set_default_status\(\) should be compatible with return type \(string\) of method WC_Payment_Token_Data_Store_Interface\:\:set_default_status\(\)$#'
- identifier: method.childReturnType
+ message: '#^Method WC_Email_Customer_Completed_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-payment-token-data-store.php
-
- -
- message: '#^@param float \$cogs_value does not accept actual type of parameter\: float\|null\.$#'
- identifier: parameter.phpDocType
- count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
-
- -
- message: '#^@param int \$product does not accept actual type of parameter\: WC_Product\.$#'
- identifier: parameter.phpDocType
- count: 2
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-completed-order.php
-
- message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 329 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-completed-order.php
-
- message: '#^Cannot access property \$post_status on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-completed-order.php
-
- message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-completed-order.php
-
- message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-completed-order.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:clear_caches\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Failed_Order\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-failed-order.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 273 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-failed-order.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:delete\(\) should return bool but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-failed-order.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:delete\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
- count: 2
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-failed-order.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:handle_updated_props\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-failed-order.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:load_cogs_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Fulfillment_Created\:\:maybe_init_fulfillment_for_preview\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Fulfillment_Created\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:read_attributes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 391 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:read_downloads\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:read_extra_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:read_product_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:read_stock_quantity\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ message: '#^Parameter \#1 \$order of method WC_Email_Customer_Fulfillment_Created\:\:maybe_init_fulfillment_for_preview\(\) expects WC_Order, bool\|object given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:read_visibility\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Fulfillment_Deleted\:\:maybe_init_fulfillment_for_preview\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:set_product_stock\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Fulfillment_Deleted\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:sort_all_product_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 369 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update_attributes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update_average_rating\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ message: '#^Parameter \#1 \$order of method WC_Email_Customer_Fulfillment_Deleted\:\:maybe_init_fulfillment_for_preview\(\) expects WC_Order, bool\|object given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update_product_sales\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Fulfillment_Updated\:\:maybe_init_fulfillment_for_preview\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update_rating_counts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Fulfillment_Updated\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update_review_count\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 364 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update_terms\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update_version_and_type\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
-
- message: '#^Method WC_Product_Data_Store_CPT\:\:update_visibility\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
-
- message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, float\|int\|null given\.$#'
+ message: '#^Parameter \#1 \$order of method WC_Email_Customer_Fulfillment_Updated\:\:maybe_init_fulfillment_for_preview\(\) expects WC_Order, bool\|object given\.$#'
identifier: argument.type
- count: 4
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ count: 3
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
-
- message: '#^Parameter \#1 \$postarr of function wp_update_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\{ID\: int, post_content\: string, post_excerpt\: string, post_title\: string, post_parent\: int, comment_status\: ''closed''\|''open'', post_status\: non\-falsy\-string, menu_order\: int, \.\.\.\} given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method has_status\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/emails/class-wc-email-customer-invoice.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$order \(false\) of method WC_Email_Customer_Invoice\:\:trigger\(\) is incompatible with type WC_Order\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-invoice.php
-
- message: '#^Parameter \#1 \$posts of function update_post_caches expects array\<WP_Post\>, array\<int\|WP_Post\> given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email_Customer_Invoice\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-invoice.php
-
- message: '#^Parameter \#2 \$post_type of function update_post_caches expects string, array\<int, string\> given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email_Customer_Invoice\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-invoice.php
-
- message: '#^Parameter \#3 \$index_key of function wp_list_pluck expects int\|string\|null, true given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 473 on line 11$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-invoice.php
-
- message: '#^Method WC_Product\:\:get_children\(\) invoked with 1 parameter, 0 required\.$#'
- identifier: arguments.count
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-invoice.php
-
- message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:handle_updated_props\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-invoice.php
-
- message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:sync_price\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$user_login on bool\|object\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-new-account.php
-
- message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_New_Account\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-new-account.php
-
- message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:update_prices_from_children\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 240 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-new-account.php
-
- message: '#^Parameter \#1 \$product of method WC_Product_Grouped_Data_Store_CPT\:\:update_prices_from_children\(\) expects WC_Product, int\|WC_Product given\.$#'
+ message: '#^Parameter \#1 \$user of function get_password_reset_key expects WP_User, bool\|object given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-new-account.php
-
- message: '#^Call to an undefined method WC_Product\:\:child_is_in_stock\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_email\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-note.php
-
- message: '#^Call to an undefined method WC_Product\:\:child_is_on_backorder\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_number\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-note.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_visible_children\(\)\.$#'
- identifier: method.notFound
- count: 4
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- -
- message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- -
- message: '#^Call to an undefined method WC_Product\:\:set_visible_children\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- -
- message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:delete_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- -
- message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:read_attributes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Note\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-note.php
-
- message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:read_product_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 242 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-note.php
-
- message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_managed_variation_stock_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-note.php
-
- message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_price\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_On_Hold_Order\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
-
- message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_stock_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 254 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
-
- message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_variation_names\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
-
- message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:untrash_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
-
- message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
identifier: argument.type
- count: 3
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- -
- message: '#^Property WooCommerce\:\:\$customer \(WC_Customer\) in empty\(\) is not falsy\.$#'
- identifier: empty.property
- count: 2
- path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
-
- -
- message: '#^Access to an undefined property object\:\:\$meta_key\.$#'
- identifier: property.notFound
- count: 3
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- -
- message: '#^Call to an undefined method WC_Product\:\:get_cogs_value_is_additive\(\)\.$#'
- identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- -
- message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- -
- message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Callback expects 3 parameters, \$accepted_args is set to 4\.$#'
+ identifier: arguments.count
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:load_cogs_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:add_pos_customizations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:add_unit_price\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:read_product_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:email_footer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:email_header\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_attributes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:enable_email_template_for_pos_orders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_guid\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:enable_order_email_actions_for_pos_orders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_terms\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:remove_pos_customizations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_version_and_type\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_visibility\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 333 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Parameter \#1 \$product of method WC_Product_Variation_Data_Store_CPT\:\:generate_attribute_summary\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Parameter \#1 \$product of method WC_Product_Variation_Data_Store_CPT\:\:read_product_data\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Parameter \#1 \$product of method WC_Product_Variation_Data_Store_CPT\:\:update_guid\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ message: '#^Parameter \#2 \$item of static method Automattic\\WooCommerce\\Internal\\Email\\OrderPriceFormatter\:\:get_formatted_item_subtotal\(\) expects WC_Order_Item, array given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, WC_Product given\.$#'
- identifier: argument.type
+ message: '#^Variable \$order might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
-
- -
- message: '#^Parameter &\$product by\-ref type of method WC_Product_Variation_Data_Store_CPT\:\:create\(\) expects WC_Product_Variation, WC_Product given\.$#'
- identifier: parameterByRef.type
- count: 7
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- message: '#^Parameter &\$product by\-ref type of method WC_Product_Variation_Data_Store_CPT\:\:read\(\) expects WC_Product_Variation, WC_Product given\.$#'
- identifier: parameterByRef.type
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|object\.$#'
+ identifier: parameter.phpDocType
count: 2
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Parameter &\$product by\-ref type of method WC_Product_Variation_Data_Store_CPT\:\:update\(\) expects WC_Product_Variation, WC_Product given\.$#'
- identifier: parameterByRef.type
- count: 7
- path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^@param array \$package does not accept actual type of parameter\: object\.$#'
- identifier: parameter.phpDocType
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_number\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Access to an undefined property object\:\:\$method_id\.$#'
- identifier: property.notFound
+ message: '#^Callback expects 3 parameters, \$accepted_args is set to 4\.$#'
+ identifier: arguments.count
count: 1
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Cannot access offset ''destination'' on object\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 3
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:add_pos_customizations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Method WC_Shipping_Zone_Data_Store\:\:create\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:add_unit_price\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Method WC_Shipping_Zone_Data_Store\:\:delete_method\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:disable_default_refund_emails_for_pos_orders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Method WC_Shipping_Zone_Data_Store\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:email_footer\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Method WC_Shipping_Zone_Data_Store\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:email_header\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:register_refund_email_triggers\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Parameter \#1 \$str of function strtoupper expects string, array\|string given\.$#'
- identifier: argument.type
- count: 3
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:remove_pos_customizations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Return type \(void\) of method WC_Shipping_Zone_Data_Store\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
- identifier: method.childReturnType
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:set_email_strings\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-shipping-zone-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Binary operation "\." between ''AND `date_created…'' and array\|string results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Binary operation "\." between ''AND `date_modified…'' and array\|string results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:trigger_full\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Binary operation "\." between non\-falsy\-string and array\|string results in an error\.$#'
- identifier: binaryOp.invalid
- count: 2
- path: includes/data-stores/class-wc-webhook-data-store.php
-
- -
- message: '#^Cannot call method date\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/data-stores/class-wc-webhook-data-store.php
-
- -
- message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/data-stores/class-wc-webhook-data-store.php
-
- -
- message: '#^Method WC_Webhook_Data_Store\:\:create\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
-
- -
- message: '#^Method WC_Webhook_Data_Store\:\:delete\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
-
- -
- message: '#^Method WC_Webhook_Data_Store\:\:delete_transients\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
-
- -
- message: '#^Method WC_Webhook_Data_Store\:\:read\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
-
- -
- message: '#^Method WC_Webhook_Data_Store\:\:update\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:trigger_partial\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Method WC_Webhook_Data_Store\:\:validate_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 267 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Parameter \#1 \$data of function esc_sql expects array\|string, float\|int\|string given\.$#'
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Parameter \#2 \$array of function array_map expects array, array\|object given\.$#'
+ message: '#^Parameter \#2 \$item of static method Automattic\\WooCommerce\\Internal\\Email\\OrderPriceFormatter\:\:get_formatted_item_subtotal\(\) expects WC_Order_Item, array given\.$#'
identifier: argument.type
count: 1
- path: includes/data-stores/class-wc-webhook-data-store.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Method WC_Email_Cancelled_Order\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Email_Customer_POS_Refunded_Order\:\:\$refund \(bool\|WC_Order\) does not accept WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/emails/class-wc-email-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- message: '#^Method WC_Email_Cancelled_Order\:\:trigger\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Processing_Order\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-processing-order.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 232 on line 9$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 257 on line 9$#'
identifier: phpDoc.parseError
count: 1
- path: includes/emails/class-wc-email-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-processing-order.php
-
message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-processing-order.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-processing-order.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-processing-order.php
-
- message: '#^Method WC_Email_Customer_Cancelled_Order\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/emails/class-wc-email-customer-cancelled-order.php
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|object\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^Method WC_Email_Customer_Cancelled_Order\:\:trigger\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_billing_email\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email-customer-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 258 on line 9$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email-customer-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email-customer-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:set_email_strings\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-cancelled-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^Method WC_Email_Customer_Completed_Order\:\:trigger\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-completed-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 329 on line 9$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:trigger_full\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-completed-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:trigger_partial\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-completed-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 263 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/emails/class-wc-email-customer-completed-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-completed-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^Method WC_Email_Customer_Failed_Order\:\:trigger\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Email_Customer_Refunded_Order\:\:\$refund \(bool\|WC_Order\) does not accept WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/emails/class-wc-email-customer-failed-order.php
+ path: includes/emails/class-wc-email-customer-refunded-order.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 273 on line 9$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/emails/class-wc-email-customer-failed-order.php
+ path: includes/emails/class-wc-email-customer-reset-password.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/emails/class-wc-email-customer-failed-order.php
+ path: includes/emails/class-wc-email-customer-reset-password.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email_Customer_Reset_Password\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-failed-order.php
+ path: includes/emails/class-wc-email-customer-reset-password.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 249 on line 9$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/emails/class-wc-email-customer-failed-order.php
+ path: includes/emails/class-wc-email-customer-reset-password.php
-
- message: '#^Method WC_Email_Customer_Fulfillment_Created\:\:maybe_init_fulfillment_for_preview\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Failed_Order\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-created.php
+ path: includes/emails/class-wc-email-failed-order.php
-
- message: '#^Method WC_Email_Customer_Fulfillment_Created\:\:trigger\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_Failed_Order\:\:trigger\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-created.php
+ path: includes/emails/class-wc-email-failed-order.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 391 on line 9$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 232 on line 9$#'
identifier: phpDoc.parseError
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-created.php
+ path: includes/emails/class-wc-email-failed-order.php
-
message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-created.php
+ path: includes/emails/class-wc-email-failed-order.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-created.php
+ path: includes/emails/class-wc-email-failed-order.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-created.php
+ path: includes/emails/class-wc-email-failed-order.php
-
- message: '#^Parameter \#1 \$order of method WC_Email_Customer_Fulfillment_Created\:\:maybe_init_fulfillment_for_preview\(\) expects WC_Order, bool\|object given\.$#'
- identifier: argument.type
- count: 3
- path: includes/emails/class-wc-email-customer-fulfillment-created.php
+ message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
-
- message: '#^Method WC_Email_Customer_Fulfillment_Deleted\:\:maybe_init_fulfillment_for_preview\(\) has no return type specified\.$#'
+ message: '#^Cannot call method update_meta_data\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^Method WC_Email_New_Order\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+ path: includes/emails/class-wc-email-new-order.php
-
- message: '#^Method WC_Email_Customer_Fulfillment_Deleted\:\:trigger\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email_New_Order\:\:mobile_messaging\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+ path: includes/emails/class-wc-email-new-order.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 369 on line 9$#'
+ message: '#^Method WC_Email_New_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 231 on line 9$#'
identifier: phpDoc.parseError
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+ path: includes/emails/class-wc-email-new-order.php
-
message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+ path: includes/emails/class-wc-email-new-order.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+ path: includes/emails/class-wc-email-new-order.php
-
message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+ path: includes/emails/class-wc-email-new-order.php
-
- message: '#^Parameter \#1 \$order of method WC_Email_Customer_Fulfillment_Deleted\:\:maybe_init_fulfillment_for_preview\(\) expects WC_Order, bool\|object given\.$#'
- identifier: argument.type
+ message: '#^@param object \$object does not accept actual type of parameter\: bool\|object\.$#'
+ identifier: parameter.phpDocType
count: 3
- path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_Fulfillment_Updated\:\:maybe_init_fulfillment_for_preview\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+ message: '#^@param string \$email does not accept actual type of parameter\: \$this\(WC_Email\)\.$#'
+ identifier: parameter.phpDocType
+ count: 4
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_Fulfillment_Updated\:\:trigger\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+ message: '#^Access to property \$AltBody on an unknown class PHPMailer\.$#'
+ identifier: class.notFound
+ count: 4
+ path: includes/emails/class-wc-email.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 364 on line 9$#'
- identifier: phpDoc.parseError
+ message: '#^Action callback returns PHPMailer but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-updated.php
-
- -
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
- identifier: argument.type
- count: 1
- path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+ message: '#^Cannot call method get_billing_email\(\) on object\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$order of method WC_Email_Customer_Fulfillment_Updated\:\:maybe_init_fulfillment_for_preview\(\) expects WC_Order, bool\|object given\.$#'
- identifier: argument.type
- count: 3
- path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+ message: '#^Cannot call method get_billing_first_name\(\) on object\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/emails/class-wc-email.php
-
- message: '#^Cannot call method has_status\(\) on bool\|object\.$#'
+ message: '#^Cannot call method get_billing_last_name\(\) on object\|true\.$#'
identifier: method.nonObject
count: 2
- path: includes/emails/class-wc-email-customer-invoice.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Default value of the parameter \#2 \$order \(false\) of method WC_Email_Customer_Invoice\:\:trigger\(\) is incompatible with type WC_Order\.$#'
- identifier: parameter.defaultValue
+ message: '#^Method WC_Email\:\:admin_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-invoice.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_Invoice\:\:init_form_fields\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email\:\:admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-invoice.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_Invoice\:\:trigger\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Email\:\:apply_inline_style\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-invoice.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 473 on line 11$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_Email\:\:delete_template_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-invoice.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email\:\:get_option_or_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-invoice.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email\:\:handle_multipart\(\) has invalid return type PHPMailer\.$#'
+ identifier: class.notFound
count: 1
- path: includes/emails/class-wc-email-customer-invoice.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Cannot access property \$user_login on bool\|object\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_Email\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-new-account.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_New_Account\:\:trigger\(\) has no return type specified\.$#'
+ message: '#^Method WC_Email\:\:move_template_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-new-account.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 240 on line 9$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/emails/class-wc-email-customer-new-account.php
+ message: '#^Method WC_Email\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$user of function get_password_reset_key expects WP_User, bool\|object given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Email\:\:restore_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-new-account.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_email\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Email\:\:save_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-note.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_number\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Email\:\:setup_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-note.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_Note\:\:trigger\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Email\:\:style_inline\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-note.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 242 on line 9$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Settings_API\)\: Unexpected token "\\n ", expected ''\<'' at offset 255 on line 9$#'
identifier: phpDoc.parseError
count: 1
- path: includes/emails/class-wc-email-customer-note.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-note.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_On_Hold_Order\:\:trigger\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$search of function str_replace expects array\<string\>\|string, array\|int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-on-hold-order.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 254 on line 9$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/emails/class-wc-email-customer-on-hold-order.php
+ message: '#^Parameter \#1 \$str of function wordwrap expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ message: '#^Parameter \#1 \$template_type of method WC_Email\:\:delete_template_action\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-on-hold-order.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ message: '#^Parameter \#1 \$template_type of method WC_Email\:\:move_template_action\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-on-hold-order.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ message: '#^Parameter \#1 \$text of function esc_html expects string, string\|false given\.$#'
identifier: argument.type
- count: 1
- path: includes/emails/class-wc-email-customer-on-hold-order.php
+ count: 2
+ path: includes/emails/class-wc-email.php
-
- message: '#^Callback expects 3 parameters, \$accepted_args is set to 4\.$#'
- identifier: arguments.count
+ message: '#^Parameter \#1 \$unprocessedHtml of static method Automattic\\WooCommerce\\Vendor\\Pelago\\Emogrifier\\HtmlProcessor\\AbstractHtmlProcessor\:\:fromHtml\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:add_pos_customizations\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''is_email'' given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:add_unit_price\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \$mailer of method WC_Email\:\:handle_multipart\(\) has invalid type PHPMailer\.$#'
+ identifier: class.notFound
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:email_footer\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Variable \$template in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/emails/class-wc-email.php
-
- message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:email_header\(\) has no return type specified\.$#'
+ message: '#^Method WC_CSV_Batch_Exporter\:\:export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-batch-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:enable_email_template_for_pos_orders\(\) has no return type specified\.$#'
+ message: '#^Method WC_CSV_Batch_Exporter\:\:generate_file\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-batch-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:enable_order_email_actions_for_pos_orders\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_CSV_Batch_Exporter\:\:get_file\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-batch-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_CSV_Batch_Exporter\:\:get_headers_row_file\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-batch-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:remove_pos_customizations\(\) has no return type specified\.$#'
+ message: '#^Method WC_CSV_Batch_Exporter\:\:set_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-batch-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:trigger\(\) has no return type specified\.$#'
+ message: '#^Method WC_CSV_Batch_Exporter\:\:write_csv_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-batch-exporter.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 333 on line 9$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_CSV_Exporter\:\:export\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_CSV_Exporter\:\:export_column_headers\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_CSV_Exporter\:\:export_row\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Parameter \#2 \$item of static method Automattic\\WooCommerce\\Internal\\Email\\OrderPriceFormatter\:\:get_formatted_item_subtotal\(\) expects WC_Order_Item, array given\.$#'
- identifier: argument.type
+ message: '#^Method WC_CSV_Exporter\:\:fputcsv\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Variable \$order might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Method WC_CSV_Exporter\:\:prepare_data_to_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-completed-order.php
-
- -
- message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|object\.$#'
- identifier: parameter.phpDocType
- count: 2
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_email\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_CSV_Exporter\:\:send_content\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_number\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_CSV_Exporter\:\:send_headers\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Callback expects 3 parameters, \$accepted_args is set to 4\.$#'
- identifier: arguments.count
+ message: '#^Method WC_CSV_Exporter\:\:set_column_names\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:add_pos_customizations\(\) has no return type specified\.$#'
+ message: '#^Method WC_CSV_Exporter\:\:set_columns_to_export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- -
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:add_unit_price\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
-
- -
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:disable_default_refund_emails_for_pos_orders\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:email_footer\(\) has no return type specified\.$#'
+ message: '#^Method WC_CSV_Exporter\:\:set_filename\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:email_header\(\) has no return type specified\.$#'
+ message: '#^Method WC_CSV_Exporter\:\:set_limit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$buffer of method WC_CSV_Exporter\:\:fputcsv\(\) expects resource, resource\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:register_refund_email_triggers\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$value of function apache_setenv expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:remove_pos_customizations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Possibly invalid array key type array\|string\.$#'
+ identifier: offsetAccess.invalidOffset
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/abstract-wc-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:set_email_strings\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:trigger\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:trigger_full\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:get_parent_data\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:trigger_partial\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$products on array\|stdClass\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 267 on line 9$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot access property \$total on array\|stdClass\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method get_id\(\) on int\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Parameter \#2 \$item of static method Automattic\\WooCommerce\\Internal\\Email\\OrderPriceFormatter\:\:get_formatted_item_subtotal\(\) expects WC_Order_Item, array given\.$#'
- identifier: argument.type
- count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ message: '#^Cannot call method get_sku\(\) on int\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Property WC_Email_Customer_POS_Refunded_Order\:\:\$refund \(bool\|WC_Order\) does not accept WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_Product\:\:get_children\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_Processing_Order\:\:trigger\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_CSV_Exporter\:\:enable_meta_export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-processing-order.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 257 on line 9$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/emails/class-wc-email-customer-processing-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_backorders\(\) should return string but returns int\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-processing-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_download_expiry\(\) should return string but returns int\<min, \-1\>\|int\<1, max\>\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-processing-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_download_limit\(\) should return string but returns int\<min, \-1\>\|int\<1, max\>\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-processing-order.php
-
- -
- message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|object\.$#'
- identifier: parameter.phpDocType
- count: 2
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Cannot call method get_billing_email\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_stock\(\) should return string but returns int\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_stock_status\(\) should return string but returns int\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Product_CSV_Exporter\:\:prepare_attributes_for_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_Refunded_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_CSV_Exporter\:\:prepare_data_to_export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_Refunded_Order\:\:set_email_strings\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_CSV_Exporter\:\:prepare_downloads_for_export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_Refunded_Order\:\:trigger\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_CSV_Exporter\:\:prepare_meta_for_export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_Refunded_Order\:\:trigger_full\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_CSV_Exporter\:\:set_product_ids_to_export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Method WC_Email_Customer_Refunded_Order\:\:trigger_partial\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_CSV_Exporter\:\:set_product_types_to_export\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 263 on line 9$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ message: '#^Parameter \#1 \$linked_products of method WC_Product_CSV_Exporter\:\:prepare_linked_products_for_export\(\) expects array\<int\>, array\<WC_Product\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ message: '#^Parameter \#1 \$term_ids of method WC_CSV_Exporter\:\:format_term_ids\(\) expects array, int given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Property WC_Email_Customer_Refunded_Order\:\:\$refund \(bool\|WC_Order\) does not accept WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: assign.propertyType
+ message: '#^Parameter \#2 \$array of function array_map expects array, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-customer-refunded-order.php
+ path: includes/export/class-wc-product-csv-exporter.php
-
- message: '#^Cannot access property \$ID on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^@param object \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/emails/class-wc-email-customer-reset-password.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/emails/class-wc-email-customer-reset-password.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Method WC_Email_Customer_Reset_Password\:\:trigger\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\|string supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/emails/class-wc-email-customer-reset-password.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 249 on line 9$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method get_billing_country\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email-customer-reset-password.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Method WC_Email_Failed_Order\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email-failed-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Method WC_Email_Failed_Order\:\:trigger\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email-failed-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 232 on line 9$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email-failed-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^Default value of the parameter \#1 \$order_id \(string\) of method WC_Gateway_BACS\:\:bank_details\(\) is incompatible with type int\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/emails/class-wc-email-failed-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Gateway_BACS\:\:bank_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-failed-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Gateway_BACS\:\:email_instructions\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-failed-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Gateway_BACS\:\:generate_account_details_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/emails/class-wc-email-new-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Cannot call method update_meta_data\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Gateway_BACS\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-new-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Method WC_Email_New_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_BACS\:\:save_account_details\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-new-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Method WC_Email_New_Order\:\:mobile_messaging\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/emails/class-wc-email-new-order.php
-
- -
- message: '#^Method WC_Email_New_Order\:\:trigger\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_BACS\:\:thankyou_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email-new-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 231 on line 9$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 185 on line 7$#'
identifier: phpDoc.parseError
count: 1
- path: includes/emails/class-wc-email-new-order.php
-
- -
- message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/emails/class-wc-email-new-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/emails/class-wc-email-new-order.php
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
identifier: argument.type
- count: 1
- path: includes/emails/class-wc-email-new-order.php
-
- -
- message: '#^@param object \$object does not accept actual type of parameter\: bool\|object\.$#'
- identifier: parameter.phpDocType
- count: 3
- path: includes/emails/class-wc-email.php
+ count: 6
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
-
- message: '#^@param string \$email does not accept actual type of parameter\: \$this\(WC_Email\)\.$#'
+ message: '#^@param object \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
identifier: parameter.phpDocType
- count: 4
- path: includes/emails/class-wc-email.php
-
- -
- message: '#^Access to property \$AltBody on an unknown class PHPMailer\.$#'
- identifier: class.notFound
- count: 4
- path: includes/emails/class-wc-email.php
-
- -
- message: '#^Action callback returns PHPMailer but should not return anything\.$#'
- identifier: return.void
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
message: '#^Action callback returns bool but should not return anything\.$#'
identifier: return.void
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
- message: '#^Cannot call method get_billing_email\(\) on object\|true\.$#'
+ message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
identifier: method.nonObject
- count: 2
- path: includes/emails/class-wc-email.php
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
- message: '#^Cannot call method get_billing_first_name\(\) on object\|true\.$#'
+ message: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
identifier: method.nonObject
- count: 2
- path: includes/emails/class-wc-email.php
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
- message: '#^Cannot call method get_billing_last_name\(\) on object\|true\.$#'
+ message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
identifier: method.nonObject
- count: 2
- path: includes/emails/class-wc-email.php
-
- -
- message: '#^Method WC_Email\:\:admin_actions\(\) has no return type specified\.$#'
- identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
- message: '#^Method WC_Email\:\:admin_options\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Cheque\:\:email_instructions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
-
- -
- message: '#^Method WC_Email\:\:apply_inline_style\(\) should return string but returns string\|null\.$#'
- identifier: return.type
- count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
- message: '#^Method WC_Email\:\:delete_template_action\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Cheque\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
- message: '#^Method WC_Email\:\:get_option_or_transient\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Cheque\:\:thankyou_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
- message: '#^Method WC_Email\:\:handle_multipart\(\) has invalid return type PHPMailer\.$#'
- identifier: class.notFound
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 172 on line 7$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
- message: '#^Method WC_Email\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
-
- message: '#^Method WC_Email\:\:move_template_action\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Gateway_CC\:\:form\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
-
- -
- message: '#^Method WC_Email\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
- count: 2
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/class-wc-payment-gateway-cc.php
-
- message: '#^Method WC_Email\:\:restore_locale\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Gateway_CC\:\:payment_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/class-wc-payment-gateway-cc.php
-
- message: '#^Method WC_Email\:\:save_template\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Gateway_ECheck\:\:form\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/class-wc-payment-gateway-echeck.php
-
- message: '#^Method WC_Email\:\:setup_locale\(\) has no return type specified\.$#'
+ message: '#^Method WC_Payment_Gateway_ECheck\:\:payment_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/class-wc-payment-gateway-echeck.php
-
- message: '#^Method WC_Email\:\:style_inline\(\) should return string but returns string\|null\.$#'
- identifier: return.type
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Settings_API\)\: Unexpected token "\\n ", expected ''\<'' at offset 255 on line 9$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method get_instance_id\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Parameter \#1 \$search of function str_replace expects array\<string\>\|string, array\|int\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method get_method_id\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email.php
-
- -
- message: '#^Parameter \#1 \$str of function wordwrap expects string, string\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Parameter \#1 \$template_type of method WC_Email\:\:delete_template_action\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Parameter \#1 \$template_type of method WC_Email\:\:move_template_action\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method has_downloadable_item\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Parameter \#1 \$text of function esc_html expects string, string\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/emails/class-wc-email.php
+ message: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Parameter \#1 \$unprocessedHtml of static method Automattic\\WooCommerce\\Vendor\\Pelago\\Emogrifier\\HtmlProcessor\\AbstractHtmlProcessor\:\:fromHtml\(\) expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''is_email'' given\.$#'
- identifier: argument.type
- count: 3
- path: includes/emails/class-wc-email.php
+ message: '#^Expected 2 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Parameter \$mailer of method WC_Email\:\:handle_multipart\(\) has invalid type PHPMailer\.$#'
- identifier: class.notFound
+ message: '#^Method WC_Gateway_COD\:\:email_instructions\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Variable \$template in empty\(\) always exists and is not falsy\.$#'
- identifier: empty.variable
+ message: '#^Method WC_Gateway_COD\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/emails/class-wc-email.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Method WC_CSV_Batch_Exporter\:\:export\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_COD\:\:setup_properties\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/abstract-wc-csv-batch-exporter.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Method WC_CSV_Batch_Exporter\:\:generate_file\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_COD\:\:thankyou_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/abstract-wc-csv-batch-exporter.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Method WC_CSV_Batch_Exporter\:\:get_file\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 152 on line 7$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/export/abstract-wc-csv-batch-exporter.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Method WC_CSV_Batch_Exporter\:\:get_headers_row_file\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/export/abstract-wc-csv-batch-exporter.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Method WC_CSV_Batch_Exporter\:\:set_page\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Gateway_COD\:\:\$enable_for_methods \(array\) does not accept string\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/export/abstract-wc-csv-batch-exporter.php
+ path: includes/gateways/cod/class-wc-gateway-cod.php
-
- message: '#^Method WC_CSV_Batch_Exporter\:\:write_csv_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$ACK\.$#'
+ identifier: property.notFound
count: 1
- path: includes/export/abstract-wc-csv-batch-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:export\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$AMT\.$#'
+ identifier: property.notFound
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:export_column_headers\(\) should return string but returns string\|false\.$#'
- identifier: return.type
- count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ message: '#^Access to an undefined property object\:\:\$AUTHORIZATIONID\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:export_row\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$GROSSREFUNDAMT\.$#'
+ identifier: property.notFound
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:fputcsv\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$REFUNDTRANSACTIONID\.$#'
+ identifier: property.notFound
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:prepare_data_to_export\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$TRANSACTIONID\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:send_content\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:send_headers\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Found usage of constant DOING_AJAX\. Use wp_doing_ajax\(\) instead\.$#'
+ identifier: phpstanWP.wpConstant.fetch
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:set_column_names\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal\:\:admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:set_columns_to_export\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal\:\:admin_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:set_filename\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal\:\:capture_payment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_CSV_Exporter\:\:set_limit\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal\:\:enqueue_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Parameter \#1 \$buffer of method WC_CSV_Exporter\:\:fputcsv\(\) expects resource, resource\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Gateway_Paypal\:\:init_api\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Parameter \#2 \$value of function apache_setenv expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Gateway_Paypal\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Possibly invalid array key type array\|string\.$#'
- identifier: offsetAccess.invalidOffset
+ message: '#^Method WC_Gateway_Paypal\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/abstract-wc-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Method WC_Gateway_Paypal\:\:render_buttons_container\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Argument of an invalid type array\|stdClass supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 161 on line 7$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_parent_data\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal\:\:can_refund_order\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Cannot access property \$products on array\|stdClass\.$#'
- identifier: property.nonObject
+ message: '#^Parameter \#1 \$order of static method WC_Gateway_Paypal_API_Handler\:\:refund_transaction\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Cannot access property \$total on array\|stdClass\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ message: '#^Static property WC_Gateway_Paypal\:\:\$log \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
+ count: 2
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Cannot call method get_id\(\) on int\.$#'
- identifier: method.nonObject
+ message: '#^Static property WC_Gateway_Paypal\:\:\$log \(WC_Logger\) does not accept default value of type false\.$#'
+ identifier: property.defaultValue
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Cannot call method get_sku\(\) on int\.$#'
- identifier: method.nonObject
+ message: '#^Static property WC_Gateway_Paypal\:\:\$log \(WC_Logger\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
count: 2
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
-
- message: '#^Method WC_Product\:\:get_children\(\) invoked with 1 parameter, 0 required\.$#'
- identifier: arguments.count
+ message: '#^Method WC_Gateway_Paypal_Refund\:\:refund_order\(\) should return object but returns array\.$#'
+ identifier: return.type
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:enable_meta_export\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_id\(\) on WC_Order\|true\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_backorders\(\) should return string but returns int\.$#'
- identifier: return.type
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:check_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_download_expiry\(\) should return string but returns int\<min, \-1\>\|int\<1, max\>\|string\.$#'
- identifier: return.type
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_canceled_reversal\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_download_limit\(\) should return string but returns int\<min, \-1\>\|int\<1, max\>\|string\.$#'
- identifier: return.type
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_completed\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_stock\(\) should return string but returns int\|null\.$#'
- identifier: return.type
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_denied\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_stock_status\(\) should return string but returns int\.$#'
- identifier: return.type
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_expired\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:prepare_attributes_for_export\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_failed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:prepare_data_to_export\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_paid_cancelled_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:prepare_downloads_for_export\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_pending\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:prepare_meta_for_export\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_refunded\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:set_product_ids_to_export\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_reversed\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Product_CSV_Exporter\:\:set_product_types_to_export\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_voided\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Parameter \#1 \$linked_products of method WC_Product_CSV_Exporter\:\:prepare_linked_products_for_export\(\) expects array\<int\>, array\<WC_Product\> given\.$#'
- identifier: argument.type
- count: 2
- path: includes/export/class-wc-product-csv-exporter.php
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:save_paypal_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Parameter \#1 \$term_ids of method WC_CSV_Exporter\:\:format_term_ids\(\) expects array, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:send_ipn_email_notification\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Parameter \#2 \$array of function array_map expects array, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:valid_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/export/class-wc-product-csv-exporter.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^@param object \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_currency\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Argument of an invalid type array\|string supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_ipn\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Cannot call method get_billing_country\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_receiver_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_transaction_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{\$this\(WC_Gateway_Paypal_IPN_Handler\), non\-falsy\-string\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$value of method WC_Order\:\:set_transaction_id\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Default value of the parameter \#1 \$order_id \(string\) of method WC_Gateway_BACS\:\:bank_details\(\) is incompatible with type int\.$#'
- identifier: parameter.defaultValue
+ message: '#^Parameter \#2 \$txn_id of method WC_Gateway_Paypal_Response\:\:payment_complete\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Gateway_BACS\:\:bank_details\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Gateway_BACS\:\:email_instructions\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
-
- message: '#^Method WC_Gateway_BACS\:\:generate_account_details_html\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Cannot access offset ''custom'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Method WC_Gateway_BACS\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset ''payment_status'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Method WC_Gateway_BACS\:\:save_account_details\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset ''pending_reason'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Method WC_Gateway_BACS\:\:thankyou_page\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ message: '#^Cannot access offset ''receiver_email'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 185 on line 7$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ message: '#^Cannot call method add_meta_data\(\) on WC_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
- identifier: argument.type
- count: 6
- path: includes/gateways/bacs/class-wc-gateway-bacs.php
+ message: '#^Cannot call method get_id\(\) on WC_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^@param object \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Cannot call method get_total\(\) on WC_Order\|true\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ message: '#^Cannot call method set_transaction_id\(\) on WC_Order\|true\.$#'
identifier: method.nonObject
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Gateway_Paypal_PDT_Handler\:\:check_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Gateway_Paypal_PDT_Handler\:\:check_response_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Method WC_Gateway_Cheque\:\:email_instructions\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_PDT_Handler\:\:set_receiver_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Method WC_Gateway_Cheque\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Response\:\:payment_complete\(\) expects WC_Order, WC_Order\|true given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Method WC_Gateway_Cheque\:\:thankyou_page\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Response\:\:payment_on_hold\(\) expects WC_Order, WC_Order\|true given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Parameter \#1 \$transaction of method WC_Gateway_Paypal_PDT_Handler\:\:validate_transaction\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 172 on line 7$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund\|false given\.$#'
+ message: '#^Parameter \#2 \$txn_id of method WC_Gateway_Paypal_Response\:\:payment_complete\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/gateways/cheque/class-wc-gateway-cheque.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- message: '#^Method WC_Payment_Gateway_CC\:\:form\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Binary operation "\*" between string and int results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/gateways/class-wc-payment-gateway-cc.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Method WC_Payment_Gateway_CC\:\:payment_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Binary operation "\+" between string and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Binary operation "\+\=" between string and string results in an error\.$#'
+ identifier: assignOp.invalid
count: 1
- path: includes/gateways/class-wc-payment-gateway-cc.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Method WC_Payment_Gateway_ECheck\:\:form\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/gateways/class-wc-payment-gateway-echeck.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Method WC_Payment_Gateway_ECheck\:\:payment_fields\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_Request\:\:add_line_item\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/class-wc-payment-gateway-echeck.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Method WC_Gateway_Paypal_Request\:\:delete_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Gateway_Paypal_Request\:\:get_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Cannot call method get_instance_id\(\) on class\-string\|object\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Gateway_Paypal_Request\:\:prepare_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Cannot call method get_method_id\(\) on class\-string\|object\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$price of method WC_Gateway_Paypal_Request\:\:round\(\) expects float, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Cannot call method has_downloadable_item\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ message: '#^Parameter \#3 \$amount of method WC_Gateway_Paypal_Request\:\:add_line_item\(\) expects float, string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Cannot call method payment_complete\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
-
- message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Access to an undefined property object\:\:\$order_id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
-
- message: '#^Expected 2 @param tags, found 1\.$#'
- identifier: paramTag.count
+ message: '#^Access to an undefined property object\:\:\$order_key\.$#'
+ identifier: property.notFound
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
-
- message: '#^Method WC_Gateway_COD\:\:email_instructions\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_key\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
-
- message: '#^Method WC_Gateway_COD\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Gateway_Paypal_Response\:\:get_paypal_order\(\) should return bool\|WC_Order but returns WC_Order\|WC_Order_Refund\.$#'
+ identifier: return.type
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
-
- message: '#^Method WC_Gateway_COD\:\:setup_properties\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_Response\:\:payment_complete\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
-
- message: '#^Method WC_Gateway_COD\:\:thankyou_page\(\) has no return type specified\.$#'
+ message: '#^Method WC_Gateway_Paypal_Response\:\:payment_on_hold\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 152 on line 7$#'
- identifier: phpDoc.parseError
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Webhook_Handler\:\:process_webhook\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
-
- message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method object\:\:set_variation\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/import/abstract-wc-product-importer.php
-
- message: '#^Property WC_Gateway_COD\:\:\$enable_for_methods \(array\) does not accept string\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_Product_Importer\:\:set_image_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/cod/class-wc-gateway-cod.php
+ path: includes/import/abstract-wc-product-importer.php
-
- message: '#^Access to an undefined property object\:\:\$ACK\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Product_Importer\:\:set_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/abstract-wc-product-importer.php
-
- message: '#^Access to an undefined property object\:\:\$AMT\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Product_Importer\:\:set_product_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/abstract-wc-product-importer.php
-
- message: '#^Access to an undefined property object\:\:\$AUTHORIZATIONID\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Product_Importer\:\:set_variation_data\(\) should return WC_Product\|WP_Error but return statement is missing\.$#'
+ identifier: return.missing
count: 2
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/abstract-wc-product-importer.php
-
- message: '#^Access to an undefined property object\:\:\$GROSSREFUNDAMT\.$#'
- identifier: property.notFound
+ message: '#^Parameter \#1 \$attribute_name of function wc_attribute_taxonomy_name expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/abstract-wc-product-importer.php
-
- message: '#^Access to an undefined property object\:\:\$REFUNDTRANSACTIONID\.$#'
- identifier: property.notFound
+ message: '#^Parameter \#1 \$name of function wc_attribute_taxonomy_id_by_name expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/abstract-wc-product-importer.php
-
- message: '#^Access to an undefined property object\:\:\$TRANSACTIONID\.$#'
- identifier: property.notFound
- count: 2
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ message: '#^Parameter \#2 \$array of function array_map expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/abstract-wc-product-importer.php
-
- message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Call to function is_wp_error\(\) with mixed will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 3
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer\:\:adjust_character_encoding\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Found usage of constant DOING_AJAX\. Use wp_doing_ajax\(\) instead\.$#'
- identifier: phpstanWP.wpConstant.fetch
+ message: '#^Method WC_Product_CSV_Importer\:\:parse_bool_field\(\) should return bool\|string but returns array\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal\:\:admin_options\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Product_CSV_Importer\:\:parse_download_file_field\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal\:\:admin_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Product_CSV_Importer\:\:parse_tax_status_field\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal\:\:capture_payment\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_CSV_Importer\:\:read_file\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_CSV_Importer\:\:set_mapped_keys\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal\:\:init_api\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_CSV_Importer\:\:set_parsed_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset ''name'' might not exist on array\{url\: mixed, name\?\: mixed, id\?\: mixed\}\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal\:\:log\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal\:\:render_buttons_container\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\|null\)\: mixed\)\|null, ''trim'' given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 161 on line 7$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \#1 \$value of method WC_Product_Importer\:\:unescape_data\(\) expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal\:\:can_refund_order\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|false given\.$#'
+ message: '#^Parameter \#2 \$array of function array_map expects array, list\<string\|null\>\|false\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Parameter \#1 \$order of static method WC_Gateway_Paypal_API_Handler\:\:refund_transaction\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|false given\.$#'
+ message: '#^Parameter \#2 \$array of function array_map expects array, list\<string\|null\>\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Static property WC_Gateway_Paypal\:\:\$log \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
- identifier: assign.propertyType
- count: 2
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Static property WC_Gateway_Paypal\:\:\$log \(WC_Logger\) does not accept default value of type false\.$#'
- identifier: property.defaultValue
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int\<1, max\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Static property WC_Gateway_Paypal\:\:\$log \(WC_Logger\) in empty\(\) is not falsy\.$#'
- identifier: empty.property
- count: 2
- path: includes/gateways/paypal/class-wc-gateway-paypal.php
+ message: '#^Property WC_Product_Importer\:\:\$file_position \(int\) does not accept int\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal_Refund\:\:refund_order\(\) should return object but returns array\.$#'
- identifier: return.type
+ message: '#^Property WC_Product_Importer\:\:\$raw_keys \(array\) does not accept array\|string\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Cannot call method get_id\(\) on WC_Order\|true\.$#'
- identifier: method.nonObject
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/import/class-wc-product-csv-importer.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:check_response\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$str of function urlencode expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_canceled_reversal\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Integration_MaxMind_Database_Service\:\:\$database_prefix \(string\) does not accept string\|null\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_completed\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_denied\(\) has no return type specified\.$#'
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:add_missing_license_key_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_expired\(\) has no return type specified\.$#'
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:admin_options\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_failed\(\) has no return type specified\.$#'
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:display_missing_license_key_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_paid_cancelled_order\(\) has no return type specified\.$#'
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_pending\(\) has no return type specified\.$#'
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:remove_missing_license_key_notice\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_refunded\(\) has no return type specified\.$#'
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:update_database\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_reversed\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Variable \$this might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/integrations/maxmind-geolocation/views/html-admin-options.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_voided\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Order_Data_Store_Interface\:\:delete_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-abstract-order-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:save_paypal_meta_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Order_Data_Store_Interface\:\:update_payment_token_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-abstract-order-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:send_ipn_email_notification\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon_Data_Store_Interface\:\:decrease_usage_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-coupon-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:valid_response\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupon_Data_Store_Interface\:\:increase_usage_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-coupon-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_amount\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:delete_by_download_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_currency\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:delete_by_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_ipn\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:delete_by_order_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_receiver_email\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:update_download_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_transaction_type\(\) has no return type specified\.$#'
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:update_user_by_order_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
-
- message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{\$this\(WC_Gateway_Paypal_IPN_Handler\), non\-falsy\-string\} given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Logger_Interface\:\:alert\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-logger-interface.php
-
- message: '#^Parameter \#1 \$value of method WC_Order\:\:set_transaction_id\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Logger_Interface\:\:critical\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-logger-interface.php
-
- message: '#^Parameter \#2 \$txn_id of method WC_Gateway_Paypal_Response\:\:payment_complete\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Logger_Interface\:\:debug\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-logger-interface.php
-
- message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
- identifier: argument.type
- count: 2
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ message: '#^Method WC_Logger_Interface\:\:emergency\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
-
- message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Logger_Interface\:\:error\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+ path: includes/interfaces/class-wc-logger-interface.php
-
- message: '#^Cannot access offset ''custom'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Logger_Interface\:\:info\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-logger-interface.php
-
- message: '#^Cannot access offset ''payment_status'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Logger_Interface\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-logger-interface.php
-
- message: '#^Cannot access offset ''pending_reason'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Logger_Interface\:\:notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- -
- message: '#^Cannot access offset ''receiver_email'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 2
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
-
- -
- message: '#^Cannot call method add_meta_data\(\) on WC_Order\|true\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-logger-interface.php
-
- message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Logger_Interface\:\:warning\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-logger-interface.php
-
- message: '#^Cannot call method get_id\(\) on WC_Order\|true\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ message: '#^Method WC_Object_Data_Store_Interface\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-object-data-store-interface.php
-
- message: '#^Cannot call method get_total\(\) on WC_Order\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Object_Data_Store_Interface\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-object-data-store-interface.php
-
- message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Object_Data_Store_Interface\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-object-data-store-interface.php
-
- message: '#^Cannot call method set_transaction_id\(\) on WC_Order\|true\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Object_Data_Store_Interface\:\:update_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-object-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_PDT_Handler\:\:check_response\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_Interface\:\:set_download_permissions_granted\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-order-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_PDT_Handler\:\:check_response_for_order\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_Interface\:\:set_recorded_coupon_usage_counts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-order-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_PDT_Handler\:\:set_receiver_email\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Data_Store_Interface\:\:set_recorded_sales\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-order-data-store-interface.php
-
- message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Response\:\:payment_complete\(\) expects WC_Order, WC_Order\|true given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Order_Item_Data_Store_Interface\:\:delete_order_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-order-item-data-store-interface.php
-
- message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Response\:\:payment_on_hold\(\) expects WC_Order, WC_Order\|true given\.$#'
- identifier: argument.type
- count: 3
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ message: '#^Method WC_Order_Item_Type_Data_Store_Interface\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-order-item-type-data-store-interface.php
-
- message: '#^Parameter \#1 \$transaction of method WC_Gateway_Paypal_PDT_Handler\:\:validate_transaction\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_Data_Store_Interface\:\:sort_all_product_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-product-data-store-interface.php
-
- message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_Data_Store_Interface\:\:update_product_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-product-data-store-interface.php
-
- message: '#^Parameter \#2 \$txn_id of method WC_Gateway_Paypal_Response\:\:payment_complete\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Product_Data_Store_Interface\:\:update_product_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+ path: includes/interfaces/class-wc-product-data-store-interface.php
-
- message: '#^Binary operation "\*" between string and int results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:delete_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
-
- message: '#^Binary operation "\+" between string and string results in an error\.$#'
- identifier: binaryOp.invalid
- count: 2
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:sync_managed_variation_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
-
- message: '#^Binary operation "\+\=" between string and string results in an error\.$#'
- identifier: assignOp.invalid
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:sync_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:sync_variation_names\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_Request\:\:add_line_item\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:untrash_variations\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
-
- message: '#^Method WC_Gateway_Paypal_Request\:\:delete_line_items\(\) has no return type specified\.$#'
+ message: '#^Method WC_Queue_Interface\:\:cancel\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ path: includes/interfaces/class-wc-queue-interface.php
-
- message: '#^Method WC_Gateway_Paypal_Request\:\:get_line_items\(\) has no return type specified\.$#'
+ message: '#^Method WC_Queue_Interface\:\:cancel_all\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ path: includes/interfaces/class-wc-queue-interface.php
-
- message: '#^Method WC_Gateway_Paypal_Request\:\:prepare_line_items\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Zone_Data_Store_Interface\:\:delete_method\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ path: includes/interfaces/class-wc-shipping-zone-data-store-interface.php
-
- message: '#^Parameter \#1 \$price of method WC_Gateway_Paypal_Request\:\:round\(\) expects float, string given\.$#'
- identifier: argument.type
+ message: '#^Access to an undefined property object\:\:\$amount\.$#'
+ identifier: property.notFound
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, string\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#3 \$amount of method WC_Gateway_Paypal_Request\:\:add_line_item\(\) expects float, string given\.$#'
- identifier: argument.type
- count: 4
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ message: '#^Access to an undefined property object\:\:\$tax\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Access to an undefined property object\:\:\$tax_class\.$#'
+ identifier: property.notFound
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Access to an undefined property object\:\:\$order_id\.$#'
+ message: '#^Access to an undefined property object\:\:\$tax_data\.$#'
identifier: property.notFound
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Access to an undefined property object\:\:\$order_key\.$#'
+ message: '#^Access to an undefined property object\:\:\$taxable\.$#'
identifier: property.notFound
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_key\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:add_item\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:calculate_shipping\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Gateway_Paypal_Response\:\:get_paypal_order\(\) should return bool\|WC_Order but returns WC_Order\|WC_Order_Refund\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_billing_email\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Gateway_Paypal_Response\:\:payment_complete\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_cart_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Gateway_Paypal_Response\:\:payment_on_hold\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_coupon_codes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_currency\(\)\.$#'
+ identifier: method.notFound
count: 2
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Gateway_Paypal_Webhook_Handler\:\:process_webhook\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_customer_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Call to an undefined method object\:\:set_variation\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_customer_note\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/import/abstract-wc-product-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_Importer\:\:set_image_data\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/import/abstract-wc-product-importer.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_completed\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_Importer\:\:set_meta_data\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/import/abstract-wc-product-importer.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_created\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_Importer\:\:set_product_data\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/import/abstract-wc-product-importer.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_modified\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_Importer\:\:set_variation_data\(\) should return WC_Product\|WP_Error but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_paid\(\)\.$#'
+ identifier: method.notFound
count: 2
- path: includes/import/abstract-wc-product-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#1 \$attribute_name of function wc_attribute_taxonomy_name expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_discount_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/abstract-wc-product-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#1 \$name of function wc_attribute_taxonomy_id_by_name expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/import/abstract-wc-product-importer.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_item\(\)\.$#'
+ identifier: method.notFound
+ count: 6
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#2 \$array of function array_map expects array, list\<string\>\|false given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_order_key\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/abstract-wc-product-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_shipping_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/abstract-wc-product-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Call to function is_wp_error\(\) with mixed will always evaluate to false\.$#'
- identifier: function.impossibleType
- count: 3
- path: includes/import/class-wc-product-csv-importer.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_shipping_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_CSV_Importer\:\:adjust_character_encoding\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_CSV_Importer\:\:parse_bool_field\(\) should return bool\|string but returns array\|string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_total\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_CSV_Importer\:\:parse_download_file_field\(\) should return string but returns array\|string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_total_discount\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_CSV_Importer\:\:parse_tax_status_field\(\) should return string but returns array\|string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_type\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_CSV_Importer\:\:read_file\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_version\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_CSV_Importer\:\:set_mapped_keys\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:is_download_permitted\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Product_CSV_Importer\:\:set_parsed_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_cart_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Offset ''name'' might not exist on array\{url\: mixed, name\?\: mixed, id\?\: mixed\}\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_discount_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, string given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_discount_total\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\|null\)\: mixed\)\|null, ''trim'' given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_shipping_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#1 \$value of method WC_Product_Importer\:\:unescape_data\(\) expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_shipping_total\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#2 \$array of function array_map expects array, list\<string\|null\>\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_total\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#2 \$array of function array_map expects array, list\<string\|null\>\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:update_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method object\:\:add_meta_data\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int\<1, max\> given\.$#'
- identifier: argument.type
- count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 10
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Property WC_Product_Importer\:\:\$file_position \(int\) does not accept int\|false\.$#'
- identifier: assign.propertyType
- count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ message: '#^Call to an undefined method object\:\:is_type\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Property WC_Product_Importer\:\:\$raw_keys \(array\) does not accept array\|string\.$#'
- identifier: assign.propertyType
- count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ message: '#^Call to an undefined method object\:\:read\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 1
- path: includes/import/class-wc-product-csv-importer.php
+ message: '#^Call to an undefined method object\:\:save\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Parameter \#1 \$str of function urlencode expects string, array\|string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
+ message: '#^Call to an undefined method object\:\:set_order_id\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Property WC_Integration_MaxMind_Database_Service\:\:\$database_prefix \(string\) does not accept string\|null\.$#'
- identifier: assign.propertyType
- count: 1
- path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
+ message: '#^Call to an undefined method object\:\:set_props\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
- count: 1
- path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+ message: '#^Cannot call method get_product\(\) on array\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Integration_MaxMind_Geolocation\:\:add_missing_license_key_notice\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Legacy_Order\:\:add_shipping\(\) has parameter \$shipping_rate with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Integration_MaxMind_Geolocation\:\:admin_options\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:cancel_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Integration_MaxMind_Geolocation\:\:display_missing_license_key_notice\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:decrease_coupon_usage_counts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Integration_MaxMind_Geolocation\:\:init_form_fields\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:display_item_downloads\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Integration_MaxMind_Geolocation\:\:remove_missing_license_key_notice\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:display_item_meta\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Integration_MaxMind_Geolocation\:\:update_database\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:get_order_currency\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Variable \$this might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Method WC_Abstract_Legacy_Order\:\:increase_coupon_usage_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/integrations/maxmind-geolocation/views/html-admin-options.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Abstract_Order_Data_Store_Interface\:\:delete_items\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-abstract-order-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Abstract_Order_Data_Store_Interface\:\:update_payment_token_ids\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:populate\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-abstract-order-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Coupon_Data_Store_Interface\:\:decrease_usage_count\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:record_product_sales\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-coupon-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Coupon_Data_Store_Interface\:\:increase_usage_count\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:reduce_order_stock\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-coupon-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:delete_by_download_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:delete_by_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has parameter \$new_stock with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:delete_by_order_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has parameter \$product with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:update_download_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has parameter \$qty_ordered with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:update_user_by_order_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Order\:\:set_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Logger_Interface\:\:alert\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_coupon\(\) should return int but returns false\.$#'
+ identifier: return.type
count: 1
- path: includes/interfaces/class-wc-logger-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Logger_Interface\:\:critical\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_fee\(\) should return int but returns false\.$#'
+ identifier: return.type
count: 1
- path: includes/interfaces/class-wc-logger-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Logger_Interface\:\:debug\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_product\(\) should return int but returns false\.$#'
+ identifier: return.type
count: 1
- path: includes/interfaces/class-wc-logger-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Logger_Interface\:\:emergency\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_shipping\(\) should return int but returns false\.$#'
+ identifier: return.type
count: 1
- path: includes/interfaces/class-wc-logger-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Logger_Interface\:\:error\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_tax\(\) should return int but returns false\.$#'
+ identifier: return.type
count: 1
- path: includes/interfaces/class-wc-logger-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Logger_Interface\:\:info\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate shipping_rate\)\: Unexpected token "shipping_rate", expected variable at offset 69 on line 3$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/interfaces/class-wc-logger-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Logger_Interface\:\:log\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order of function wc_get_email_order_items expects WC_Order, \$this\(WC_Abstract_Legacy_Order\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/interfaces/class-wc-logger-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Logger_Interface\:\:notice\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of method WC_Order_Item_Product\:\:set_product\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/interfaces/class-wc-logger-interface.php
+ path: includes/legacy/abstract-wc-legacy-order.php
-
- message: '#^Method WC_Logger_Interface\:\:warning\(\) has no return type specified\.$#'
+ message: '#^Method WC_Legacy_Payment_Token\:\:create\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-logger-interface.php
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
-
- message: '#^Method WC_Object_Data_Store_Interface\:\:create\(\) has no return type specified\.$#'
+ message: '#^Method WC_Legacy_Payment_Token\:\:read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-object-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
-
- message: '#^Method WC_Object_Data_Store_Interface\:\:read\(\) has no return type specified\.$#'
+ message: '#^Method WC_Legacy_Payment_Token\:\:set_type\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-object-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
-
- message: '#^Method WC_Object_Data_Store_Interface\:\:update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Legacy_Payment_Token\:\:set_type\(\) has parameter \$type with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/interfaces/class-wc-object-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
-
- message: '#^Method WC_Object_Data_Store_Interface\:\:update_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Legacy_Payment_Token\:\:update\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/interfaces/class-wc-object-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
-
- message: '#^Method WC_Order_Data_Store_Interface\:\:set_download_permissions_granted\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @param has invalid value \(string Payment Token Type \(CC, eCheck\)\)\: Unexpected token "Payment", expected variable at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/interfaces/class-wc-order-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
-
- message: '#^Method WC_Order_Data_Store_Interface\:\:set_recorded_coupon_usage_counts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_Abstract_Legacy_Product\:\:\$post_type\.$#'
+ identifier: property.notFound
count: 1
- path: includes/interfaces/class-wc-order-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Order_Data_Store_Interface\:\:set_recorded_sales\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:child_has_dimensions\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/interfaces/class-wc-order-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Order_Item_Data_Store_Interface\:\:delete_order_item\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:child_has_weight\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/interfaces/class-wc-order-item-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Order_Item_Type_Data_Store_Interface\:\:save_item_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_catalog_visibility\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/interfaces/class-wc-order-item-type-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Product_Data_Store_Interface\:\:sort_all_product_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/interfaces/class-wc-product-data-store-interface.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_children\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Product_Data_Store_Interface\:\:update_product_sales\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/interfaces/class-wc-product-data-store-interface.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_cross_sell_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Product_Data_Store_Interface\:\:update_product_stock\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/interfaces/class-wc-product-data-store-interface.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_date_on_sale_from\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:delete_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_date_on_sale_to\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:sync_managed_variation_stock_status\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_default_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:sync_price\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_description\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:sync_variation_names\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_downloadable\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:untrash_variations\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Queue_Interface\:\:cancel\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_featured\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/interfaces/class-wc-queue-interface.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Queue_Interface\:\:cancel_all\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/interfaces/class-wc-queue-interface.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_gallery_image_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Shipping_Zone_Data_Store_Interface\:\:delete_method\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_manage_stock\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/interfaces/class-wc-shipping-zone-data-store-interface.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Access to an undefined property object\:\:\$amount\.$#'
- identifier: property.notFound
- count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Access to an undefined property object\:\:\$name\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_shipping_class\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Access to an undefined property object\:\:\$tax\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_shipping_class_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Access to an undefined property object\:\:\$tax_class\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_sold_individually\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Access to an undefined property object\:\:\$tax_data\.$#'
- identifier: property.notFound
- count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_stock_quantity\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Access to an undefined property object\:\:\$taxable\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_type\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:add_item\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_upsell_ids\(\)\.$#'
identifier: method.notFound
- count: 4
- path: includes/legacy/abstract-wc-legacy-order.php
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:calculate_shipping\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_variation_attributes\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_billing_email\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_virtual\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_cart_tax\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:has_dimensions\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_coupon_codes\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:has_weight\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_currency\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:is_type\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-order.php
+ count: 7
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_customer_id\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:is_visible\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_customer_note\(\)\.$#'
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:managing_stock\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_completed\(\)\.$#'
+ message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-order.php
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_created\(\)\.$#'
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_related_products_query\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-order.php
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_modified\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-order.php
-
- -
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_paid\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Call to an undefined static method WC_Abstract_Legacy_Product\:\:sync\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_discount_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot call method get_children\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_item\(\)\.$#'
- identifier: method.notFound
- count: 6
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_order_key\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:adjust_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_shipping_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
-
- -
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_shipping_total\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$cats_array with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$exclude_ids with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_total_discount\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$limit with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_type\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$tags_array with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_version\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:check_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:is_download_permitted\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_child\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_cart_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_display_price\(\) should return string but returns float\.$#'
+ identifier: return.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_discount_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_matching_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_discount_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_post_data\(\) should return WP_Post but returns WP_Post\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_shipping_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_price_excluding_tax\(\) should return string but returns float\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_shipping_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_price_including_tax\(\) should return string but returns float\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_related_terms\(\) has parameter \$term with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:update_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_tags\(\) should return array but returns string\.$#'
+ identifier: return.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method object\:\:add_meta_data\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_total_stock\(\) should return int but returns float\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
-
- -
- message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
- identifier: method.notFound
- count: 10
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method object\:\:is_type\(\)\.$#'
- identifier: method.notFound
- count: 5
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Method WC_Abstract_Legacy_Product\:\:grouped_product_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method object\:\:read\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Method WC_Abstract_Legacy_Product\:\:increase_stock\(\) should return int but returns bool\|int\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method object\:\:save\(\)\.$#'
- identifier: method.notFound
- count: 5
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Method WC_Abstract_Legacy_Product\:\:list_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method object\:\:set_order_id\(\)\.$#'
- identifier: method.notFound
- count: 5
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Method WC_Abstract_Legacy_Product\:\:reduce_stock\(\) should return int but returns bool\|int\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Call to an undefined method object\:\:set_props\(\)\.$#'
- identifier: method.notFound
- count: 5
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Method WC_Abstract_Legacy_Product\:\:set_stock\(\) should return int but returns bool\|int\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Cannot call method get_product\(\) on array\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Method WC_Abstract_Legacy_Product\:\:sync_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:add_shipping\(\) has parameter \$shipping_rate with no type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Product\:\:sync_attributes\(\) has parameter \$product with no type specified\.$#'
identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:cancel_order\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Product\:\:sync_average_rating\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:decrease_coupon_usage_counts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Product\:\:sync_rating_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:display_item_downloads\(\) has no return type specified\.$#'
+ message: '#^Method WC_Abstract_Legacy_Product\:\:variable_product_sync\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:display_item_meta\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of function wc_display_product_attributes expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:get_order_currency\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of function wc_get_price_excluding_tax expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:increase_coupon_usage_counts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of function wc_get_price_including_tax expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of function wc_get_price_to_display expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:populate\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Parameter \#1 \$product of function wc_update_product_stock expects int\|WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:record_product_sales\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_average_rating_for_product\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:reduce_order_stock\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_average_rating_for_product\(\) is passed by reference, so it expects variables only\.$#'
+ identifier: argument.byRef
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_rating_counts_for_product\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has parameter \$new_stock with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_rating_counts_for_product\(\) is passed by reference, so it expects variables only\.$#'
+ identifier: argument.byRef
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has parameter \$product with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#1 \$rating of function wc_get_rating_html expects float, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has parameter \$qty_ordered with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:set_address\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 3
+ path: includes/legacy/abstract-wc-legacy-product.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:update_coupon\(\) should return int but returns false\.$#'
- identifier: return.type
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$cart_contents\.$#'
+ identifier: property.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:update_fee\(\) should return int but returns false\.$#'
- identifier: return.type
- count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$fees\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:update_product\(\) should return int but returns false\.$#'
- identifier: return.type
- count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$session\.$#'
+ identifier: property.notFound
+ count: 6
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:update_shipping\(\) should return int but returns false\.$#'
- identifier: return.type
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$tax\.$#'
+ identifier: property.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Order\:\:update_tax\(\) should return int but returns false\.$#'
- identifier: return.type
- count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$totals\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate shipping_rate\)\: Unexpected token "shipping_rate", expected variable at offset 69 on line 3$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:apply_coupon\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Parameter \#1 \$order of function wc_get_email_order_items expects WC_Order, \$this\(WC_Abstract_Legacy_Order\) given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:display_prices_including_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Parameter \#1 \$product of method WC_Order_Item_Product\:\:set_product\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:fees_api\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-order.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Legacy_Payment_Token\:\:create\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-payment-token.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Legacy_Payment_Token\:\:read\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-payment-token.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Legacy_Payment_Token\:\:set_type\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_total\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-payment-token.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Legacy_Payment_Token\:\:set_type\(\) has parameter \$type with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_weight\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-payment-token.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Legacy_Payment_Token\:\:update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_coupons\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-payment-token.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^PHPDoc tag @param has invalid value \(string Payment Token Type \(CC, eCheck\)\)\: Unexpected token "Payment", expected variable at offset 99 on line 4$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/legacy/abstract-wc-legacy-payment-token.php
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_discount_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Access to an undefined property WC_Abstract_Legacy_Product\:\:\$post_type\.$#'
- identifier: property.notFound
- count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_discount_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:child_has_dimensions\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_fee_tax\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:child_has_weight\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_fee_total\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_catalog_visibility\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_shipping_tax\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_children\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_shipping_total\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-product.php
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_cross_sell_ids\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_subtotal\(\)\.$#'
identifier: method.notFound
count: 2
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_date_on_sale_from\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_subtotal_tax\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-product.php
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_date_on_sale_to\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_tax_price_display_mode\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-product.php
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_default_attributes\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_total\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-product.php
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_description\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_cart_contents_tax\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_downloadable\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_cart_contents_taxes\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_downloads\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_cart_contents_total\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_featured\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_coupon_discount_tax_totals\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_gallery_image_ids\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_coupon_discount_totals\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-product.php
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_manage_stock\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_discount_tax\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_parent_id\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_discount_total\(\)\.$#'
identifier: method.notFound
- count: 4
- path: includes/legacy/abstract-wc-legacy-product.php
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_shipping_class\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_fee_tax\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_shipping_class_id\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_fee_total\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_sold_individually\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_shipping_tax\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_stock_quantity\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_shipping_taxes\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/abstract-wc-legacy-product.php
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_type\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_shipping_total\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_upsell_ids\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_subtotal\(\)\.$#'
identifier: method.notFound
count: 2
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_variation_attributes\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_total\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_virtual\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Cart\:\:apply_cart_discounts_after_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:has_dimensions\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Cart\:\:apply_cart_discounts_after_tax\(\) has parameter \$price with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:has_weight\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Cart\:\:apply_cart_discounts_after_tax\(\) has parameter \$values with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
-
- -
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:is_type\(\)\.$#'
- identifier: method.notFound
- count: 7
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:is_visible\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Cart\:\:apply_product_discounts_after_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:managing_stock\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Cart\:\:apply_product_discounts_after_tax\(\) has parameter \$price with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Cart\:\:apply_product_discounts_after_tax\(\) has parameter \$values with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_related_products_query\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Cart\:\:get_cart_for_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Call to an undefined static method WC_Abstract_Legacy_Product\:\:sync\(\)\.$#'
- identifier: staticMethod.notFound
+ message: '#^Method WC_Legacy_Cart\:\:get_cart_from_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Cannot call method get_children\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Legacy_Cart\:\:get_discounts_after_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/legacy/abstract-wc-legacy-product.php
+ message: '#^Method WC_Legacy_Cart\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:adjust_price\(\) has no return type specified\.$#'
+ message: '#^Method WC_Legacy_Cart\:\:maybe_set_cart_cookies\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has no return type specified\.$#'
+ message: '#^Method WC_Legacy_Cart\:\:persistent_cart_destroy\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$cats_array with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Legacy_Cart\:\:persistent_cart_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$exclude_ids with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Legacy_Cart\:\:remove_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$limit with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Legacy_Cart\:\:set_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$tags_array with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^PHPDoc tag @param references unknown parameter\: \$value$#'
+ identifier: parameter.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:check_stock_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WC_Legacy_Cart\:\:\$cart_session_data has no type specified\.$#'
+ identifier: missingType.property
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-cart.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:get_child\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:decrease_usage_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:get_display_price\(\) should return string but returns float\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_amount\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:get_matching_variation\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_code\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:get_post_data\(\) should return WP_Post but returns WP_Post\|null\.$#'
- identifier: return.type
- count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_date_expires\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:get_price_excluding_tax\(\) should return string but returns float\|string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_discount_type\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:get_price_including_tax\(\) should return string but returns float\|string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_email_restrictions\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:get_related_terms\(\) has parameter \$term with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_exclude_sale_items\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:get_tags\(\) should return array but returns string\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_excluded_product_categories\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:get_total_stock\(\) should return int but returns float\|int\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_excluded_product_ids\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:grouped_product_sync\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_free_shipping\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:increase_stock\(\) should return int but returns bool\|int\|null\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_individual_use\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:list_attributes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_limit_usage_to_x_items\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:reduce_stock\(\) should return int but returns bool\|int\|null\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_maximum_amount\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:set_stock\(\) should return int but returns bool\|int\|null\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_minimum_amount\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:sync_attributes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_product_categories\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:sync_attributes\(\) has parameter \$product with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_product_ids\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:sync_average_rating\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_usage_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:sync_rating_count\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_usage_limit\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Method WC_Abstract_Legacy_Product\:\:variable_product_sync\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_usage_limit_per_user\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Parameter \#1 \$product of function wc_display_product_attributes expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:increase_usage_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Parameter \#1 \$product of function wc_get_price_excluding_tax expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Legacy_Coupon\:\:dcr_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Parameter \#1 \$product of function wc_get_price_including_tax expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Legacy_Coupon\:\:inc_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-coupon.php
-
- message: '#^Parameter \#1 \$product of function wc_get_price_to_display expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_address_1\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Parameter \#1 \$product of function wc_update_product_stock expects int\|WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
- identifier: argument.type
- count: 3
- path: includes/legacy/abstract-wc-legacy-product.php
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_address_2\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_average_rating_for_product\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_city\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_average_rating_for_product\(\) is passed by reference, so it expects variables only\.$#'
- identifier: argument.byRef
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_country\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_rating_counts_for_product\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_postcode\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_rating_counts_for_product\(\) is passed by reference, so it expects variables only\.$#'
- identifier: argument.byRef
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_state\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Parameter \#1 \$rating of function wc_get_rating_html expects float, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_address\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_address_2\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/abstract-wc-legacy-product.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Unreachable statement \- code above always terminates\.$#'
- identifier: deadCode.unreachable
- count: 3
- path: includes/legacy/abstract-wc-legacy-product.php
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_address_to_base\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$cart_contents\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_city\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$fees\.$#'
- identifier: property.notFound
- count: 2
- path: includes/legacy/class-wc-legacy-cart.php
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_country\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$session\.$#'
- identifier: property.notFound
- count: 6
- path: includes/legacy/class-wc-legacy-cart.php
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_location\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$tax\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_postcode\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$totals\.$#'
- identifier: property.notFound
- count: 2
- path: includes/legacy/class-wc-legacy-cart.php
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_state\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:apply_coupon\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_calculated_shipping\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:display_prices_including_tax\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_shipping_address_to_base\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:fees_api\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_shipping_location\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_count\(\)\.$#'
- identifier: method.notFound
+ message: '#^Default value of the parameter \#1 \$user_id \(string\) of method WC_Legacy_Customer\:\:is_paying_customer\(\) is incompatible with type int\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:calculated_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:get_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_weight\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:get_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_coupons\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:get_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_discount_tax\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/legacy/class-wc-legacy-cart.php
+ message: '#^Method WC_Legacy_Customer\:\:get_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_discount_total\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/legacy/class-wc-legacy-cart.php
+ message: '#^Method WC_Legacy_Customer\:\:get_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_fee_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:get_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_fee_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:save_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_shipping_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:set_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_shipping_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:set_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_subtotal\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/legacy/class-wc-legacy-cart.php
+ message: '#^Method WC_Legacy_Customer\:\:set_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_subtotal_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:set_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_tax_price_display_mode\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:set_default_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:set_location\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_cart_contents_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:set_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_cart_contents_taxes\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:set_shipping_to_base\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_cart_contents_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:set_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_coupon_discount_tax_totals\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Customer\:\:set_to_base\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-customer.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_coupon_discount_totals\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Shipping_Zone\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-shipping-zone.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_discount_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Shipping_Zone\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-shipping-zone.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_discount_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Legacy_Shipping_Zone\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-shipping-zone.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_fee_tax\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_api_version\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_fee_total\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_delivery_url\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_shipping_tax\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_event\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_shipping_taxes\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_failure_count\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_shipping_total\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_hooks\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_subtotal\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_resource\(\)\.$#'
identifier: method.notFound
- count: 2
- path: includes/legacy/class-wc-legacy-cart.php
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_total\(\)\.$#'
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_secret\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Method WC_Legacy_Cart\:\:apply_cart_discounts_after_tax\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Method WC_Legacy_Cart\:\:apply_cart_discounts_after_tax\(\) has parameter \$price with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_topic\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Method WC_Legacy_Cart\:\:apply_cart_discounts_after_tax\(\) has parameter \$values with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:set_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Method WC_Legacy_Cart\:\:apply_product_discounts_after_tax\(\) has no return type specified\.$#'
+ message: '#^Method WC_Legacy_Webhook\:\:update_status\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/legacy/class-wc-legacy-webhook.php
-
- message: '#^Method WC_Legacy_Cart\:\:apply_product_discounts_after_tax\(\) has parameter \$price with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Eval_Math\:\:debugPrintCallingFunction\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/class-wc-eval-math.php
-
- message: '#^Method WC_Legacy_Cart\:\:apply_product_discounts_after_tax\(\) has parameter \$values with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Eval_Math\:\:nfx\(\) never returns string so it can be removed from the return type\.$#'
+ identifier: return.unusedType
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/class-wc-eval-math.php
-
- message: '#^Method WC_Legacy_Cart\:\:get_cart_for_session\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ message: '#^Method WC_Eval_Math\:\:nfx\(\) should return array\|string but returns bool\.$#'
+ identifier: return.type
+ count: 13
+ path: includes/libraries/class-wc-eval-math.php
-
- message: '#^Method WC_Legacy_Cart\:\:get_cart_from_session\(\) has no return type specified\.$#'
+ message: '#^Method WC_Eval_Math_Stack\:\:push\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/class-wc-eval-math.php
-
- message: '#^Method WC_Legacy_Cart\:\:get_discounts_after_tax\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset ''file'' might not exist on array\{function\: string, line\?\: int, file\?\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: list\<mixed\>, object\?\: object\}\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/class-wc-eval-math.php
-
- message: '#^Method WC_Legacy_Cart\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset ''line'' might not exist on array\{function\: string, line\?\: int, file\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: list\<mixed\>, object\?\: object\}\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/class-wc-eval-math.php
-
- message: '#^Method WC_Legacy_Cart\:\:maybe_set_cart_cookies\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/class-wc-eval-math.php
-
- message: '#^Method WC_Legacy_Cart\:\:persistent_cart_destroy\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$str of function explode expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/class-wc-eval-math.php
-
- message: '#^Method WC_Legacy_Cart\:\:persistent_cart_update\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Static property WC_Eval_Math\:\:\$last_error \(string\) does not accept null\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/class-wc-eval-math.php
-
- message: '#^Method WC_Legacy_Cart\:\:remove_taxes\(\) has no return type specified\.$#'
+ message: '#^Method WP_Async_Request\:\:handle\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/wp-async-request.php
-
- message: '#^Method WC_Legacy_Cart\:\:set_session\(\) has no return type specified\.$#'
+ message: '#^Method WP_Async_Request\:\:maybe_handle\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/wp-async-request.php
-
- message: '#^PHPDoc tag @param references unknown parameter\: \$value$#'
- identifier: parameter.notFound
+ message: '#^Method WP_Background_Process\:\:cancel_process\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Property WC_Legacy_Cart\:\:\$cart_session_data has no type specified\.$#'
- identifier: missingType.property
+ message: '#^Method WP_Background_Process\:\:clear_scheduled_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-cart.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:decrease_usage_count\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WP_Background_Process\:\:complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_amount\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WP_Background_Process\:\:handle\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_code\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WP_Background_Process\:\:handle_cron_healthcheck\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
-
- -
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_date_expires\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_discount_type\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WP_Background_Process\:\:is_process_running\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_email_restrictions\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WP_Background_Process\:\:lock_process\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_exclude_sale_items\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WP_Background_Process\:\:maybe_handle\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_excluded_product_categories\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WP_Background_Process\:\:schedule_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_excluded_product_ids\(\)\.$#'
- identifier: method.notFound
+ message: '#^Strict comparison using \=\=\= between \-1 and non\-falsy\-string will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/libraries/wp-background-process.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_free_shipping\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Log_Handler_DB\:\:delete_logs_before_timestamp\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-db.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_individual_use\(\)\.$#'
- identifier: method.notFound
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-email.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_limit_usage_to_x_items\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Log_Handler_Email\:\:add_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-email.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_maximum_amount\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Log_Handler_Email\:\:add_log\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-email.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_minimum_amount\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Log_Handler_Email\:\:clear_logs\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-email.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_product_categories\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Log_Handler_Email\:\:set_threshold\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-email.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_product_ids\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, bool\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-email.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_usage_count\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot access offset ''size'' on array\{0\: int, 1\: int, 2\: int, 3\: int, 4\: int, 5\: int, 6\: int, 7\: int, \.\.\.\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_usage_limit\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Log_Handler_File\:\:cache_log\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_usage_limit_per_user\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Log_Handler_File\:\:delete_logs_before_timestamp\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Coupon\:\:increase_usage_count\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Log_Handler_File\:\:log_rotate\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Method WC_Legacy_Coupon\:\:dcr_usage_count\(\) has no return type specified\.$#'
+ message: '#^Method WC_Log_Handler_File\:\:write_cached_logs\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Method WC_Legacy_Coupon\:\:inc_usage_count\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/legacy/class-wc-legacy-coupon.php
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_address_1\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$filename of function filesize expects string, string\|true given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_address_2\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ message: '#^Parameter \#1 \$filename of function fopen expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_city\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$filename of function is_file expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_country\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$filename of function is_writable expects string, bool\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_postcode\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$filename of function is_writable expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_state\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$handle of method WC_Log_Handler_File\:\:close\(\) expects string, bool\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_address\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$handle of method WC_Log_Handler_File\:\:is_open\(\) expects string, bool\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_address_2\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_address_to_base\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$needle of function stripos expects int\|string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_city\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$new_name of function rename expects string, bool\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/log-handlers/class-wc-log-handler-file.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_country\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Payment_Token_CC\:\:set_card_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_location\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Payment_Token_CC\:\:set_expiry_month\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_postcode\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Payment_Token_CC\:\:set_expiry_year\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_state\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Payment_Token_CC\:\:set_last4\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_calculated_shipping\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Payment_Token_ECheck\:\:set_last4\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/payment-tokens/class-wc-payment-token-echeck.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_shipping_address_to_base\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_Usage\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/product-usage/class-wc-product-usage.php
-
- message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_shipping_location\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Product_Usage\:\:load\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/product-usage/class-wc-product-usage.php
-
- message: '#^Default value of the parameter \#1 \$user_id \(string\) of method WC_Legacy_Customer\:\:is_paying_customer\(\) is incompatible with type int\.$#'
- identifier: parameter.defaultValue
+ message: '#^Method WC_Action_Queue\:\:cancel\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/queue/class-wc-action-queue.php
-
- message: '#^Method WC_Legacy_Customer\:\:calculated_shipping\(\) has no return type specified\.$#'
+ message: '#^Method WC_Action_Queue\:\:cancel_all\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/queue/class-wc-action-queue.php
-
- message: '#^Method WC_Legacy_Customer\:\:get_address\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Queue\:\:validate_instance\(\) should return WC_Queue_Interface but returns object\.$#'
+ identifier: return.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/queue/class-wc-queue.php
-
- message: '#^Method WC_Legacy_Customer\:\:get_address_2\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$instance of static method WC_Queue\:\:validate_instance\(\) expects WC_Queue_Interface, object given\.$#'
+ identifier: argument.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/queue/class-wc-queue.php
-
- message: '#^Method WC_Legacy_Customer\:\:get_city\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Static property WC_Queue\:\:\$instance \(WC_Queue_Interface\|null\) does not accept object\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/queue/class-wc-queue.php
-
- message: '#^Method WC_Legacy_Customer\:\:get_country\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WooCommerce\\Admin\\Experimental_Abtest\:\:request_assignment\(\) should return array\|WP_Error but returns array\<string, array\<int\|string, int\|string\|WP_Http_Cookie\>\|string\|WP_HTTP_Requests_Response\|WpOrg\\Requests\\Utility\\CaseInsensitiveDictionary\|null\>\|Automattic\\Jetpack\\Connection\\_WP_Remote_Response_Array\|WP_Error\.$#'
+ identifier: return.type
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/class-experimental-abtest.php
-
- message: '#^Method WC_Legacy_Customer\:\:get_postcode\(\) has no return type specified\.$#'
+ message: '#^Function wc_admin_record_tracks_event\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/core-functions.php
-
- message: '#^Method WC_Legacy_Customer\:\:get_state\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Variable \$download_url might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/emails/html-admin-report-export-download.php
-
- message: '#^Method WC_Legacy_Customer\:\:save_data\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ message: '#^Variable \$email might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/react-admin/emails/html-admin-report-export-download.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_address\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Variable \$email_heading might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/emails/html-admin-report-export-download.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_address_2\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Variable \$report_name might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/emails/html-admin-report-export-download.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_city\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Variable \$download_url might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/emails/plain-admin-report-export-download.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_country\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Variable \$email_heading might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/emails/plain-admin-report-export-download.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_default_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Variable \$report_name might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/emails/plain-admin-report-export-download.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_location\(\) has no return type specified\.$#'
+ message: '#^Function wc_admin_connect_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/page-controller-functions.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_postcode\(\) has no return type specified\.$#'
+ message: '#^Function wc_admin_register_page\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/page-controller-functions.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_shipping_to_base\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_state\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:mark_actioned\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Legacy_Customer\:\:set_to_base\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/legacy/class-wc-legacy-customer.php
+ message: '#^Call to static method update_db_version\(\) on an unknown class Installer\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Legacy_Shipping_Zone\:\:create\(\) has no return type specified\.$#'
+ message: '#^Function wc_admin_update_0201_order_status_index\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-shipping-zone.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Legacy_Shipping_Zone\:\:read\(\) has no return type specified\.$#'
+ message: '#^Function wc_admin_update_0230_rename_gross_total\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-shipping-zone.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Legacy_Shipping_Zone\:\:update\(\) has no return type specified\.$#'
+ message: '#^Function wc_admin_update_0251_remove_unsnooze_action\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-shipping-zone.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_api_version\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_110_remove_facebook_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_delivery_url\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_130_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_event\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_failure_count\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_140_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_hooks\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_160_remove_facebook_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_resource\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_170_homescreen_layout\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_secret\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_270_delete_report_downloads\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_271_update_task_list_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_topic\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_280_order_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Call to an undefined method WC_Legacy_Webhook\:\:set_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_admin_update_290_delete_default_homepage_layout_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Legacy_Webhook\:\:update_status\(\) has no return type specified\.$#'
+ message: '#^Function wc_admin_update_290_update_apperance_task_option\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/legacy/class-wc-legacy-webhook.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Eval_Math\:\:debugPrintCallingFunction\(\) has no return type specified\.$#'
+ message: '#^Function wc_admin_update_300_update_is_read_from_last_read\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/libraries/class-wc-eval-math.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Eval_Math\:\:nfx\(\) never returns string so it can be removed from the return type\.$#'
- identifier: return.unusedType
+ message: '#^Function wc_admin_update_340_remove_is_primary_from_note_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/libraries/class-wc-eval-math.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Eval_Math\:\:nfx\(\) should return array\|string but returns bool\.$#'
- identifier: return.type
- count: 13
- path: includes/libraries/class-wc-eval-math.php
+ message: '#^Function wc_update_1040_add_idx_date_paid_status_parent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Method WC_Eval_Math_Stack\:\:push\(\) has no return type specified\.$#'
+ message: '#^Function wc_update_1050_add_idx_user_email\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/libraries/class-wc-eval-math.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Offset ''file'' might not exist on array\{function\: string, line\?\: int, file\?\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: list\<mixed\>, object\?\: object\}\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Function wc_update_670_delete_deprecated_remote_inbox_notifications_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/libraries/class-wc-eval-math.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Offset ''line'' might not exist on array\{function\: string, line\?\: int, file\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: list\<mixed\>, object\?\: object\}\.$#'
- identifier: offsetAccess.notFound
- count: 1
- path: includes/libraries/class-wc-eval-math.php
-
- -
- message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\|string given\.$#'
+ message: '#^Parameter \#1 \$args of function get_users expects array\{blog_id\?\: int, role\?\: array\<string\>\|string, role__in\?\: array\<string\>, role__not_in\?\: array\<string\>, meta_key\?\: array\<string\>\|string, meta_value\?\: array\<string\>\|string, meta_compare\?\: string, meta_compare_key\?\: string, \.\.\.\}, ''meta_key…'' given\.$#'
identifier: argument.type
count: 1
- path: includes/libraries/class-wc-eval-math.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Parameter \#2 \$str of function explode expects string, string\|null given\.$#'
+ message: '#^Parameter \#4 \$autoload of function add_option expects bool\|null, string given\.$#'
identifier: argument.type
count: 1
- path: includes/libraries/class-wc-eval-math.php
+ path: includes/react-admin/wc-admin-update-functions.php
-
- message: '#^Static property WC_Eval_Math\:\:\$last_error \(string\) does not accept null\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_REST_Telemetry_Controller\:\:get_usage_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/libraries/class-wc-eval-math.php
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
-
- message: '#^Method WP_Async_Request\:\:handle\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/libraries/wp-async-request.php
+ message: '#^Method WC_REST_Telemetry_Controller\:\:get_usage_data\(\) should return array but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
-
- message: '#^Method WP_Async_Request\:\:maybe_handle\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Telemetry_Controller\:\:record_usage_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/libraries/wp-async-request.php
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
-
- message: '#^Method WP_Background_Process\:\:cancel_process\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Telemetry_Controller\:\:record_usage_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/libraries/wp-background-process.php
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
-
- message: '#^Method WP_Background_Process\:\:clear_scheduled_event\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Telemetry_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/libraries/wp-background-process.php
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
-
- message: '#^Method WP_Background_Process\:\:complete\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Telemetry_Controller\:\:telemetry_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/libraries/wp-background-process.php
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
-
- message: '#^Method WP_Background_Process\:\:handle\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 100 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/libraries/wp-background-process.php
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
-
- message: '#^Method WP_Background_Process\:\:handle_cron_healthcheck\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/libraries/wp-background-process.php
+ message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WP_Background_Process\:\:is_process_running\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method Exception\:\:getErrorCode\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/libraries/wp-background-process.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WP_Background_Process\:\:lock_process\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/libraries/wp-background-process.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WP_Background_Process\:\:maybe_handle\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot assign offset ''date_expires'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/libraries/wp-background-process.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WP_Background_Process\:\:schedule_event\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot assign offset ''excluded_product_ids'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/libraries/wp-background-process.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Strict comparison using \=\=\= between \-1 and non\-falsy\-string will always evaluate to false\.$#'
- identifier: identical.alwaysFalse
+ message: '#^Cannot call method get_id\(\) on stdClass\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/libraries/wp-background-process.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WC_Log_Handler_DB\:\:delete_logs_before_timestamp\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method save\(\) on stdClass\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/log-handlers/class-wc-log-handler-db.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
count: 1
- path: includes/log-handlers/class-wc-log-handler-email.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WC_Log_Handler_Email\:\:add_email\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/log-handlers/class-wc-log-handler-email.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WC_Log_Handler_Email\:\:add_log\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/log-handlers/class-wc-log-handler-email.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WC_Log_Handler_Email\:\:clear_logs\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_database\(\) should return stdClass\|WP_Error but returns WC_Coupon\.$#'
+ identifier: return.type
count: 1
- path: includes/log-handlers/class-wc-log-handler-email.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WC_Log_Handler_Email\:\:set_threshold\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/log-handlers/class-wc-log-handler-email.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Parameter \#1 \$str of function strtoupper expects string, bool\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/log-handlers/class-wc-log-handler-email.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Cannot access offset ''size'' on array\{0\: int, 1\: int, 2\: int, 3\: int, 4\: int, 5\: int, 6\: int, 7\: int, \.\.\.\}\|false\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WC_Log_Handler_File\:\:cache_log\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:save_coupon\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WC_Log_Handler_File\:\:delete_logs_before_timestamp\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WC_Log_Handler_File\:\:log_rotate\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 113 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Method WC_Log_Handler_File\:\:write_cached_logs\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Parameter \#1 \$filename of function file_exists expects string, string\|true given\.$#'
+ message: '#^Parameter \#1 \$post of method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
identifier: argument.type
count: 2
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Parameter \#1 \$filename of function filesize expects string, string\|true given\.$#'
+ message: '#^Parameter \#1 \$post of method WC_REST_Posts_Controller\:\:add_post_meta_fields\(\) expects WP_Post, WP_Post\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
-
- message: '#^Parameter \#1 \$filename of function fopen expects string, string\|true given\.$#'
- identifier: argument.type
- count: 2
- path: includes/log-handlers/class-wc-log-handler-file.php
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Parameter \#1 \$filename of function is_file expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:get_items\(\) should return array but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Parameter \#1 \$filename of function is_writable expects string, bool\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Parameter \#1 \$filename of function is_writable expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Parameter \#1 \$handle of method WC_Log_Handler_File\:\:close\(\) expects string, bool\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Parameter \#1 \$handle of method WC_Log_Handler_File\:\:is_open\(\) expects string, bool\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Parameter \#1 \$haystack of function stripos expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 109 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Parameter \#2 \$needle of function stripos expects int\|string, string\|false given\.$#'
+ message: '#^Parameter \#1 \$download of method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_item_for_response\(\) expects stdObject, stdClass given\.$#'
identifier: argument.type
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Parameter \#2 \$new_name of function rename expects string, bool\|string given\.$#'
+ message: '#^Parameter \#1 \$download of method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_links\(\) expects stdClass, stdObject given\.$#'
identifier: argument.type
count: 1
- path: includes/log-handlers/class-wc-log-handler-file.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Method WC_Payment_Token_CC\:\:set_card_type\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \$download of method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_item_for_response\(\) has invalid type stdObject\.$#'
+ identifier: class.notFound
count: 1
- path: includes/payment-tokens/class-wc-payment-token-cc.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Method WC_Payment_Token_CC\:\:set_expiry_month\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Return type \(array\) of method WC_REST_Customer_Downloads_V1_Controller\:\:get_items\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_items\(\)$#'
+ identifier: method.childReturnType
count: 1
- path: includes/payment-tokens/class-wc-payment-token-cc.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
-
- message: '#^Method WC_Payment_Token_CC\:\:set_expiry_year\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param WP_User \$customer does not accept actual type of parameter\: WP_User\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/payment-tokens/class-wc-payment-token-cc.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Method WC_Payment_Token_CC\:\:set_last4\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param WP_User \$user_data does not accept actual type of parameter\: WP_User\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/payment-tokens/class-wc-payment-token-cc.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Method WC_Payment_Token_ECheck\:\:set_last4\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WP_User_Query\:\:\$results\.$#'
+ identifier: property.notFound
count: 1
- path: includes/payment-tokens/class-wc-payment-token-echeck.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Method WC_Product_Usage\:\:includes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/product-usage/class-wc-product-usage.php
+ message: '#^Call to an undefined method Exception\:\:getErrorCode\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Method WC_Product_Usage\:\:load\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/product-usage/class-wc-product-usage.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Method WC_Action_Queue\:\:cancel\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot assign offset ''password'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/queue/class-wc-action-queue.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Method WC_Action_Queue\:\:cancel_all\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot assign offset ''username'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/queue/class-wc-action-queue.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Method WC_Queue\:\:validate_instance\(\) should return WC_Queue_Interface but returns object\.$#'
- identifier: return.type
+ message: '#^Cannot call method add_role\(\) on WP_User\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/queue/class-wc-queue.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Parameter \#1 \$instance of static method WC_Queue\:\:validate_instance\(\) expects WC_Queue_Interface, object given\.$#'
- identifier: argument.type
+ message: '#^Left side of && is always true\.$#'
+ identifier: booleanAnd.leftAlwaysTrue
count: 1
- path: includes/queue/class-wc-queue.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Static property WC_Queue\:\:\$instance \(WC_Queue_Interface\|null\) does not accept object\.$#'
- identifier: assign.propertyType
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/queue/class-wc-queue.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Method WooCommerce\\Admin\\Experimental_Abtest\:\:request_assignment\(\) should return array\|WP_Error but returns array\<string, array\<int\|string, int\|string\|WP_Http_Cookie\>\|string\|WP_HTTP_Requests_Response\|WpOrg\\Requests\\Utility\\CaseInsensitiveDictionary\|null\>\|Automattic\\Jetpack\\Connection\\_WP_Remote_Response_Array\|WP_Error\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/class-experimental-abtest.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_record_tracks_event\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/core-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Variable \$download_url might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/emails/html-admin-report-export-download.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Variable \$email might not be defined\.$#'
- identifier: variable.undefined
- count: 2
- path: includes/react-admin/emails/html-admin-report-export-download.php
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Variable \$email_heading might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/emails/html-admin-report-export-download.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Variable \$report_name might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/emails/html-admin-report-export-download.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Variable \$download_url might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/emails/plain-admin-report-export-download.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Variable \$email_heading might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/emails/plain-admin-report-export-download.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Variable \$report_name might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/emails/plain-admin-report-export-download.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_connect_page\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/page-controller-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_register_page\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/react-admin/page-controller-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:update_customer_meta_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Call to an undefined method object\:\:mark_actioned\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:update_customer_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Call to static method update_db_version\(\) on an unknown class Installer\.$#'
- identifier: class.notFound
- count: 2
- path: includes/react-admin/wc-admin-update-functions.php
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_update_0201_order_status_index\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_update_0230_rename_gross_total\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 109 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_update_0251_remove_unsnooze_action\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_update_110_remove_facebook_note\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$first_name of method WC_Customer\:\:set_first_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_update_130_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$last_name of method WC_Customer\:\:set_last_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ message: '#^Parameter \#1 \$user_data of method WC_REST_Customers_V1_Controller\:\:prepare_item_for_response\(\) expects WP_User, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_update_140_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- message: '#^Function wc_admin_update_160_remove_facebook_note\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param WP_Comment \$note does not accept actual type of parameter\: WP_Comment\|null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_admin_update_170_homescreen_layout\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_admin_update_270_delete_report_downloads\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:add_order_note\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_admin_update_271_update_task_list_options\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_admin_update_280_order_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_admin_update_290_delete_default_homepage_layout_option\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_admin_update_290_update_apperance_task_option\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_admin_update_300_update_is_read_from_last_read\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_admin_update_340_remove_is_primary_from_note_action\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_update_1040_add_idx_date_paid_status_parent\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_update_1050_add_idx_user_email\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Function wc_update_670_delete_deprecated_remote_inbox_notifications_option\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Parameter \#1 \$args of function get_users expects array\{blog_id\?\: int, role\?\: array\<string\>\|string, role__in\?\: array\<string\>, role__not_in\?\: array\<string\>, meta_key\?\: array\<string\>\|string, meta_value\?\: array\<string\>\|string, meta_compare\?\: string, meta_compare_key\?\: string, \.\.\.\}, ''meta_key…'' given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Parameter \#4 \$autoload of function add_option expects bool\|null, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/react-admin/wc-admin-update-functions.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Method WC_REST_Telemetry_Controller\:\:get_usage_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Method WC_REST_Telemetry_Controller\:\:get_usage_data\(\) should return array but empty return statement found\.$#'
- identifier: return.empty
- count: 2
- path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 111 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Method WC_REST_Telemetry_Controller\:\:record_usage_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Method WC_REST_Telemetry_Controller\:\:record_usage_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Comment\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Method WC_REST_Telemetry_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, WP_Comment\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Method WC_REST_Telemetry_Controller\:\:telemetry_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, int\|WP_Comment given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 100 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \#1 \$note_id of function wc_delete_order_note expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- message: '#^Call to an undefined method Exception\:\:getErrorCode\(\)\.$#'
- identifier: method.notFound
+ message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Cannot assign offset ''date_expires'' to WP_REST_Request\.$#'
- identifier: offsetAssign.dimType
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Cannot assign offset ''excluded_product_ids'' to WP_REST_Request\.$#'
- identifier: offsetAssign.dimType
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Cannot call method get_id\(\) on stdClass\.$#'
- identifier: method.nonObject
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_amount\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Cannot call method save\(\) on stdClass\.$#'
- identifier: method.nonObject
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_reason\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
- identifier: catch.alreadyCaught
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Coupons_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_database\(\) should return stdClass\|WP_Error but returns WC_Coupon\.$#'
- identifier: return.type
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Coupons_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Coupons_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Coupons_V1_Controller\:\:save_coupon\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Coupons_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 113 on line 5$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 123 on line 5$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Parameter \#1 \$post of method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
+ message: '#^Parameter \#1 \$hideprefix of method WC_Order_Item\:\:get_all_formatted_meta_data\(\) expects string, string\|null given\.$#'
identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Parameter \#1 \$post of method WC_REST_Posts_Controller\:\:add_post_meta_fields\(\) expects WP_Post, WP_Post\|null given\.$#'
+ message: '#^Parameter \#1 \$post of method WC_REST_Order_Refunds_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_REST_Order_Refunds_V1_Controller\:\:prepare_links\(\) should be compatible with parameter \$order \(WC_Order\) of method WC_REST_Orders_V1_Controller\:\:prepare_links\(\)$#'
+ identifier: method.childParameterType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:get_items\(\) should return array but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Parameter \#1 \$refund of method WC_REST_Order_Refunds_V1_Controller\:\:prepare_links\(\) expects WC_Order_Refund, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method Exception\:\:getErrorCode\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_discount\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 109 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_discount_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$download of method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_item_for_response\(\) expects stdObject, stdClass given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$download of method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_links\(\) expects stdClass, stdObject given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \$download of method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_item_for_response\(\) has invalid type stdObject\.$#'
- identifier: class.notFound
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Return type \(array\) of method WC_REST_Customer_Downloads_V1_Controller\:\:get_items\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_items\(\)$#'
- identifier: method.childReturnType
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:calculate_totals\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^@param WP_User \$customer does not accept actual type of parameter\: WP_User\|false\.$#'
- identifier: parameter.phpDocType
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^@param WP_User \$user_data does not accept actual type of parameter\: WP_User\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:needs_payment\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Access to an undefined property WP_User_Query\:\:\$results\.$#'
- identifier: property.notFound
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:payment_complete\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method Exception\:\:getErrorCode\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:save\(\)\.$#'
identifier: method.notFound
count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Cannot access property \$ID on WP_User\|false\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
-
- -
- message: '#^Cannot assign offset ''password'' to WP_REST_Request\.$#'
- identifier: offsetAssign.dimType
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:set_created_via\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Cannot assign offset ''username'' to WP_REST_Request\.$#'
- identifier: offsetAssign.dimType
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:set_prices_include_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Cannot call method add_role\(\) on WP_User\|false\.$#'
- identifier: method.nonObject
+ message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Left side of && is always true\.$#'
- identifier: booleanAnd.leftAlwaysTrue
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ message: '#^Cannot call method get_address\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_cart_hash\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_cart_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_created_via\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_currency\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_customer_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_customer_ip_address\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_customer_note\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_customer_user_agent\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_date_completed\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_date_modified\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:update_customer_meta_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_date_paid\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:update_customer_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_discount_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_fees\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Customers_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 109 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method get_item_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_User\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$first_name of method WC_Customer\:\:set_first_name\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method get_line_subtotal\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$last_name of method WC_Customer\:\:set_last_name\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method get_line_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$user_data of method WC_REST_Customers_V1_Controller\:\:prepare_item_for_response\(\) expects WP_User, WP_User\|false given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method get_line_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+ message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^@param WP_Comment \$note does not accept actual type of parameter\: WP_Comment\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Cannot call method get_parent_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:add_order_note\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot call method get_payment_method\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
- identifier: arguments.count
+ message: '#^Cannot call method get_payment_method_title\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_prices_include_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_refunds\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_shipping_methods\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_shipping_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_shipping_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Cannot call method get_total_discount\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_total_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_transaction_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_version\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 111 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Comment\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:create_base_order\(\) should return WC_Order but returns WC_Order\|WP_Error\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, WP_Comment\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, int\|WP_Comment given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Orders_V1_Controller\:\: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/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$note_id of function wc_delete_order_note expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
-
- -
- message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:maybe_set_item_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:maybe_set_item_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_amount\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_reason\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_shipping_lines\(\) has parameter \$posted with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:set_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:update_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:update_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- -
- message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 123 on line 5$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
message: '#^Parameter \#1 \$hideprefix of method WC_Order_Item\:\:get_all_formatted_meta_data\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$post of method WC_REST_Order_Refunds_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_REST_Order_Refunds_V1_Controller\:\:prepare_links\(\) should be compatible with parameter \$order \(WC_Order\) of method WC_REST_Orders_V1_Controller\:\:prepare_links\(\)$#'
+ message: '#^Parameter \#1 \$order \(WC_Order\) of method WC_REST_Orders_V1_Controller\:\:prepare_links\(\) should be compatible with parameter \$post \(WP_Post\) of method WC_REST_Posts_Controller\:\:prepare_links\(\)$#'
identifier: method.childParameterType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#1 \$refund of method WC_REST_Order_Refunds_V1_Controller\:\:prepare_links\(\) expects WC_Order_Refund, WC_Order\|WC_Order_Refund given\.$#'
+ message: '#^Parameter \#1 \$order of method WC_REST_Orders_V1_Controller\:\:prepare_links\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ message: '#^Parameter \#1 \$post of method WC_REST_Orders_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
-
- -
- message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
- identifier: parameter.phpDocType
count: 2
path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method Exception\:\:getErrorCode\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_subtotal\(\) expects string, float\|string given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_discount\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_total\(\) expects string, float\|string given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_discount_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Product_Attribute_Terms_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Product_Attribute_Terms_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Product_Attribute_Terms_V1_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 129 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WP_Error\:\:calculate_totals\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ message: '#^@param stdObject \$attribute does not accept actual type of parameter\: stdClass\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WP_Error\:\:get_id\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ message: '#^Access to an undefined property object\:\:\$attribute_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WP_Error\:\:needs_payment\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to property \$attribute_id on an unknown class obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WP_Error\:\:payment_complete\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ message: '#^Access to property \$attribute_label on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WP_Error\:\:save\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ message: '#^Access to property \$attribute_name on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WP_Error\:\:set_created_via\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to property \$attribute_orderby on an unknown class obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WP_Error\:\:set_prices_include_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to property \$attribute_public on an unknown class obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to property \$attribute_type on an unknown class obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_address\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
-
- -
- message: '#^Cannot call method get_cart_hash\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_cart_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_created_via\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_currency\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_customer_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_customer_ip_address\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_customer_note\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:flush_rewrite_rules\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_customer_user_agent\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_date_completed\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_date_modified\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_date_paid\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_discount_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) should return array but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_fees\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_taxonomy\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_item_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_line_subtotal\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_line_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_line_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_parent_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ message: '#^Parameter \#1 \$item of method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) expects obj, stdClass given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_payment_method\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_payment_method_title\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_prices_include_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \$item of method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) has invalid type obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_refunds\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Return type \(array\) of method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_items\(\)$#'
+ identifier: method.childReturnType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- message: '#^Cannot call method get_shipping_methods\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- message: '#^Cannot call method get_shipping_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- message: '#^Cannot call method get_shipping_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Categories_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Product_Categories_V1_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 124 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- message: '#^Cannot call method get_total_discount\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- message: '#^Cannot call method get_total_tax\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$postarr of function wp_update_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\{ID\: int\<min, \-1\>\|int\<1, max\>, post_title\: array\|string\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- message: '#^Cannot call method get_transaction_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^@param WP_Comment \$comment does not accept actual type of parameter\: WP_Comment\|null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Cannot call method get_version\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^@param WP_Comment \$product_review does not accept actual type of parameter\: WP_Comment\|null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
- identifier: catch.alreadyCaught
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ message: '#^@param WP_Post \$product_review does not accept actual type of parameter\: WP_Comment\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:create_base_order\(\) should return WC_Order but returns WC_Order\|WP_Error\.$#'
- identifier: return.type
+ message: '#^@param array \$prepared_review does not accept actual type of parameter\: array\|WP_Error\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:create_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:maybe_set_item_prop\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:maybe_set_item_props\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_shipping_lines\(\) has parameter \$posted with no type specified\.$#'
- identifier: missingType.parameter
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_review\(\) should return WP_Comment but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:set_item\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:update_address\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Method WC_REST_Orders_V1_Controller\:\:update_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
+ message: '#^Parameter \#1 \$comment_id of function wc_review_is_from_verified_owner expects int, string given\.$#'
identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Parameter \#1 \$hideprefix of method WC_Order_Item\:\:get_all_formatted_meta_data\(\) expects string, string\|null given\.$#'
+ message: '#^Parameter \#1 \$comment_id of function wp_trash_comment expects int\|WP_Comment, string given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Parameter \#1 \$order \(WC_Order\) of method WC_REST_Orders_V1_Controller\:\:prepare_links\(\) should be compatible with parameter \$post \(WP_Post\) of method WC_REST_Posts_Controller\:\:prepare_links\(\)$#'
- identifier: method.childParameterType
+ message: '#^Parameter \#1 \$commentarr of function wp_update_comment expects array, array\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Parameter \#1 \$order of method WC_REST_Orders_V1_Controller\:\:prepare_links\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|false given\.$#'
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Comment\|null given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Parameter \#1 \$post of method WC_REST_Orders_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
+ message: '#^Parameter \#1 \$review of method WC_REST_Product_Reviews_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, WP_Comment\|null given\.$#'
identifier: argument.type
count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_subtotal\(\) expects string, float\|string given\.$#'
+ message: '#^Parameter \#2 \$object_id of function wc_rest_check_product_reviews_permissions expects string, int given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_total\(\) expects string, float\|string given\.$#'
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Access to property \$count on an unknown class obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attribute_Terms_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Access to property \$description on an unknown class obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attribute_Terms_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to property \$name on an unknown class obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attribute_Terms_V1_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Access to property \$slug on an unknown class obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 129 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Access to property \$term_id on an unknown class obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
-
- message: '#^@param stdObject \$attribute does not accept actual type of parameter\: stdClass\.$#'
- identifier: parameter.phpDocType
- count: 3
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ message: '#^Method WC_REST_Product_Shipping_Classes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
-
- message: '#^Access to an undefined property object\:\:\$attribute_id\.$#'
- identifier: property.notFound
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
-
- message: '#^Access to property \$attribute_id on an unknown class obj\.$#'
+ message: '#^Parameter \$item of method WC_REST_Product_Shipping_Classes_V1_Controller\:\:prepare_item_for_response\(\) has invalid type obj\.$#'
identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
-
- message: '#^Access to property \$attribute_label on an unknown class obj\.$#'
+ message: '#^Access to property \$count on an unknown class obj\.$#'
identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
-
- message: '#^Access to property \$attribute_name on an unknown class obj\.$#'
+ message: '#^Access to property \$description on an unknown class obj\.$#'
identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
-
- message: '#^Access to property \$attribute_orderby on an unknown class obj\.$#'
+ message: '#^Access to property \$name on an unknown class obj\.$#'
identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
-
- message: '#^Access to property \$attribute_public on an unknown class obj\.$#'
+ message: '#^Access to property \$slug on an unknown class obj\.$#'
identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
-
- message: '#^Access to property \$attribute_type on an unknown class obj\.$#'
+ message: '#^Access to property \$term_id on an unknown class obj\.$#'
identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Tags_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \$item of method WC_REST_Product_Tags_V1_Controller\:\:prepare_item_for_response\(\) has invalid type obj\.$#'
+ identifier: class.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^@param WC_Product \$product does not accept actual type of parameter\: object\|false\|null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Product\:\:get_button_text\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Product\:\:get_product_url\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:flush_rewrite_rules\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method object\:\:get_shipping_class_id_by_slug\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot assign offset ''category''\|''shipping_class''\|''tag'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) should return array but returns WP_REST_Response\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- -
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ message: '#^Cannot call method delete\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_taxonomy\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ message: '#^Cannot call method get_children\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ message: '#^Cannot call method has_child\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Cannot call method save\(\) on stdClass\|WP_Error\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$item of method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) expects obj, stdClass given\.$#'
- identifier: argument.type
- count: 4
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \$item of method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) has invalid type obj\.$#'
- identifier: class.notFound
+ message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Return type \(array\) of method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_items\(\)$#'
- identifier: method.childReturnType
+ message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Categories_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Function set_product_images not found\.$#'
+ identifier: function.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Categories_V1_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:add_post_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 124 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, WP_Post\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$postarr of function wp_update_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\{ID\: int\<min, \-1\>\|int\<1, max\>, post_title\: array\|string\} given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^@param WP_Comment \$comment does not accept actual type of parameter\: WP_Comment\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_REST_Products_V1_Controller\:\:clear_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^@param WP_Comment \$product_review does not accept actual type of parameter\: WP_Comment\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_REST_Products_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^@param WP_Post \$product_review does not accept actual type of parameter\: WP_Comment\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_REST_Products_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^@param array \$prepared_review does not accept actual type of parameter\: array\|WP_Error\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_REST_Products_V1_Controller\:\:delete_post\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_item_for_database\(\) should return stdClass\|WP_Error but returns WC_Product\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Products_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_default_attributes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- -
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- -
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_review\(\) should return WP_Comment but returns WP_Error\.$#'
- identifier: return.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_product_images\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_product_meta\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_variations_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Products_V1_Controller\:\:set_product_meta\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V1_Controller\:\:update_post_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \#1 \$comment_id of function wc_review_is_from_verified_owner expects int, string given\.$#'
+ message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \#1 \$comment_id of function wp_trash_comment expects int\|WP_Comment, string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$commentarr of function wp_update_comment expects array, array\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Comment\|null given\.$#'
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
identifier: argument.type
count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \#1 \$review of method WC_REST_Product_Reviews_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, WP_Comment\|null given\.$#'
+ message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \#2 \$object_id of function wc_rest_check_product_reviews_permissions expects string, int given\.$#'
+ message: '#^Parameter \#1 \$post of method WC_REST_Products_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
identifier: argument.type
- count: 3
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ message: '#^Parameter \#1 \$post of method WC_REST_Products_V1_Controller\:\:update_post_meta_fields\(\) expects WP_Post, WP_Post\|null given\.$#'
identifier: argument.type
count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$count on an unknown class obj\.$#'
- identifier: class.notFound
+ message: '#^Parameter \#1 \$product \(WC_Product\) of method WC_REST_Products_V1_Controller\:\:prepare_links\(\) should be compatible with parameter \$post \(WP_Post\) of method WC_REST_Posts_Controller\:\:prepare_links\(\)$#'
+ identifier: method.childParameterType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$description on an unknown class obj\.$#'
- identifier: class.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:get_product_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$name on an unknown class obj\.$#'
- identifier: class.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:get_variation_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$slug on an unknown class obj\.$#'
- identifier: class.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:prepare_links\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$term_id on an unknown class obj\.$#'
- identifier: class.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:set_product_images\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Shipping_Classes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:set_product_meta\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \$item of method WC_REST_Product_Shipping_Classes_V1_Controller\:\:prepare_item_for_response\(\) has invalid type obj\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+ message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$count on an unknown class obj\.$#'
- identifier: class.notFound
+ message: '#^Parameter \#1 \$tax of function get_taxonomy_labels expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$description on an unknown class obj\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$name on an unknown class obj\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$slug on an unknown class obj\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_position\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Access to property \$term_id on an unknown class obj\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Method WC_REST_Product_Tags_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Parameter \$item of method WC_REST_Product_Tags_V1_Controller\:\:prepare_item_for_response\(\) has invalid type obj\.$#'
- identifier: class.notFound
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^@param WC_Product \$product does not accept actual type of parameter\: object\|false\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V1_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
count: 2
path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_button_text\(\)\.$#'
- identifier: method.notFound
+ message: '#^WP_REST_Request does not accept array\<mixed\>\.$#'
+ identifier: offsetAssign.valueType
count: 1
path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_product_url\(\)\.$#'
+ message: '#^Call to an undefined method WC_Admin_Report\:\:get_report_data\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- message: '#^Call to an undefined method object\:\:get_shipping_class_id_by_slug\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- message: '#^Cannot assign offset ''category''\|''shipping_class''\|''tag'' to WP_REST_Request\.$#'
- identifier: offsetAssign.dimType
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:setup_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- message: '#^Cannot call method delete\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- message: '#^Cannot call method get_children\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Report_Top_Sellers_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
-
- message: '#^Cannot call method get_status\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Report_Top_Sellers_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
-
- message: '#^Cannot call method has_child\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ message: '#^Method WC_REST_Report_Top_Sellers_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
-
- message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ message: '#^Offset ''limit'' on array\{period\: mixed, date_min\: mixed, date_max\: mixed\} in isset\(\) does not exist\.$#'
+ identifier: isset.offset
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
-
- message: '#^Cannot call method save\(\) on stdClass\|WP_Error\.$#'
- identifier: method.nonObject
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Sales_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 134 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
-
- message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$top_seller \(stdClass\) of method WC_REST_Report_Top_Sellers_V1_Controller\:\:prepare_item_for_response\(\) should be compatible with parameter \$_ \(null\) of method WC_REST_Report_Sales_V1_Controller\:\:prepare_item_for_response\(\)$#'
+ identifier: method.childParameterType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
-
- message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
-
- message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
-
- message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
-
- message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
-
- message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
-
- message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- -
- message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
- identifier: catch.alreadyCaught
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
-
- message: '#^Function set_product_images not found\.$#'
- identifier: function.notFound
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:add_post_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:clear_transients\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:delete_post\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:get_items\(\) should return array but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_item_for_database\(\) should return stdClass\|WP_Error but returns WC_Product\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 111 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, array given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$tax_class of method WC_REST_Tax_Classes_V1_Controller\:\:prepare_item_for_response\(\) expects array, array\|true given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:save_default_attributes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:save_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:save_product_images\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Return type \(array\) of method WC_REST_Tax_Classes_V1_Controller\:\:get_items\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_items\(\)$#'
+ identifier: method.childReturnType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:save_product_meta\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^@param stdClass \$tax does not accept actual type of parameter\: non\-empty\-array\|object\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:save_variations_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^@param stdClass \$tax does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rate_id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:set_product_meta\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Method WC_REST_Products_V1_Controller\:\:update_post_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_or_update_tax\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_or_update_tax\(\) should return object but returns array\|object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
- identifier: argument.type
- count: 3
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$post of method WC_REST_Products_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$post of method WC_REST_Products_V1_Controller\:\:update_post_meta_fields\(\) expects WP_Post, WP_Post\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$product \(WC_Product\) of method WC_REST_Products_V1_Controller\:\:prepare_links\(\) should be compatible with parameter \$post \(WP_Post\) of method WC_REST_Posts_Controller\:\:prepare_links\(\)$#'
- identifier: method.childParameterType
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:get_product_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:get_variation_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:prepare_links\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:set_product_images\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:set_product_meta\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 105 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ message: '#^Parameter \#1 \$tax of method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) expects stdClass, array\|object given\.$#'
identifier: argument.type
- count: 4
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
+ message: '#^Parameter \#1 \$tax of method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) expects stdClass, object given\.$#'
identifier: argument.type
count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$tax of function get_taxonomy_labels expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
+ 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/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ message: '#^Parameter \#2 \$current of method WC_REST_Taxes_V1_Controller\:\:create_or_update_tax\(\) expects stdClass\|null, array\|object given\.$#'
identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
+ message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\|string given\.$#'
identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_position\(\) expects int, string given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, int given\.$#'
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
identifier: argument.type
count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, int given\.$#'
- identifier: argument.type
+ message: '#^Call to function is_null\(\) with mixed will always evaluate to false\.$#'
+ identifier: function.impossibleType
count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- -
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''strlen'' given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- -
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Parameter \#2 \$data of method WC_REST_Products_V1_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
- identifier: argument.type
+ message: '#^Empty array passed to foreach\.$#'
+ identifier: foreach.emptyArray
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
-
- -
- message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^WP_REST_Request does not accept array\<mixed\>\.$#'
- identifier: offsetAssign.valueType
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Call to an undefined method WC_Admin_Report\:\:get_report_data\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- -
- message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:setup_report\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 189 on line 6$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
-
- -
- message: '#^Method WC_REST_Report_Top_Sellers_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Method WC_REST_Report_Top_Sellers_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Result of \|\| is always true\.$#'
+ identifier: booleanOr.alwaysTrue
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Method WC_REST_Report_Top_Sellers_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^Offset ''limit'' on array\{period\: mixed, date_min\: mixed, date_max\: mixed\} in isset\(\) does not exist\.$#'
- identifier: isset.offset
+ message: '#^Variable \$log in empty\(\) always exists and is always falsy\.$#'
+ identifier: empty.variable
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Sales_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 134 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Data_Store\:\:search_webhooks\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Parameter \#1 \$top_seller \(stdClass\) of method WC_REST_Report_Top_Sellers_V1_Controller\:\:prepare_item_for_response\(\) should be compatible with parameter \$_ \(null\) of method WC_REST_Report_Sales_V1_Controller\:\:prepare_item_for_response\(\)$#'
- identifier: method.childParameterType
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+ message: '#^Call to function is_null\(\) with mixed will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Reports_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Reports_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Reports_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Reports_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Reports_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:get_items\(\) should return array but returns WP_REST_Response\.$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 111 on line 5$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, array given\.$#'
+ message: '#^Parameter \#1 \$id of method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_response\(\) expects int, WC_Webhook given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- message: '#^Parameter \#1 \$tax_class of method WC_REST_Tax_Classes_V1_Controller\:\:prepare_item_for_response\(\) expects array, array\|true given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Coupons_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Coupons_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<1, max\> given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Coupons_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
-
- message: '#^Return type \(array\) of method WC_REST_Tax_Classes_V1_Controller\:\:get_items\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_items\(\)$#'
- identifier: method.childReturnType
+ message: '#^Method WC_REST_Coupons_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
-
- message: '#^@param stdClass \$tax does not accept actual type of parameter\: non\-empty\-array\|object\.$#'
- identifier: parameter.phpDocType
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
-
- message: '#^@param stdClass \$tax does not accept actual type of parameter\: object\.$#'
- identifier: parameter.phpDocType
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ message: '#^Method WC_REST_Customer_Downloads_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customer-downloads-v2-controller.php
-
- message: '#^Access to an undefined property object\:\:\$tax_rate_id\.$#'
- identifier: property.notFound
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Customer_Downloads_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 131 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customer-downloads-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_avatar_url\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_order_count\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_total_spent\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_or_update_tax\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method getTimestamp\(\) on class\-string\<DateTime\>\|DateTime\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_or_update_tax\(\) should return object but returns array\|object\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_Customers_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Customers_V2_Controller\:\:update_customer_meta_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Customers_V2_Controller\:\:update_customer_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Customers_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 122 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Access to an undefined property WP_Error\|WP_REST_Response\:\:\$data\.$#'
+ identifier: property.notFound
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_billing_first_name\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_billing_last_name\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_formatted_order_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Method WC_REST_Taxes_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 105 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$tax of method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) expects stdClass, array\|object given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- -
- message: '#^Parameter \#1 \$tax of method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) expects stdClass, object given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Parameter \#2 \$current of method WC_REST_Taxes_V1_Controller\:\:create_or_update_tax\(\) expects stdClass\|null, array\|object given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders_permissions_check\(\) should return bool but returns bool\|WP_Error\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- -
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
-
- -
- message: '#^Call to function is_null\(\) with mixed will always evaluate to false\.$#'
- identifier: function.impossibleType
- count: 2
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Empty array passed to foreach\.$#'
- identifier: foreach.emptyArray
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 124 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
-
- message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
-
- message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
-
- message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Notes_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
-
- message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ message: '#^Method WC_REST_Order_Notes_V2_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- -
- message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
-
- message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Notes_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
-
- -
- message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 189 on line 6$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Order_Notes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 126 on line 5$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
-
- message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
-
- message: '#^Result of \|\| is always true\.$#'
- identifier: booleanOr.alwaysTrue
+ message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_V2_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, int\|WP_Comment given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
-
- message: '#^Unreachable statement \- code above always terminates\.$#'
- identifier: deadCode.unreachable
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Variable \$log in empty\(\) always exists and is always falsy\.$#'
- identifier: empty.variable
+ message: '#^Cannot assign offset ''dp'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:search_webhooks\(\)\.$#'
- identifier: method.notFound
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Call to function is_null\(\) with mixed will always evaluate to false\.$#'
- identifier: function.impossibleType
- count: 3
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:get_object\(\) should return WC_Data but returns WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:save_object\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 123 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Property WC_REST_Order_Refunds_V2_Controller\:\:\$request \(array\) does not accept WP_REST_Request\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^WP_REST_Request does not accept int\.$#'
+ identifier: offsetAssign.valueType
count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- -
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
-
- -
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Webhooks_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ message: '#^Call to an undefined method WC_Data\:\:calculate_totals\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ message: '#^Call to an undefined method WC_Data\:\:get_customer_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Parameter \#1 \$id of method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_response\(\) expects int, WC_Webhook given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Coupons_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:needs_payment\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Coupons_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:payment_complete\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Coupons_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:set_created_via\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Coupons_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:set_prices_include_tax\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Data\:\:set_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Customer_Downloads_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customer-downloads-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Customer_Downloads_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 131 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method object\:\:get_product\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customer-downloads-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_avatar_url\(\)\.$#'
+ message: '#^Call to an undefined method object\:\:set_product\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_order_count\(\)\.$#'
+ message: '#^Call to an undefined method object\:\:set_subtotal\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_total_spent\(\)\.$#'
+ message: '#^Call to an undefined method object\:\:set_total\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Cannot call method getTimestamp\(\) on class\-string\<DateTime\>\|DateTime\.$#'
- identifier: method.nonObject
+ message: '#^Cannot access offset ''from'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Customers_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Customers_V2_Controller\:\:update_customer_meta_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$max_num_pages on array\|object\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Customers_V2_Controller\:\:update_customer_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot access property \$orders on array\|object\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Customers_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 122 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot access property \$total on array\|object\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Access to an undefined property WP_Error\|WP_REST_Response\:\:\$data\.$#'
- identifier: property.notFound
+ message: '#^Cannot assign offset ''context'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Cannot call method get_billing_first_name\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Cannot assign offset ''dp'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Cannot call method get_billing_last_name\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ message: '#^Cannot call method get_id\(\) on WC_Data\|true\.$#'
identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Cannot call method get_formatted_order_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ message: '#^Cannot call method get_title\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Class WC_Order_Item referenced with incorrect case\: WC_Order_item\.$#'
+ identifier: class.nameCase
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:maybe_set_item_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders_permissions_check\(\) should return bool but returns bool\|WP_Error\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:maybe_set_item_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:maybe_set_item_props\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 124 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_coupon_lines\(\) should return WC_Order_Item_Coupon but returns object\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_fee_lines\(\) should return WC_Order_Item_Fee but returns object\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
- identifier: arguments.count
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_line_items\(\) should return WC_Order_Item_Product but returns object\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V2_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Order_Notes_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Order_Notes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 126 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_V2_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, int\|WP_Comment given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_shipping_lines\(\) should return WC_Order_Item_Shipping but returns object\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
- identifier: method.notFound
- count: 3
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- -
- message: '#^Cannot assign offset ''dp'' to WP_REST_Request\.$#'
- identifier: offsetAssign.dimType
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- -
- message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
- identifier: catch.alreadyCaught
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- -
- message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:get_object\(\) should return WC_Data but returns WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- -
- message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:save_object\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:save_object\(\) should return WC_Data\|WP_Error but returns bool\|WC_Data\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:set_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:update_address\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:save_object\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 123 on line 5$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 111 on line 5$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- -
- message: '#^Property WC_REST_Order_Refunds_V2_Controller\:\:\$request \(array\) does not accept WP_REST_Request\.$#'
- identifier: assign.propertyType
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- -
- message: '#^WP_REST_Request does not accept int\.$#'
- identifier: offsetAssign.valueType
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
-
- -
- message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
- identifier: property.notFound
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- -
- message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
- identifier: property.notFound
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- -
- message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
- identifier: property.notFound
- count: 2
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:calculate_totals\(\)\.$#'
- identifier: method.notFound
- count: 2
+ message: '#^Parameter \#1 \$hideprefix of method WC_Order_Item\:\:get_all_formatted_meta_data\(\) expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_customer_id\(\)\.$#'
- identifier: method.notFound
- count: 2
+ message: '#^Parameter \#1 \$item of method WC_REST_Orders_V2_Controller\:\:maybe_set_item_meta_data\(\) expects WC_Order_Item, object given\.$#'
+ identifier: argument.type
+ count: 4
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
- identifier: method.notFound
- count: 2
+ message: '#^Parameter \#1 \$item of method WC_REST_Orders_V2_Controller\:\:maybe_set_item_props\(\) expects WC_Order_Item, object given\.$#'
+ identifier: argument.type
+ count: 4
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:needs_payment\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$order of method WC_REST_Orders_V2_Controller\:\:get_formatted_item_data\(\) expects WC_Order, WC_Data given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:payment_complete\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$request of method WC_REST_Controller\:\:get_fields_for_response\(\) expects WP_REST_Request, array given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:set_created_via\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$request of method WC_REST_Controller\:\:get_meta_data_for_response\(\) expects WP_REST_Request, array given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:set_prices_include_tax\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:set_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^Property WC_REST_Orders_V2_Controller\:\:\$request \(array\) does not accept WP_REST_Request\.$#'
+ identifier: assign.propertyType
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^WP_REST_Request does not accept int\.$#'
+ identifier: offsetAssign.valueType
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- message: '#^Call to an undefined method object\:\:get_product\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$description\.$#'
+ identifier: property.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Call to an undefined method object\:\:set_product\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$enabled\.$#'
+ identifier: property.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Call to an undefined method object\:\:set_subtotal\(\)\.$#'
- identifier: method.notFound
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$form_fields\.$#'
+ identifier: property.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Call to an undefined method object\:\:set_total\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Cannot access offset ''from'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$order\.$#'
+ identifier: property.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$settings\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Cannot access property \$max_num_pages on array\|object\.$#'
- identifier: property.nonObject
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$title\.$#'
+ identifier: property.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Cannot access property \$orders on array\|object\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Cannot access property \$total on array\|object\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WP_REST_Response\:\:get_option_key\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Cannot assign offset ''context'' to WP_REST_Request\.$#'
- identifier: offsetAssign.dimType
+ message: '#^Call to an undefined method WP_REST_Response\:\:init_form_fields\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Cannot assign offset ''dp'' to WP_REST_Request\.$#'
- identifier: offsetAssign.dimType
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_gateway\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Cannot call method get_id\(\) on WC_Data\|true\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Cannot call method get_title\(\) on class\-string\|object\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Class WC_Order_Item referenced with incorrect case\: WC_Order_item\.$#'
- identifier: class.nameCase
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
- identifier: catch.alreadyCaught
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:maybe_set_item_meta_data\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:maybe_set_item_prop\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:maybe_set_item_props\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_coupon_lines\(\) should return WC_Order_Item_Coupon but returns object\.$#'
- identifier: return.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_fee_lines\(\) should return WC_Order_Item_Fee but returns object\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ message: '#^Parameter \#1 \$gateway of method WC_REST_Payment_Gateways_V2_Controller\:\:prepare_item_for_response\(\) expects WC_Payment_Gateway, WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_line_items\(\) should return WC_Order_Item_Product but returns object\.$#'
- identifier: return.type
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attribute_Terms_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 150 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-attribute-terms-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attributes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-attributes-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Categories_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 125 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-brands-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_shipping_lines\(\) should return WC_Order_Item_Shipping but returns object\.$#'
- identifier: return.type
+ message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$post_modified on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:save_object\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:save_object\(\) should return WC_Data\|WP_Error but returns bool\|WC_Data\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_Product_Categories_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:set_item\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Categories_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:update_address\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
-
- message: '#^Method WC_REST_Orders_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 111 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
-
- message: '#^Parameter \#1 \$hideprefix of method WC_Order_Item\:\:get_all_formatted_meta_data\(\) expects string, null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$item of method WC_REST_Orders_V2_Controller\:\:maybe_set_item_meta_data\(\) expects WC_Order_Item, object given\.$#'
- identifier: argument.type
- count: 4
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$item of method WC_REST_Orders_V2_Controller\:\:maybe_set_item_props\(\) expects WC_Order_Item, object given\.$#'
- identifier: argument.type
- count: 4
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
-
- message: '#^Parameter \#1 \$order of method WC_REST_Orders_V2_Controller\:\:get_formatted_item_data\(\) expects WC_Order, WC_Data given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
-
- message: '#^Parameter \#1 \$request of method WC_REST_Controller\:\:get_fields_for_response\(\) expects WP_REST_Request, array given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Reviews_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 134 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
-
- message: '#^Parameter \#1 \$request of method WC_REST_Controller\:\:get_meta_data_for_response\(\) expects WP_REST_Request, array given\.$#'
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
-
- message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ message: '#^Parameter \#1 \$comment_id of function wc_review_is_from_verified_owner expects int, string given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
-
- message: '#^Property WC_REST_Orders_V2_Controller\:\:\$request \(array\) does not accept WP_REST_Request\.$#'
- identifier: assign.propertyType
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Shipping_Classes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 152 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-shipping-classes-v2-controller.php
-
- message: '#^WP_REST_Request does not accept int\.$#'
- identifier: offsetAssign.valueType
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Tags_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-tags-v2-controller.php
-
- message: '#^Access to an undefined property WP_REST_Response\:\:\$description\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:backorders_allowed\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Access to an undefined property WP_REST_Response\:\:\$enabled\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:get_backorders\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Access to an undefined property WP_REST_Response\:\:\$form_fields\.$#'
- identifier: property.notFound
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ message: '#^Call to an undefined method WC_Data\:\:get_date_created\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Access to an undefined property WP_REST_Response\:\:\$id\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:get_date_modified\(\)\.$#'
+ identifier: method.notFound
count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Access to an undefined property WP_REST_Response\:\:\$order\.$#'
- identifier: property.notFound
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ message: '#^Call to an undefined method WC_Data\:\:get_date_on_sale_from\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Access to an undefined property WP_REST_Response\:\:\$settings\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:get_date_on_sale_to\(\)\.$#'
+ identifier: method.notFound
count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Access to an undefined property WP_REST_Response\:\:\$title\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:get_description\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:get_download_expiry\(\)\.$#'
+ identifier: method.notFound
count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WP_REST_Response\:\:get_option_key\(\)\.$#'
+ message: '#^Call to an undefined method WC_Data\:\:get_download_limit\(\)\.$#'
identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WP_REST_Response\:\:init_form_fields\(\)\.$#'
+ message: '#^Call to an undefined method WC_Data\:\:get_height\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_gateway\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_length\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_menu_order\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_permalink\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_price\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_regular_price\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_sale_price\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:get_shipping_class\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_shipping_class_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Data\:\:get_stock_quantity\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Parameter \#1 \$gateway of method WC_REST_Payment_Gateways_V2_Controller\:\:prepare_item_for_response\(\) expects WC_Payment_Gateway, WP_REST_Response given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ message: '#^Call to an undefined method WC_Data\:\:get_tax_class\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data\:\:get_tax_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data\:\:get_weight\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attribute_Terms_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 150 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Data\:\:get_width\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-attribute-terms-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attributes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Data\:\:is_downloadable\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-attributes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Categories_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 125 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Data\:\:is_in_stock\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-brands-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Data\:\:is_on_backorder\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Data\:\:is_on_sale\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Cannot access property \$post_modified on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Data\:\:is_purchasable\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Data\:\:is_virtual\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Product_Categories_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WC_Data\:\:is_visible\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Categories_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Call to an undefined method WC_Data\:\:managing_stock\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, WP_Post\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to function is_array\(\) with non\-empty\-array\<mixed, mixed\> will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot call method get_parent_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_download_expiry\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Reviews_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 134 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method set_download_limit\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method set_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Parameter \#1 \$comment_id of function wc_review_is_from_verified_owner expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method set_image_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Shipping_Classes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 152 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method set_parent_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-shipping-classes-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Tags_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method set_sku\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-tags-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:backorders_allowed\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot call method set_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_backorders\(\)\.$#'
- identifier: method.notFound
+ message: '#^Cannot call method set_virtual\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_date_created\(\)\.$#'
- identifier: method.notFound
- count: 2
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_date_modified\(\)\.$#'
- identifier: method.notFound
- count: 2
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:clear_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_date_on_sale_from\(\)\.$#'
- identifier: method.notFound
- count: 2
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_date_on_sale_to\(\)\.$#'
- identifier: method.notFound
- count: 2
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_description\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_download_expiry\(\)\.$#'
- identifier: method.notFound
- count: 2
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_download_limit\(\)\.$#'
- identifier: method.notFound
- count: 2
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_height\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_length\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_menu_order\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
- identifier: method.notFound
- count: 4
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_permalink\(\)\.$#'
- identifier: method.notFound
+ message: '#^Negated boolean expression is always true\.$#'
+ identifier: booleanNot.alwaysTrue
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_price\(\)\.$#'
- identifier: method.notFound
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Products_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 122 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_regular_price\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_sale_price\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_shipping_class\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_shipping_class_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_attributes\(\) expects WC_Product, WC_Data given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_sku\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_downloads\(\) expects WC_Product, WC_Data given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_stock_quantity\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_images\(\) expects WC_Product, WC_Data given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_tax_class\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_downloadable_files\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_tax_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_weight\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:set_product_images\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_width\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:is_downloadable\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:is_in_stock\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:is_on_backorder\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:is_on_sale\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:is_purchasable\(\)\.$#'
- identifier: method.notFound
+ message: '#^Strict comparison using \=\=\= between ''trash'' and mixed~''trash'' will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:is_virtual\(\)\.$#'
- identifier: method.notFound
+ message: '#^Strict comparison using \=\=\= between 0 and mixed will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:is_visible\(\)\.$#'
- identifier: method.notFound
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:managing_stock\(\)\.$#'
+ message: '#^Variable \$raw_attribute_name might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WC_REST_Products_V2_Controller\:\:\$request\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_children\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_type\(\)\.$#'
identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to function is_array\(\) with non\-empty\-array\<mixed, mixed\> will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Call to an undefined method WC_Data\:\:has_child\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_type\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_button_text\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Call to an undefined method WC_Product\:\:get_product_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_shipping_class_id_by_slug\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method get_downloadable\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_catalog_visibility\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method get_parent_id\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method set_download_expiry\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_featured\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method set_download_limit\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method set_downloadable\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method set_image_id\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_purchase_note\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method set_parent_id\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method set_sku\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method set_status\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method set_virtual\(\) on WC_Product\|false\|null\.$#'
+ message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Cannot call method set_tax_class\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_tax_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_virtual\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:clear_transients\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Products_V2_Controller\:\:clear_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Products_V2_Controller\:\:get_object\(\) should return WC_Data but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Products_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Products_V2_Controller\:\:save_default_attributes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Products_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 122 on line 5$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 113 on line 5$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_attributes\(\) expects WC_Product, WC_Data given\.$#'
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\<1, max\> given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_downloads\(\) expects WC_Product, WC_Data given\.$#'
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_images\(\) expects WC_Product, WC_Data given\.$#'
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_downloadable_files\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$image_id of method WC_Product\:\:set_image_id\(\) expects int\|string, int\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:set_product_images\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_product_data\(\) expects WC_Product, WC_Data given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, object\|false\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ message: '#^Parameter \#1 \$tax of function get_taxonomy_labels expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- -
- message: '#^Strict comparison using \=\=\= between ''trash'' and mixed~''trash'' will always evaluate to false\.$#'
- identifier: identical.alwaysFalse
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- -
- message: '#^Strict comparison using \=\=\= between 0 and mixed will always evaluate to false\.$#'
- identifier: identical.alwaysFalse
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- -
- message: '#^Unreachable statement \- code above always terminates\.$#'
- identifier: deadCode.unreachable
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- -
- message: '#^Variable \$raw_attribute_name might not be defined\.$#'
- identifier: variable.undefined
- count: 3
- path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
-
- -
- message: '#^Access to an undefined property WC_REST_Products_V2_Controller\:\:\$request\.$#'
- identifier: property.notFound
- count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_children\(\)\.$#'
- identifier: method.notFound
- count: 4
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
count: 2
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:get_type\(\)\.$#'
- identifier: method.notFound
- count: 1
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_position\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:has_child\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, int given\.$#'
+ identifier: argument.type
count: 2
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Data\:\:is_type\(\)\.$#'
- identifier: method.notFound
- count: 3
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_button_text\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_product_url\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
- identifier: method.notFound
- count: 1
+ message: '#^Parameter \#2 \$product of method WC_REST_Products_V2_Controller\:\:get_attribute_taxonomy_name\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 2
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
- identifier: method.notFound
+ message: '#^Strict comparison using \=\=\= between ''trash'' and mixed~''trash'' will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Call to an undefined method object\:\:get_shipping_class_id_by_slug\(\)\.$#'
- identifier: method.notFound
+ message: '#^Strict comparison using \=\=\= between 0 and mixed will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method get_type\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
count: 1
path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- message: '#^Cannot call method set_catalog_visibility\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Sales_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-report-sales-v2-controller.php
-
- message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Top_Sellers_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-report-top-sellers-v2-controller.php
-
- message: '#^Cannot call method set_featured\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-reports-v2-controller.php
-
- message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Cannot access offset ''option_key'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Cannot access offset ''option_key'' on stdClass\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Cannot call method set_purchase_note\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ message: '#^Cannot access offset ''type'' on stdClass\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ message: '#^Cannot access offset ''value'' on stdClass\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Cannot call method set_tax_class\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Cannot call method set_tax_status\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Cannot call method set_virtual\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:clear_transients\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:get_object\(\) should return WC_Data but returns WC_Product\|false\|null\.$#'
- identifier: return.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#1 \$setting of method WC_REST_Setting_Options_V2_Controller\:\:filter_setting\(\) expects array, object given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#2 \$setting of method WC_REST_Controller\:\:validate_setting_text_field\(\) expects array, stdClass given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Settings_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Settings_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Settings_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Settings_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
-
- message: '#^Method WC_REST_Products_V2_Controller\:\:save_default_attributes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
-
- message: '#^Negated boolean expression is always true\.$#'
- identifier: booleanNot.alwaysTrue
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 113 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\<1, max\> given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$image_id of method WC_Product\:\:set_image_id\(\) expects int\|string, int\|null given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
- identifier: argument.type
- count: 3
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_product_data\(\) expects WC_Product, WC_Data given\.$#'
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, object\|false\|null given\.$#'
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
- identifier: argument.type
- count: 3
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
-
- message: '#^Parameter \#1 \$tax of function get_taxonomy_labels expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
-
- message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_position\(\) expects int, string given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, int given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, int given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
-
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''strlen'' given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:update_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
-
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_Controller_Base\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
-
- message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
-
- -
- message: '#^Parameter \#2 \$product of method WC_REST_Products_V2_Controller\:\:get_attribute_taxonomy_name\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
-
- message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
-
- message: '#^Strict comparison using \=\=\= between ''trash'' and mixed~''trash'' will always evaluate to false\.$#'
- identifier: identical.alwaysFalse
+ message: '#^Cannot access property \$enabled on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Strict comparison using \=\=\= between 0 and mixed will always evaluate to false\.$#'
- identifier: identical.alwaysFalse
+ message: '#^Cannot access property \$id on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Unreachable statement \- code above always terminates\.$#'
- identifier: deadCode.unreachable
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+ message: '#^Cannot access property \$instance_id on array\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Sales_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot access property \$instance_settings on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-report-sales-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Top_Sellers_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot access property \$method_description on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-report-top-sellers-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot access property \$method_order on array\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-reports-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Cannot access offset ''option_key'' on object\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ message: '#^Cannot access property \$method_title on array\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Cannot access offset ''option_key'' on stdClass\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Cannot access offset ''type'' on stdClass\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Cannot access offset ''value'' on stdClass\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:delete_item\(\) should return bool\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:update_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:update_fields\(\) should return WC_Shipping_Method but returns WP_Error\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_Controller_Base\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Parameter \#1 \$setting of method WC_REST_Setting_Options_V2_Controller\:\:filter_setting\(\) expects array, object given\.$#'
+ message: '#^Parameter \#1 \$item of method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:get_settings\(\) expects WC_Shipping_Method, array given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Parameter \#2 \$setting of method WC_REST_Controller\:\:validate_setting_text_field\(\) expects array, stdClass given\.$#'
+ message: '#^Parameter \#1 \$item of method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:prepare_item_for_response\(\) expects array, WC_Shipping_Method given\.$#'
identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Settings_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Settings_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- message: '#^Method WC_REST_Settings_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Settings_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method get_data\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:delete_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:delete_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:update_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:update_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:update_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_Controller_Base\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_Controller_Base\)\: Unexpected token "\\n ", expected ''\<'' at offset 123 on line 5$#'
identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<1, max\> given\.$#'
identifier: argument.type
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
-
- -
- message: '#^Cannot access property \$enabled on array\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- message: '#^Cannot access property \$id on array\.$#'
- identifier: property.nonObject
+ message: '#^Call to function method_exists\(\) with ''WC_Cache_Helper'' and ''invalidate_cache…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Cannot access property \$instance_id on array\.$#'
- identifier: property.nonObject
- count: 3
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ message: '#^Call to function method_exists\(\) with ''WC_Install'' and ''verify_base_tables'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Cannot access property \$instance_settings on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Cannot access property \$method_description on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Cannot access property \$method_order on array\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- -
- message: '#^Cannot access property \$method_title on array\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:delete_item\(\) should return bool\|WP_Error but returns WP_REST_Response\.$#'
- identifier: return.type
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 104 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Access to an undefined property WC_REST_System_Status_V2_Controller\:\:\$available_updates\.$#'
+ identifier: property.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ message: '#^Access to an undefined property WP_Theme\:\:\$Author URI\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:update_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Call to function is_callable\(\) with ''gzopen'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:update_fields\(\) should return WC_Shipping_Method but returns WP_Error\.$#'
- identifier: return.type
+ message: '#^Cannot access offset ''ssl_version'' on array\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Cannot access offset ''version'' on array\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_Controller_Base\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
- identifier: phpDoc.parseError
+ message: '#^Comparison operation "\<\=" between 0 and int\<0, max\> is always true\.$#'
+ identifier: smallerOrEqual.alwaysTrue
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- message: '#^Parameter \#1 \$item of method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:get_settings\(\) expects WC_Shipping_Method, array given\.$#'
- identifier: argument.type
+ message: '#^Constant WP_MEMORY_LIMIT not found\.$#'
+ identifier: constant.notFound
count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- -
- message: '#^Parameter \#1 \$item of method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:prepare_item_for_response\(\) expects array, WC_Shipping_Method given\.$#'
- identifier: argument.type
- count: 3
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- -
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- -
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
-
- -
- message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Cannot call method get_data\(\) on bool\|WC_Shipping_Zone\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:delete_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:delete_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:update_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:update_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_Controller_Base\)\: Unexpected token "\\n ", expected ''\<'' at offset 123 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<1, max\> given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
-
- -
- message: '#^Call to function method_exists\(\) with ''WC_Cache_Helper'' and ''invalidate_cache…'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Call to function method_exists\(\) with ''WC_Install'' and ''verify_base_tables'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 104 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
-
- -
- message: '#^Access to an undefined property WC_REST_System_Status_V2_Controller\:\:\$available_updates\.$#'
- identifier: property.notFound
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- -
- message: '#^Access to an undefined property WP_Theme\:\:\$Author URI\.$#'
- identifier: property.notFound
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- -
- message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
- count: 2
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- -
- message: '#^Call to function is_callable\(\) with ''gzopen'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- -
- message: '#^Cannot access offset ''ssl_version'' on array\|false\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- -
- message: '#^Cannot access offset ''version'' on array\|false\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- -
- message: '#^Comparison operation "\<\=" between 0 and int\<0, max\> is always true\.$#'
- identifier: smallerOrEqual.alwaysTrue
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
- -
- message: '#^Constant WP_MEMORY_LIMIT not found\.$#'
- identifier: constant.notFound
- count: 1
- path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
-
message: '#^Method WC_REST_System_Status_V2_Controller\:\:add_db_table_prefix\(\) has invalid return type stromg\.$#'
@@ -33943,8609 +33343,6947 @@ parameters:
message: '#^Call to an undefined method WC_Data\:\:get_download_limit\(\)\.$#'
identifier: method.notFound
count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_global_unique_id\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_height\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_length\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_low_stock_amount\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_menu_order\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_permalink\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_price\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_regular_price\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_sale_price\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_shipping_class\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_shipping_class_id\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_sku\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_status\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_stock_quantity\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_stock_status\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_tax_class\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_tax_status\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_type\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_weight\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:get_width\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:is_downloadable\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:is_on_backorder\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:is_on_sale\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:is_purchasable\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:is_virtual\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data\:\:managing_stock\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method object\:\:create_all_product_variations\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to an undefined method object\:\:sort_all_product_variations\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to method get_cogs_effective_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to method get_cogs_total_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to method get_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to method get_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to method set_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Call to method set_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method delete\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method get_data_store\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method get_downloadable\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method set_download_expiry\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method set_download_limit\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method set_downloadable\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method set_global_unique_id\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method set_image_id\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method set_parent_id\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method set_sku\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method set_status\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Cannot call method set_virtual\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Method WC_REST_Product_Variations_Controller\:\:generate\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Method WC_REST_Product_Variations_Controller\:\:get_image\(\) should return array but empty return statement found\.$#'
- identifier: return.empty
- count: 3
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Method WC_REST_Product_Variations_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Method WC_REST_Product_Variations_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Method WC_REST_Product_Variations_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Method WC_REST_Product_Variations_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Variations_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^PHPDoc tag @param has invalid value \(array Array of image to set\.\)\: Unexpected token "Array", expected variable at offset 293 on line 8$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^PHPDoc tag @param has invalid value \(bool false If it should suppress\.\)\: Unexpected token "false", expected variable at offset 141 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^PHPDoc tag @param has invalid value \(int id Variation id\.\)\: Unexpected token "id", expected variable at offset 250 on line 7$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$amount of method WC_Product\:\:set_low_stock_amount\(\) expects int\|string, float\|int given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$product of method WC_REST_Product_Variations_Controller\:\:delete_unmatched_product_variations\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$product of method WC_REST_Product_Variations_Controller\:\:get_downloads\(\) expects WC_Product_Variation, WC_Data given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_attributes\(\) expects WC_Product, WC_Data given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_downloadable_files\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$request of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request, WP_REST_Request given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$upload of function wc_rest_set_uploaded_image_as_attachment expects array, array\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, WC_Data given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$variation of method WC_REST_Product_Variations_Controller\:\:get_image\(\) expects WC_Product_Variation, WC_Data given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#1 \$variation of method WC_REST_Product_Variations_Controller\:\:set_variation_image\(\) expects WC_Product_Variation, WC_Product\|false\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#2 \$product of method WC_REST_Product_Variations_Controller\:\:add_cogs_info_to_returned_product_data\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Data given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#2 \$product of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Product given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \$product of method WC_REST_Product_Variations_Controller\:\:add_cogs_info_to_returned_product_data\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \$product of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Parameter \$request of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Variable \$image in isset\(\) is never defined\.$#'
- identifier: isset.variable
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- -
- message: '#^Method WC_REST_Products_Catalog_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
-
- -
- message: '#^Method WC_REST_Products_Catalog_Controller\:\:request_catalog\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
-
- -
- message: '#^Method WC_REST_Products_Catalog_Controller\:\:request_catalog_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 116 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
-
- -
- message: '#^Access to offset ''cost_of_goods_sold'' on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
- identifier: class.notFound
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to an undefined method WC_Data_Store\:\:get_related_products\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to method get_cogs_effective_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to method get_cogs_total_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to method get_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to method get_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to method set_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Call to method set_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot access property \$public on WP_Post_Type\|null\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method get_type\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_catalog_visibility\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_featured\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_post_password\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_purchase_note\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_tax_class\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_tax_status\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot call method set_virtual\(\) on object\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Method WC_Product\:\:has_options\(\) invoked with 1 parameter, 0 required\.$#'
- identifier: arguments.count
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Method WC_REST_Products_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Method WC_REST_Products_Controller\:\:duplicate_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Method WC_REST_Products_Controller\:\:get_suggested_products\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Method WC_REST_Products_Controller\:\:get_suggested_products\(\) should return object but returns array\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Method WC_REST_Products_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Method WC_REST_Products_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Method WC_REST_Products_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Method WC_REST_Products_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Products_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$amount of method WC_Product\:\:set_low_stock_amount\(\) expects int\|string, float\|int given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$array_arg of function current expects array\|object, list\<bool\|int\|string\>\|false given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$global_unique_id of method WC_Product\:\:set_global_unique_id\(\) expects string, array\|string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
- identifier: argument.type
- count: 3
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$post_type of function is_post_type_viewable expects string\|WP_Post_Type, WP_Post_Type\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$product of method WC_Admin_Duplicate_Product\:\:product_duplicate\(\) expects WC_Product, WC_Data\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, object\|false\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
- identifier: argument.type
- count: 3
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$request of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request, WP_REST_Request given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_position\(\) expects int, string given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, int given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, int given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#2 \$product of method WC_REST_Products_Controller\:\:add_cogs_info_to_returned_product_data\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Data given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \#2 \$product of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Product given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \$product of method WC_REST_Products_Controller\:\:add_cogs_info_to_returned_product_data\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \$product of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Parameter \$request of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
- identifier: class.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- -
- message: '#^Cannot assign offset ''dp'' to WP_REST_Request\.$#'
- identifier: offsetAssign.dimType
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- -
- message: '#^Method WC_REST_Refunds_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- -
- message: '#^Method WC_REST_Refunds_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- -
- message: '#^Method WC_REST_Refunds_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- -
- message: '#^Method WC_REST_Refunds_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Order_Refunds_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- -
- message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- -
- message: '#^Property WC_REST_Order_Refunds_V2_Controller\:\:\$request \(array\) does not accept WP_REST_Request\.$#'
- identifier: assign.propertyType
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- -
- message: '#^WP_REST_Request does not accept int\.$#'
- identifier: offsetAssign.valueType
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- -
- message: '#^Method WC_REST_Report_Coupons_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-coupons-totals-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-coupons-totals-controller.php
-
- -
- message: '#^Method WC_REST_Report_Customers_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-customers-totals-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-customers-totals-controller.php
-
- -
- message: '#^Method WC_REST_Report_Orders_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-orders-totals-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 129 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-orders-totals-controller.php
-
- -
- message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php
-
- -
- message: '#^Method WC_REST_Report_Products_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 131 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php
-
- -
- message: '#^Method WC_REST_Report_Reviews_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-reviews-totals-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-reviews-totals-controller.php
-
- -
- message: '#^Parameter \#1 \$args of function get_comments expects array\{author_email\?\: string, author_url\?\: string, author__in\?\: array\<int\>, author__not_in\?\: array\<int\>, comment__in\?\: array\<int\>, comment__not_in\?\: array\<int\>, count\?\: bool, date_query\?\: array, \.\.\.\}, array\{count\: true, post_type\: ''product'', meta_key\: ''rating'', meta_value\: int\<1, 5\>\} given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-reviews-totals-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Sales_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-sales-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Top_Sellers_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-report-top-sellers-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-reports-controller.php
-
- -
- message: '#^Argument of an invalid type array\<WP_Post\>\|false supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
-
- -
- message: '#^Cannot access offset ''group_id'' on stdClass\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Setting_Options_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 134 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
-
- -
- message: '#^Parameter \#1 \$args of function get_pages expects array\{child_of\?\: int, sort_order\?\: string, sort_column\?\: string, hierarchical\?\: bool, exclude\?\: array\<int\>, include\?\: array\<int\>, meta_key\?\: string, meta_value\?\: string, \.\.\.\}, array\{sort_column\: ''menu_order'', sort_order\: ''ASC'', hierarchical\: 0\} given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
-
- -
- message: '#^Method WC_REST_Settings_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
-
- -
- message: '#^Method WC_REST_Settings_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
-
- -
- message: '#^Method WC_REST_Settings_Controller\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Settings_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Methods_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-methods-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zone_Locations_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 139 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zone-locations-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zone_Methods_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 135 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zone-methods-controller.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:delete_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:get_zone\(\) should return WC_Shipping_Zone\|WP_Error but returns WC_Shipping_Zone\|true\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- -
- message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 121 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_System_Status_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 121 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-system-status-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_System_Status_Tools_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-system-status-tools-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Tax_Classes_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 126 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-tax-classes-controller.php
-
- -
- message: '#^Method WC_REST_Taxes_Controller\:\:adjust_cities_and_postcodes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- -
- message: '#^Method WC_REST_Taxes_Controller\:\:adjust_cities_and_postcodes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- -
- message: '#^Method WC_REST_Taxes_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- -
- message: '#^Method WC_REST_Taxes_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Taxes_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- -
- message: '#^Parameter &\$request by\-ref type of method WC_REST_Taxes_Controller\:\:adjust_cities_and_postcodes\(\) expects WP_REST_Request, hasOffset\(string\) given\.$#'
- identifier: parameterByRef.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- -
- message: '#^@param WP_REST_Response \$response does not accept actual type of parameter\: WP_Error\|WP_REST_Response\.$#'
- identifier: parameter.phpDocType
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^@param WP_Term \$term does not accept actual type of parameter\: WP_Error\|WP_Term\|null\.$#'
- identifier: parameter.phpDocType
- count: 3
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Access to an undefined property WC_REST_Terms_Controller\:\:\$sort_column\.$#'
- identifier: property.notFound
- count: 3
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Access to an undefined property WC_REST_Terms_Controller\:\:\$total_terms\.$#'
- identifier: property.notFound
- count: 3
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Access to an undefined property WP_Error\|WP_Term\:\:\$term_id\.$#'
- identifier: property.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Access to an undefined property object\:\:\$parent\.$#'
- identifier: property.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Access to an undefined property object\:\:\$taxonomy\.$#'
- identifier: property.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Access to an undefined property object\:\:\$term_id\.$#'
- identifier: property.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Argument of an invalid type array\|WP_Error supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Cannot access property \$hierarchical on WP_Taxonomy\|false\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Cannot access property \$taxonomy on WP_Error\|WP_Term\|null\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Cannot access property \$term_id on WP_Error\|WP_Term\|null\.$#'
- identifier: property.nonObject
- count: 4
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:compare_terms\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:get_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:get_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:get_taxonomy\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:get_taxonomy\(\) should return int\|WP_Error but returns string\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:get_terms_for_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:update_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:update_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
- identifier: return.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Terms_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^PHPDoc tag @return has invalid value \(int \<0 if left is higher "priority" than right, 0 if equal, \>0 if right is higher "priority" than left\.\)\: Unexpected token "if", expected ''\>'' at offset 226 on line 8$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, int\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, int\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$array_arg of function usort expects TArray of array\<WP_Term\>, array\<WP_Term\>\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Error\|WP_Term\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$input of function array_reverse expects array, array\<WP_Term\>\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$taxonomy of function get_taxonomy expects string, int\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$taxonomy of function is_taxonomy_hierarchical expects string, int\|WP_Error given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$taxonomy of function taxonomy_exists expects string, int\<min, \-1\>\|int\<1, max\>\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#1 \$term of method WC_REST_Terms_Controller\:\:update_term_meta_fields\(\) expects WP_Term, WP_Error\|WP_Term\|null given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#2 \$taxonomy of function get_term expects string, int\|WP_Error given\.$#'
- identifier: argument.type
- count: 5
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#2 \$taxonomy of function get_the_terms expects string, int\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#2 \$taxonomy of function wp_delete_term expects string, int\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#2 \$taxonomy of function wp_insert_term expects string, int\|WP_Error given\.$#'
- identifier: argument.type
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
- identifier: argument.type
- count: 2
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Part \$taxonomy \(int\|WP_Error\) of encapsed string cannot be cast to string\.$#'
- identifier: encapsedStringPart.nonString
- count: 4
- path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- -
- message: '#^Method WC_REST_Variations_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-variations-controller.php
-
- -
- message: '#^Method WC_REST_Variations_Controller\:\:register_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-variations-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Variations_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 129 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-variations-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Webhooks_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version3/class-wc-rest-webhooks-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Setting_Options_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version4/class-wc-rest-settings-v4-controller.php
-
- -
- message: '#^Method WC_REST_V4_Controller\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
- count: 1
- path: includes/rest-api/Controllers/Version4/class-wc-rest-v4-controller.php
-
- -
- message: '#^PHPDoc tag @extends has invalid value \(WP_REST_Controller\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 119 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: includes/rest-api/Controllers/Version4/class-wc-rest-v4-controller.php
-
- -
- message: '#^Call to an undefined method object\:\:init\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Package.php
-
- -
- message: '#^Method Automattic\\WooCommerce\\RestApi\\Package\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Package.php
-
- -
- message: '#^Call to an undefined method object\:\:register_routes\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: includes/rest-api/Server.php
-
- -
- message: '#^Method Automattic\\WooCommerce\\RestApi\\Server\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Server.php
-
- -
- message: '#^Method Automattic\\WooCommerce\\RestApi\\Server\:\:register_rest_routes\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Server.php
-
- -
- message: '#^Unable to resolve the template type T in call to method Automattic\\WooCommerce\\Container\:\:get\(\)$#'
- identifier: argument.templateType
- count: 1
- path: includes/rest-api/Server.php
-
- -
- message: '#^Unable to resolve the template type T in call to method Automattic\\WooCommerce\\Proxies\\LegacyProxy\:\:get_instance_of\(\)$#'
- identifier: argument.templateType
- count: 1
- path: includes/rest-api/Server.php
-
- -
- message: '#^Unsafe usage of new static\(\)\.$#'
- identifier: new.static
- count: 1
- path: includes/rest-api/Server.php
-
- -
- message: '#^Method Automattic\\WooCommerce\\RestApi\\Utilities\\ImageAttachment\:\:update_alt_text\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Utilities/ImageAttachment.php
-
- -
- message: '#^Method Automattic\\WooCommerce\\RestApi\\Utilities\\ImageAttachment\:\:update_name\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Utilities/ImageAttachment.php
-
- -
- message: '#^Method Automattic\\WooCommerce\\RestApi\\Utilities\\ImageAttachment\:\:upload_image_from_src\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/rest-api/Utilities/ImageAttachment.php
-
- -
- message: '#^Undefined variable\: \$images$#'
- identifier: variable.undefined
- count: 1
- path: includes/rest-api/Utilities/ImageAttachment.php
-
- -
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
- count: 1
- path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- -
- message: '#^Binary operation "\*" between string and float results in an error\.$#'
- identifier: binaryOp.invalid
- count: 1
- path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- -
- message: '#^Function remove_shortcode invoked with 2 parameters, 1 required\.$#'
- identifier: arguments.count
- count: 1
- path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- -
- message: '#^Method WC_Shipping_Flat_Rate\:\:calculate_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- -
- message: '#^Method WC_Shipping_Flat_Rate\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- -
- message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Access to an undefined property object\:\:\$name\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:get_global_unique_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/flat-rate/includes/settings-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Access to an undefined property object\:\:\$slug\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:get_height\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/flat-rate/includes/settings-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Variable \$this might not be defined\.$#'
- identifier: variable.undefined
- count: 4
- path: includes/shipping/flat-rate/includes/settings-flat-rate.php
+ message: '#^Call to an undefined method WC_Data\:\:get_length\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
- count: 1
- path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+ message: '#^Call to an undefined method WC_Data\:\:get_low_stock_amount\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Binary operation "\-" between string and float results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Call to an undefined method WC_Data\:\:get_menu_order\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Free_Shipping\:\:calculate_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Free_Shipping\:\:enqueue_admin_js\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:get_permalink\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Free_Shipping\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:get_price\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Free_Shipping\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:get_regular_price\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data\:\:get_sale_price\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Call to an undefined method WC_Data\:\:get_shipping_class\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Binary operation "\*" between string and float results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Call to an undefined method WC_Data\:\:get_shipping_class_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Binary operation "\*" between string and int results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Call to an undefined method WC_Data\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Binary operation "\*" between string and int\<0, max\> results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Call to an undefined method WC_Data\:\:get_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Binary operation "/" between non\-empty\-string and 100 results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Call to an undefined method WC_Data\:\:get_stock_quantity\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Function remove_shortcode invoked with 2 parameters, 1 required\.$#'
- identifier: arguments.count
+ message: '#^Call to an undefined method WC_Data\:\:get_stock_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:calculate_extra_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:get_tax_class\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:calculate_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:get_tax_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:get_type\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data\:\:get_weight\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Call to an undefined method WC_Data\:\:get_width\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data\:\:is_downloadable\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Variable \$cost_operator might not be defined\.$#'
- identifier: variable.undefined
- count: 3
- path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+ message: '#^Call to an undefined method WC_Data\:\:is_on_backorder\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Access to an undefined property object\:\:\$name\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:is_on_sale\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Access to an undefined property object\:\:\$slug\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method WC_Data\:\:is_purchasable\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Variable \$this might not be defined\.$#'
- identifier: variable.undefined
- count: 2
- path: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php
+ message: '#^Call to an undefined method WC_Data\:\:is_virtual\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Call to an undefined method WC_Data\:\:managing_stock\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Binary operation "\-" between string and float results in an error\.$#'
- identifier: binaryOp.invalid
- count: 2
- path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+ message: '#^Call to an undefined method object\:\:create_all_product_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:calculate_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:sort_all_product_variations\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_cogs_effective_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_cogs_total_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Call to method get_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Call to method get_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Call to method set_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_International_Delivery\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method set_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Cannot call method delete\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Binary operation "/" between string and 100 results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:calculate_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_data_store\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Cannot call method set_download_expiry\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method set_download_limit\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Cannot call method set_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:calculate_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_global_unique_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_image_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_parent_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Cannot call method set_sku\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
+ message: '#^Cannot call method set_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Local_Pickup\:\:calculate_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_virtual\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Local_Pickup\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:generate\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shipping_Local_Pickup\:\:init_form_fields\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:get_image\(\) should return array but empty return statement found\.$#'
+ identifier: return.empty
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_Cart\:\:calculate_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/shortcodes/class-wc-shortcode-cart.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_Cart\:\:output\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/shortcodes/class-wc-shortcode-cart.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$postcode of function wc_format_postcode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/shortcodes/class-wc-shortcode-cart.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#2 \$country of function wc_format_postcode expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/shortcodes/class-wc-shortcode-cart.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Variable \$e in empty\(\) always exists and is not falsy\.$#'
- identifier: empty.variable
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Variations_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/shortcodes/class-wc-shortcode-cart.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\.$#'
- identifier: parameter.phpDocType
+ message: '#^PHPDoc tag @param has invalid value \(array Array of image to set\.\)\: Unexpected token "Array", expected variable at offset 293 on line 8$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_country\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ message: '#^PHPDoc tag @param has invalid value \(bool false If it should suppress\.\)\: Unexpected token "false", expected variable at offset 141 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_email\(\)\.$#'
- identifier: method.notFound
+ message: '#^PHPDoc tag @param has invalid value \(int id Variation id\.\)\: Unexpected token "id", expected variable at offset 250 on line 7$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_postcode\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_state\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ message: '#^Parameter \#1 \$amount of method WC_Product\:\:set_low_stock_amount\(\) expects int\|string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_checkout_payment_url\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_key\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:needs_payment\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
+ identifier: argument.type
count: 2
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Call to an undefined method object\:\:get_stock_reduced\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_Checkout\:\:checkout\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_Checkout\:\:order_pay\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_Checkout\:\:order_received\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_Checkout\:\:output\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$email of function sanitize_email expects string, string\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$product of method WC_REST_Product_Variations_Controller\:\:delete_unmatched_product_variations\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, string\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$product of method WC_REST_Product_Variations_Controller\:\:get_downloads\(\) expects WC_Product_Variation, WC_Data given\.$#'
identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$order of static method WC_Shortcode_Checkout\:\:guest_should_verify_email\(\) expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_attributes\(\) expects WC_Product, WC_Data given\.$#'
identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-checkout.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#2 \$user_string of function hash_equals expects string, array\|string given\.$#'
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_downloadable_files\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
identifier: argument.type
- count: 2
- path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- -
- message: '#^Access to an undefined property object\:\:\$ID\.$#'
- identifier: property.notFound
- count: 3
- path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- -
- message: '#^Constant COOKIEHASH not found\.$#'
- identifier: constant.notFound
- count: 4
- path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- -
- message: '#^Function wc_add_notice invoked with 4 parameters, 1\-3 required\.$#'
- identifier: arguments.count
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:add_payment_method\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:edit_account\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:edit_address\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$request of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request, WP_REST_Request given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:lost_password\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:my_account\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$upload of function wc_rest_set_uploaded_image_as_attachment expects array, array\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:my_account_add_notices\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, WC_Data given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:output\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$variation of method WC_REST_Product_Variations_Controller\:\:get_image\(\) expects WC_Product_Variation, WC_Data given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:reset_password\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$variation of method WC_REST_Product_Variations_Controller\:\:set_variation_image\(\) expects WC_Product_Variation, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:set_reset_password_cookie\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_My_Account\:\:view_order\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$product of method WC_REST_Product_Variations_Controller\:\:add_cogs_info_to_returned_product_data\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Data given\.$#'
+ identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$key of static method WC_Shortcode_My_Account\:\:check_password_reset_key\(\) expects string, array\|string given\.$#'
+ message: '#^Parameter \#2 \$product of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Product given\.$#'
identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$user of function wp_password_change_notification expects WP_User, object given\.$#'
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/shortcodes/class-wc-shortcode-my-account.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Method WC_Shortcode_Order_Tracking\:\:output\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \$product of method WC_REST_Product_Variations_Controller\:\:add_cogs_info_to_returned_product_data\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-order-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Parameter \#1 \$str of function ltrim expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Parameter \$product of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-order-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \$request of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Access to an undefined property object\:\:\$current_page\.$#'
- identifier: property.notFound
+ message: '#^Variable \$image in isset\(\) is never defined\.$#'
+ identifier: isset.variable
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
-
- message: '#^Access to an undefined property object\:\:\$ids\.$#'
- identifier: property.notFound
+ message: '#^Method WC_REST_Products_Catalog_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
-
- message: '#^Access to an undefined property object\:\:\$per_page\.$#'
- identifier: property.notFound
+ message: '#^Method WC_REST_Products_Catalog_Controller\:\:request_catalog\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
-
- message: '#^Access to an undefined property object\:\:\$total\.$#'
- identifier: property.notFound
+ message: '#^Method WC_REST_Products_Catalog_Controller\:\:request_catalog_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
-
- message: '#^Access to an undefined property object\:\:\$total_pages\.$#'
- identifier: property.notFound
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 116 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
-
- message: '#^Action callback returns bool but should not return anything\.$#'
- identifier: return.void
- count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ message: '#^Access to offset ''cost_of_goods_sold'' on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_related_products\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_attributes_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_best_selling_products_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_categories_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_ids_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_cogs_effective_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_sale_products_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_cogs_total_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_skus_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_tags_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method get_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_top_rated_products_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method set_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_visibility_catalog_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to method set_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_visibility_featured_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$public on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_visibility_hidden_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_type\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_visibility_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_catalog_visibility\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Shortcode_Products\:\:set_visibility_search_query_args\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^PHPDoc tag @param has invalid value \(WC_Shortcode_Products \$this WC_Shortcode_Products instance\.\)\: Unexpected token "\$this", expected variable at offset 152 on line 6$#'
- identifier: phpDoc.parseError
+ message: '#^Cannot call method set_featured\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Parameter \#1 \$post of function setup_postdata expects int\|object, WP_Post\|null given\.$#'
- identifier: argument.type
+ message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/shortcodes/class-wc-shortcode-products.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Eleven\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-eleven.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Eleven\:\:output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_post_password\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-eleven.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Eleven\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_purchase_note\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-eleven.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Fifteen\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-fifteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Fifteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-fifteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Fifteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-fifteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Fourteen\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-fourteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Fourteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_tax_class\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-fourteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Fourteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_tax_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-fourteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Nineteen\:\:custom_colors_css\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_virtual\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/theme-support/class-wc-twenty-nineteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Nineteen\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Product\:\:has_options\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/theme-support/class-wc-twenty-nineteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Nineteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Products_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/theme-support/class-wc-twenty-nineteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Nineteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Products_Controller\:\:duplicate_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/theme-support/class-wc-twenty-nineteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Nineteen\:\:tweak_theme_features\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Products_Controller\:\:get_suggested_products\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/theme-support/class-wc-twenty-nineteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Seventeen\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Products_Controller\:\:get_suggested_products\(\) should return object but returns array\.$#'
+ identifier: return.type
count: 1
- path: includes/theme-support/class-wc-twenty-seventeen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Seventeen\:\:output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Products_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/theme-support/class-wc-twenty-seventeen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Seventeen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Products_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/theme-support/class-wc-twenty-seventeen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Sixteen\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Products_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/theme-support/class-wc-twenty-sixteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Sixteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Products_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/theme-support/class-wc-twenty-sixteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Sixteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Products_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/theme-support/class-wc-twenty-sixteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Ten\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-ten.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Ten\:\:output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$amount of method WC_Product\:\:set_low_stock_amount\(\) expects int\|string, float\|int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-ten.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Ten\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-ten.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Thirteen\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$array_arg of function current expects array\|object, list\<bool\|int\|string\>\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-thirteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Thirteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-thirteen.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Thirteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/theme-support/class-wc-twenty-thirteen.php
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twelve\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twelve.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twelve\:\:output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twelve.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twelve\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$global_unique_id of method WC_Product\:\:set_global_unique_id\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twelve.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty_One\:\:enqueue_admin_styles\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/theme-support/class-wc-twenty-twenty-one.php
+ message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty_One\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/theme-support/class-wc-twenty-twenty-one.php
+ message: '#^Parameter \#1 \$post_type of function is_post_type_viewable expects string\|WP_Post_Type, WP_Post_Type\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Parameter \#3 \$deps of function wp_enqueue_style expects array\<string\>, string given\.$#'
+ message: '#^Parameter \#1 \$product of method WC_Admin_Duplicate_Product\:\:product_duplicate\(\) expects WC_Product, WC_Data\|WP_Error given\.$#'
identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twenty-one.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty_Three\:\:after_order_review\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, object\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twenty-three.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty_Three\:\:before_order_review\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/theme-support/class-wc-twenty-twenty-three.php
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty_Three\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$request of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request, WP_REST_Request given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twenty-three.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty_Two\:\:after_order_review\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twenty-two.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty_Two\:\:before_order_review\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/theme-support/class-wc-twenty-twenty-two.php
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty_Two\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/theme-support/class-wc-twenty-twenty-two.php
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_position\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/theme-support/class-wc-twenty-twenty.php
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty\:\:output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twenty.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twenty.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Twenty_Twenty\:\:set_white_background\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$product of method WC_REST_Products_Controller\:\:add_cogs_info_to_returned_product_data\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Data given\.$#'
+ identifier: argument.type
count: 1
- path: includes/theme-support/class-wc-twenty-twenty.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Call to function is_callable\(\) with array\{WC_Coupon_Tracking\|WC_Coupons_Tracking\|WC_Extensions_Tracking\|WC_Importer_Tracking\|WC_Order_Tracking\|WC_Orders_Tracking\|WC_Product_Collection_Block_Tracking\|WC_Products_Tracking\|WC_Settings_Tracking\|WC_Status_Tracking\|WC_Theme_Tracking, ''init''\} will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Parameter \#2 \$product of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Product given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/class-wc-site-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Site_Tracking\:\:add_enable_tracking_function\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \$product of method WC_REST_Products_Controller\:\:add_cogs_info_to_returned_product_data\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/tracks/class-wc-site-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Site_Tracking\:\:add_tracking_function\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \$product of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
count: 1
- path: includes/tracks/class-wc-site-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Site_Tracking\:\:enqueue_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \$request of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
+ identifier: class.notFound
count: 1
- path: includes/tracks/class-wc-site-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
-
- message: '#^Method WC_Site_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot assign offset ''dp'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
count: 1
- path: includes/tracks/class-wc-site-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- message: '#^Method WC_Site_Tracking\:\:register_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Refunds_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/class-wc-site-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- message: '#^Call to function is_wp_error\(\) with WC_Tracks_Event will always evaluate to false\.$#'
- identifier: function.impossibleType
+ message: '#^Method WC_REST_Refunds_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/class-wc-tracks-client.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- message: '#^Function jetpack_require_lib_dir not found\.$#'
- identifier: function.notFound
- count: 2
- path: includes/tracks/class-wc-tracks-client.php
+ message: '#^Method WC_REST_Refunds_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- message: '#^Method WC_Tracks_Client\:\:maybe_set_identity_cookie\(\) with return type void returns false but should not return anything\.$#'
- identifier: return.void
+ message: '#^Method WC_REST_Refunds_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/tracks/class-wc-tracks-client.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- message: '#^Method WC_Tracks_Event\:\:build_pixel_url\(\) invoked with 1 parameter, 0 required\.$#'
- identifier: arguments.count
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Order_Refunds_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/class-wc-tracks-client.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- message: '#^Access to an undefined property object\:\:\$_en\.$#'
- identifier: property.notFound
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/class-wc-tracks-event.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- message: '#^Argument of an invalid type object supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Property WC_REST_Order_Refunds_V2_Controller\:\:\$request \(array\) does not accept WP_REST_Request\.$#'
+ identifier: assign.propertyType
count: 1
- path: includes/tracks/class-wc-tracks-event.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- message: '#^Method WC_Tracks_Event\:\:record\(\) should return bool but returns bool\|WP_Error\.$#'
- identifier: return.type
- count: 2
- path: includes/tracks/class-wc-tracks-event.php
+ message: '#^WP_REST_Request does not accept int\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
-
- message: '#^Method WC_Tracks_Event\:\:scrutinize_event_names\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Report_Coupons_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/class-wc-tracks-event.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-coupons-totals-controller.php
-
- message: '#^Method WC_Tracks_Event\:\:validate_and_sanitize\(\) should return object but returns array\|object\.$#'
- identifier: return.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/class-wc-tracks-event.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-coupons-totals-controller.php
-
- message: '#^Parameter \#1 \$event of static method WC_Tracks_Client\:\:record_event\(\) expects array, \$this\(WC_Tracks_Event\) given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Report_Customers_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/class-wc-tracks-event.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-customers-totals-controller.php
-
- message: '#^Parameter \#1 \$event of static method WC_Tracks_Footer_Pixel\:\:record_event\(\) expects array, \$this\(WC_Tracks_Event\) given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/class-wc-tracks-event.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-customers-totals-controller.php
-
- message: '#^Call to function is_wp_error\(\) with WC_Tracks_Event will always evaluate to false\.$#'
- identifier: function.impossibleType
+ message: '#^Method WC_REST_Report_Orders_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/class-wc-tracks-footer-pixel.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-orders-totals-controller.php
-
- message: '#^Method WC_Tracks_Footer_Pixel\:\:add_event\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 129 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/class-wc-tracks-footer-pixel.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-orders-totals-controller.php
-
- message: '#^Method WC_Tracks_Footer_Pixel\:\:clear_events\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/tracks/class-wc-tracks-footer-pixel.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php
-
- message: '#^Method WC_Tracks_Footer_Pixel\:\:get_events\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Report_Products_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/class-wc-tracks-footer-pixel.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php
-
- message: '#^Method WC_Tracks_Footer_Pixel\:\:render_tracking_pixels\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 131 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/class-wc-tracks-footer-pixel.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php
-
- message: '#^Method WC_Tracks_Footer_Pixel\:\:send_tracks_requests\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Report_Reviews_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/class-wc-tracks-footer-pixel.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-reviews-totals-controller.php
-
- message: '#^Binary operation "\." between array\|string and ''\://'' results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/class-wc-tracks.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-reviews-totals-controller.php
-
- message: '#^Method WC_Tracks\:\:track_woocommerce_allow_tracking_toggled\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$args of function get_comments expects array\{author_email\?\: string, author_url\?\: string, author__in\?\: array\<int\>, author__not_in\?\: array\<int\>, comment__in\?\: array\<int\>, comment__not_in\?\: array\<int\>, count\?\: bool, date_query\?\: array, \.\.\.\}, array\{count\: true, post_type\: ''product'', meta_key\: ''rating'', meta_value\: int\<1, 5\>\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/class-wc-tracks.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-reviews-totals-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:add_footer_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Sales_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-sales-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:add_step_save_events\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Top_Sellers_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-top-sellers-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:dequeue_non_allowed_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-reports-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\<WP_Post\>\|false supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:set_obw_steps\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset ''group_id'' on stdClass\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_jetpack_activate\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Setting_Options_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 134 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_next_steps\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$args of function get_pages expects array\{child_of\?\: int, sort_order\?\: string, sort_column\?\: string, hierarchical\?\: bool, exclude\?\: array\<int\>, include\?\: array\<int\>, meta_key\?\: string, meta_value\?\: string, \.\.\.\}, array\{sort_column\: ''menu_order'', sort_order\: ''ASC'', hierarchical\: 0\} given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_payments\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Settings_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_ready_next_steps\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Settings_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_recommended\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Settings_Controller\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_shipping\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Settings_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_skip_step\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Methods_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-methods-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_start\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zone_Locations_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 139 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zone-locations-controller.php
-
- message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_store_setup\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zone_Methods_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 135 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zone-methods-controller.php
-
- message: '#^Property WC_Admin_Setup_Wizard_Tracking\:\:\$steps is never read, only written\.$#'
- identifier: property.onlyWritten
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- message: '#^Method WC_Coupon_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:delete_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-coupon-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- message: '#^Method WC_Coupon_Tracking\:\:track_coupon_updated\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-coupon-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- message: '#^Method WC_Coupons_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:get_zone\(\) should return WC_Shipping_Zone\|WP_Error but returns WC_Shipping_Zone\|true\.$#'
+ identifier: return.type
count: 1
- path: includes/tracks/events/class-wc-coupons-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- message: '#^Method WC_Coupons_Tracking\:\:tracks_coupons_events\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-coupons-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- message: '#^Method WC_Extensions_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-extensions-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
-
- message: '#^Method WC_Extensions_Tracking\:\:track_addon_install\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 121 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-extensions-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller.php
-
- message: '#^Method WC_Extensions_Tracking\:\:track_extensions_page\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_System_Status_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 121 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-extensions-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-system-status-controller.php
-
- message: '#^Method WC_Extensions_Tracking\:\:track_extensions_page_connection_error\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_System_Status_Tools_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-extensions-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-system-status-tools-controller.php
-
- message: '#^Method WC_Extensions_Tracking\:\:track_helper_connection_cancelled\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Tax_Classes_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 126 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-extensions-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-tax-classes-controller.php
-
- message: '#^Method WC_Extensions_Tracking\:\:track_helper_connection_complete\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Taxes_Controller\:\:adjust_cities_and_postcodes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-extensions-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- message: '#^Method WC_Extensions_Tracking\:\:track_helper_connection_start\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Taxes_Controller\:\:adjust_cities_and_postcodes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-extensions-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- message: '#^Method WC_Extensions_Tracking\:\:track_helper_disconnected\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Taxes_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-extensions-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- message: '#^Method WC_Extensions_Tracking\:\:track_helper_subscriptions_refresh\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Taxes_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-extensions-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- message: '#^Method WC_Importer_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Taxes_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-importer-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- message: '#^Method WC_Importer_Tracking\:\:track_product_importer\(\) with return type void returns null but should not return anything\.$#'
- identifier: return.void
+ message: '#^Parameter &\$request by\-ref type of method WC_REST_Taxes_Controller\:\:adjust_cities_and_postcodes\(\) expects WP_REST_Request, hasOffset\(string\) given\.$#'
+ identifier: parameterByRef.type
count: 2
- path: includes/tracks/events/class-wc-importer-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
-
- message: '#^Result of method WC_Importer_Tracking\:\:track_product_importer_complete\(\) \(void\) is used\.$#'
- identifier: method.void
+ message: '#^@param WP_REST_Response \$response does not accept actual type of parameter\: WP_Error\|WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/tracks/events/class-wc-importer-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Result of method WC_Importer_Tracking\:\:track_product_importer_start\(\) \(void\) is used\.$#'
- identifier: method.void
- count: 1
- path: includes/tracks/events/class-wc-importer-tracking.php
+ message: '#^@param WP_Term \$term does not accept actual type of parameter\: WP_Error\|WP_Term\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Order_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/tracks/events/class-wc-order-tracking.php
+ message: '#^Access to an undefined property WC_REST_Terms_Controller\:\:\$sort_column\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Order_Tracking\:\:track_order_viewed\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/tracks/events/class-wc-order-tracking.php
+ message: '#^Access to an undefined property WC_REST_Terms_Controller\:\:\$total_terms\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot access offset ''path'' on array\{scheme\?\: string, host\?\: string, port\?\: int\<0, 65535\>, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Access to an undefined property WP_Error\|WP_Term\:\:\$term_id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
- identifier: property.nonObject
+ message: '#^Access to an undefined property object\:\:\$parent\.$#'
+ identifier: property.notFound
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
-
- -
- message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_payment_method\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Access to an undefined property object\:\:\$taxonomy\.$#'
+ identifier: property.notFound
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Argument of an invalid type array\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Orders_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Orders_Tracking\:\:possibly_add_order_tracking_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Orders_Tracking\:\:track_add_order_from_edit\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$hierarchical on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Orders_Tracking\:\:track_created_date_change\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ message: '#^Cannot access property \$taxonomy on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Orders_Tracking\:\:track_order_action\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ message: '#^Cannot access property \$term_id on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Orders_Tracking\:\:track_order_search\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Terms_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Orders_Tracking\:\:track_order_status_change\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Terms_Controller\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Orders_Tracking\:\:track_orders_view\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Terms_Controller\:\:compare_terms\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Orders_Tracking\:\:track_search_in_orders_list\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Terms_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Offset ''path'' might not exist on array\{scheme\?\: string, host\?\: string, port\?\: int\<0, 65535\>, user\?\: string, pass\?\: string, path\?\: string, query\: non\-falsy\-string, fragment\?\: string\}\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Method WC_REST_Terms_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Parameter \#1 \$order_id of static method Automattic\\WooCommerce\\Utilities\\OrderUtil\:\:get_order_type\(\) expects int\|WC_Order\|WP_Post, array\<mixed\>\|int\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Terms_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Terms_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Terms_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Parameter \#4 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Terms_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Parameter \#5 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_REST_Terms_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-orders-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Product_Collection_Block_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Terms_Controller\:\:get_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Access to an undefined property object\:\:\$post_type\.$#'
- identifier: property.notFound
+ message: '#^Method WC_REST_Terms_Controller\:\:get_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Callback expects 0 parameters, \$accepted_args is set to 2\.$#'
- identifier: arguments.count
+ message: '#^Method WC_REST_Terms_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
- identifier: property.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot access property \$parent on WP_Error\|WP_Term\|null\.$#'
- identifier: property.nonObject
- count: 3
- path: includes/tracks/events/class-wc-products-tracking.php
+ message: '#^Method WC_REST_Terms_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:get_taxonomy\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_category_ids\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:get_taxonomy\(\) should return int\|WP_Error but returns string\.$#'
+ identifier: return.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_cross_sell_ids\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:get_terms_for_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_description\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_dimensions\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_gallery_image_ids\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_global_unique_id\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:update_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_image_id\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:update_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_manage_stock\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_menu_order\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_REST_Terms_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_purchase_note\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^PHPDoc tag @return has invalid value \(int \<0 if left is higher "priority" than right, 0 if equal, \>0 if right is higher "priority" than left\.\)\: Unexpected token "if", expected ''\>'' at offset 226 on line 8$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_reviews_allowed\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, int\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_sale_price\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, int\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_short_description\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$array_arg of function usort expects TArray of array\<WP_Term\>, array\<WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_tag_ids\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Error\|WP_Term\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_type\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$input of function array_reverse expects array, array\<WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_upsell_ids\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method get_weight\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$taxonomy of function get_taxonomy expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method is_downloadable\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ message: '#^Parameter \#1 \$taxonomy of function is_taxonomy_hierarchical expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Cannot call method is_virtual\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Parameter \#1 \$taxonomy of function taxonomy_exists expects string, int\<min, \-1\>\|int\<1, max\>\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ message: '#^Parameter \#1 \$term of method WC_REST_Terms_Controller\:\:update_term_meta_fields\(\) expects WP_Term, WP_Error\|WP_Term\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:possibly_add_attribute_tracking_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:possibly_add_product_import_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ message: '#^Parameter \#2 \$taxonomy of function get_term expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:possibly_add_product_tracking_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$taxonomy of function get_the_terms expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:possibly_add_tag_tracking_scripts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$taxonomy of function wp_delete_term expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:track_categories_and_tags_view\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$taxonomy of function wp_insert_term expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:track_product_category_created\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:track_product_category_updated\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ message: '#^Part \$taxonomy \(int\|WP_Error\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 4
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:track_product_published\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_Variations_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-variations-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:track_product_updated\(\) has no return type specified\.$#'
+ message: '#^Method WC_REST_Variations_Controller\:\:register_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-variations-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:track_product_updated_client_side\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Variations_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 129 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-variations-controller.php
-
- message: '#^Method WC_Products_Tracking\:\:track_products_view\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Webhooks_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-webhooks-controller.php
-
- message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Setting_Options_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-products-tracking.php
+ path: includes/rest-api/Controllers/Version4/class-wc-rest-settings-v4-controller.php
-
- message: '#^Method WC_Settings_Tracking\:\:add_option_to_list\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_REST_V4_Controller\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/tracks/events/class-wc-settings-tracking.php
+ path: includes/rest-api/Controllers/Version4/class-wc-rest-v4-controller.php
-
- message: '#^Method WC_Settings_Tracking\:\:add_option_to_list_and_track_setting_change\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @extends has invalid value \(WP_REST_Controller\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 119 on line 5$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/tracks/events/class-wc-settings-tracking.php
+ path: includes/rest-api/Controllers/Version4/class-wc-rest-v4-controller.php
-
- message: '#^Method WC_Settings_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:init\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/tracks/events/class-wc-settings-tracking.php
+ path: includes/rest-api/Package.php
-
- message: '#^Method WC_Settings_Tracking\:\:possibly_add_settings_tracking_scripts\(\) has no return type specified\.$#'
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Package\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-settings-tracking.php
+ path: includes/rest-api/Package.php
-
- message: '#^Method WC_Settings_Tracking\:\:send_settings_change_event\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:register_routes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/tracks/events/class-wc-settings-tracking.php
+ path: includes/rest-api/Server.php
-
- message: '#^Method WC_Settings_Tracking\:\:track_setting_change\(\) has no return type specified\.$#'
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Server\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-settings-tracking.php
+ path: includes/rest-api/Server.php
-
- message: '#^Method WC_Settings_Tracking\:\:track_settings_page_view\(\) has no return type specified\.$#'
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Server\:\:register_rest_routes\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-settings-tracking.php
+ path: includes/rest-api/Server.php
-
- message: '#^Method WC_Status_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Unable to resolve the template type T in call to method Automattic\\WooCommerce\\Container\:\:get\(\)$#'
+ identifier: argument.templateType
count: 1
- path: includes/tracks/events/class-wc-status-tracking.php
+ path: includes/rest-api/Server.php
-
- message: '#^Method WC_Status_Tracking\:\:track_status_view\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Unable to resolve the template type T in call to method Automattic\\WooCommerce\\Proxies\\LegacyProxy\:\:get_instance_of\(\)$#'
+ identifier: argument.templateType
count: 1
- path: includes/tracks/events/class-wc-status-tracking.php
+ path: includes/rest-api/Server.php
-
- message: '#^Method WC_Theme_Tracking\:\:init\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
count: 1
- path: includes/tracks/events/class-wc-theme-tracking.php
+ path: includes/rest-api/Server.php
-
- message: '#^Method WC_Theme_Tracking\:\:track_activated_theme\(\) has no return type specified\.$#'
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Utilities\\ImageAttachment\:\:update_alt_text\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-theme-tracking.php
+ path: includes/rest-api/Utilities/ImageAttachment.php
-
- message: '#^Method WC_Theme_Tracking\:\:track_initial_theme\(\) has no return type specified\.$#'
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Utilities\\ImageAttachment\:\:update_name\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/tracks/events/class-wc-theme-tracking.php
-
- -
- message: '#^Access to an undefined property object\:\:\$count\.$#'
- identifier: property.notFound
- count: 2
- path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+ path: includes/rest-api/Utilities/ImageAttachment.php
-
- message: '#^Access to an undefined property object\:\:\$name\.$#'
- identifier: property.notFound
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Utilities\\ImageAttachment\:\:upload_image_from_src\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+ path: includes/rest-api/Utilities/ImageAttachment.php
-
- message: '#^Access to an undefined property object\:\:\$slug\.$#'
- identifier: property.notFound
+ message: '#^Undefined variable\: \$images$#'
+ identifier: variable.undefined
count: 1
- path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+ path: includes/rest-api/Utilities/ImageAttachment.php
-
- message: '#^Access to an undefined property object\:\:\$term_id\.$#'
- identifier: property.notFound
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- message: '#^Method WC_Product_Cat_Dropdown_Walker\:\:display_element\(\) should return null but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Binary operation "\*" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- message: '#^Method WC_Product_Cat_Dropdown_Walker\:\:display_element\(\) should return null but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Function remove_shortcode invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- message: '#^Method WC_Product_Cat_Dropdown_Walker\:\:start_el\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Flat_Rate\:\:calculate_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- message: '#^PHPDoc type array of property WC_Product_Cat_Dropdown_Walker\:\:\$db_fields is not covariant with PHPDoc type array\<string\> of overridden property Walker\:\:\$db_fields\.$#'
- identifier: property.phpDocType
+ message: '#^Method WC_Shipping_Flat_Rate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
- message: '#^Access to an undefined property object\:\:\$count\.$#'
- identifier: property.notFound
- count: 2
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
-
message: '#^Access to an undefined property object\:\:\$name\.$#'
identifier: property.notFound
count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ path: includes/shipping/flat-rate/includes/settings-flat-rate.php
-
- message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
identifier: property.notFound
count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ path: includes/shipping/flat-rate/includes/settings-flat-rate.php
-
- message: '#^Binary operation "\." between ''"\>\<a href\="'' and string\|WP_Error results in an error\.$#'
- identifier: binaryOp.invalid
- count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ message: '#^Variable \$this might not be defined\.$#'
+ identifier: variable.undefined
+ count: 4
+ path: includes/shipping/flat-rate/includes/settings-flat-rate.php
-
- message: '#^Method WC_Product_Cat_List_Walker\:\:display_element\(\) should return null but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
-
- message: '#^Method WC_Product_Cat_List_Walker\:\:display_element\(\) should return null but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Binary operation "\-" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
-
- message: '#^Method WC_Product_Cat_List_Walker\:\:end_el\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Free_Shipping\:\:calculate_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
-
- message: '#^Method WC_Product_Cat_List_Walker\:\:end_lvl\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Free_Shipping\:\:enqueue_admin_js\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
-
- message: '#^Method WC_Product_Cat_List_Walker\:\:start_el\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Free_Shipping\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
-
- message: '#^Method WC_Product_Cat_List_Walker\:\:start_lvl\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Free_Shipping\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
-
- message: '#^PHPDoc type array of property WC_Product_Cat_List_Walker\:\:\$db_fields is not covariant with PHPDoc type array\<string\> of overridden property Walker\:\:\$db_fields\.$#'
- identifier: property.phpDocType
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/walkers/class-wc-product-cat-list-walker.php
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
-
- message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
- identifier: property.notFound
+ message: '#^Binary operation "\*" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Call to an undefined method WC_Payment_Token\:\:get_card_type\(\)\.$#'
- identifier: method.notFound
+ message: '#^Binary operation "\*" between string and int results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Call to an undefined method WC_Payment_Token\:\:get_expiry_month\(\)\.$#'
- identifier: method.notFound
+ message: '#^Binary operation "\*" between string and int\<0, max\> results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Call to an undefined method WC_Payment_Token\:\:get_expiry_year\(\)\.$#'
- identifier: method.notFound
+ message: '#^Binary operation "/" between non\-empty\-string and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/wc-account-functions.php
-
- -
- message: '#^Call to an undefined method WC_Payment_Token\:\:get_last4\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Cannot call method get_cancel_order_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Function remove_shortcode invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Cannot call method get_checkout_payment_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:calculate_extra_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
- count: 3
- path: includes/wc-account-functions.php
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Cannot call method get_view_order_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-account-functions.php
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Parameter \#2 \$value of function wc_get_endpoint_url expects string, int given\.$#'
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
identifier: argument.type
- count: 2
- path: includes/wc-account-functions.php
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^@param string \$old_slug does not accept actual type of parameter\: string\|null\.$#'
- identifier: parameter.phpDocType
- count: 1
- path: includes/wc-attribute-functions.php
+ message: '#^Variable \$cost_operator might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
-
- message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-attribute-functions.php
+ path: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php
-
- message: '#^Cannot access property \$has_archives on stdClass\|null\.$#'
- identifier: property.nonObject
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-attribute-functions.php
+ path: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php
-
- message: '#^Cannot access property \$name on stdClass\|null\.$#'
- identifier: property.nonObject
+ message: '#^Variable \$this might not be defined\.$#'
+ identifier: variable.undefined
count: 2
- path: includes/wc-attribute-functions.php
-
- -
- message: '#^Cannot access property \$order_by on stdClass\|null\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/wc-attribute-functions.php
+ path: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php
-
- message: '#^Cannot access property \$slug on stdClass\|null\.$#'
- identifier: property.nonObject
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-attribute-functions.php
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
-
- message: '#^Cannot access property \$type on stdClass\|null\.$#'
- identifier: property.nonObject
- count: 1
- path: includes/wc-attribute-functions.php
+ message: '#^Binary operation "\-" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
-
- message: '#^Cannot call method get_attributes\(\) on WC_Product\|null\.$#'
- identifier: method.nonObject
+ message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-attribute-functions.php
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
-
- message: '#^Default value of the parameter \#2 \$product \(string\) of function wc_attribute_label\(\) is incompatible with type WC_Product\.$#'
- identifier: parameter.defaultValue
+ message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-attribute-functions.php
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
-
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, non\-falsy\-string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-attribute-functions.php
-
- -
- message: '#^Parameter \#1 \$attribute_name of function wc_attribute_taxonomy_name expects string, string\|null given\.$#'
- identifier: argument.type
- count: 3
- path: includes/wc-attribute-functions.php
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
-
- message: '#^Parameter \#1 \$attribute_name of function wc_check_if_attribute_name_is_reserved expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-attribute-functions.php
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
-
- message: '#^Parameter \#1 \$string of function strlen expects string, string\|null given\.$#'
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-attribute-functions.php
-
- -
- message: '#^Parameter \#1 \$title of function sanitize_title expects string, string\|null given\.$#'
- identifier: argument.type
- count: 3
- path: includes/wc-attribute-functions.php
-
- -
- message: '#^Access to an undefined property object\:\:\$name\.$#'
- identifier: property.notFound
- count: 2
- path: includes/wc-brands-functions.php
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
-
- message: '#^Access to an undefined property object\:\:\$term_id\.$#'
- identifier: property.notFound
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-brands-functions.php
+ path: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php
-
- message: '#^Cannot access offset 0 on array\{string, int, int, bool\}\|false\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Method WC_Shipping_Legacy_International_Delivery\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-brands-functions.php
+ path: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php
-
- message: '#^Function wc_get_brand_thumbnail_url\(\) should return string but returns bool\|int\|string\.$#'
- identifier: return.type
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-brands-functions.php
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
-
- message: '#^Function wc_get_brands\(\) should return array but returns string\|WP_Error\|false\.$#'
- identifier: return.type
+ message: '#^Binary operation "/" between string and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/wc-brands-functions.php
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
-
- message: '#^@param string \$default does not accept actual type of parameter\: int\|string\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
-
- message: '#^Access to an undefined property WC_Cart\:\:\$display_cart_ex_tax\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
-
- message: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
-
- message: '#^Access to an undefined property WC_Session\:\:\$order_awaiting_payment\.$#'
- identifier: property.notFound
+ message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
-
- message: '#^Access to an undefined property WC_Shipping_Rate\:\:\$cost\.$#'
- identifier: property.notFound
- count: 3
- path: includes/wc-cart-functions.php
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
-
- message: '#^Access to an undefined property object\:\:\$tax\.$#'
- identifier: property.notFound
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
-
- message: '#^Access to an undefined property object\:\:\$total\.$#'
- identifier: property.notFound
- count: 2
- path: includes/wc-cart-functions.php
+ message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
-
- message: '#^Function wc_cart_totals_coupon_html\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
-
- message: '#^Function wc_cart_totals_coupon_label\(\) should return string but return statement is missing\.$#'
+ message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
identifier: return.missing
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
-
- message: '#^Function wc_cart_totals_fee_html\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
-
- message: '#^Function wc_cart_totals_order_total_html\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Local_Pickup\:\:calculate_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
-
- message: '#^Function wc_cart_totals_shipping_html\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Local_Pickup\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
-
- message: '#^Function wc_cart_totals_subtotal_html\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shipping_Local_Pickup\:\:init_form_fields\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
-
- message: '#^Function wc_cart_totals_taxes_total_html\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
-
- message: '#^Function wc_clear_cart_after_payment\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_Cart\:\:calculate_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shortcodes/class-wc-shortcode-cart.php
-
- message: '#^Function wc_empty_cart\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_Cart\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shortcodes/class-wc-shortcode-cart.php
-
- message: '#^Parameter \#1 \$haystack of function stripos expects string, int\|string given\.$#'
+ message: '#^Parameter \#1 \$postcode of function wc_format_postcode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shortcodes/class-wc-shortcode-cart.php
-
- message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ message: '#^Parameter \#2 \$country of function wc_format_postcode expects string, array\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shortcodes/class-wc-shortcode-cart.php
-
- message: '#^Parameter \#2 \$fallback_url of function wp_validate_redirect expects string, false given\.$#'
- identifier: argument.type
+ message: '#^Variable \$e in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shortcodes/class-wc-shortcode-cart.php
-
- message: '#^Parameter \#2 \$str of function explode expects string, int\|string given\.$#'
- identifier: argument.type
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Parameter \#2 \$user_string of function hash_equals expects string, array\|string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/wc-cart-functions.php
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_country\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_email\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-cart-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^@param string \$cart_url does not accept actual type of parameter\: string\|false\.$#'
- identifier: parameter.phpDocType
- count: 1
- path: includes/wc-core-functions.php
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_postcode\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Action callback returns int but should not return anything\.$#'
- identifier: return.void
- count: 1
- path: includes/wc-core-functions.php
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_state\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Call to an undefined method object\:\:get_var\(\)\.$#'
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_checkout_payment_url\(\)\.$#'
identifier: method.notFound
- count: 1
- path: includes/wc-core-functions.php
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Cannot access property \$method_order on array\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_order_key\(\)\.$#'
+ identifier: method.notFound
count: 2
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Constant COOKIEPATH not found\.$#'
- identifier: constant.notFound
- count: 1
- path: includes/wc-core-functions.php
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:needs_payment\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Function flush_rewrite_rules_on_shop_page_save\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_stock_reduced\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Function wc_add_number_precision\(\) never returns int so it can be removed from the return type\.$#'
- identifier: return.unusedType
+ message: '#^Method WC_Shortcode_Checkout\:\:checkout\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Function wc_add_number_precision_deep\(\) should return array\|int but returns float\|int\.$#'
- identifier: return.type
+ message: '#^Method WC_Shortcode_Checkout\:\:order_pay\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Function wc_back_header\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_Checkout\:\:order_received\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Function wc_back_link\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_Checkout\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Function wc_cache_get_multiple\(\) never returns bool so it can be removed from the return type\.$#'
- identifier: return.unusedType
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, string\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Function wc_cleanup_logs\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, string\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Function wc_cleanup_session_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order of static method WC_Shortcode_Checkout\:\:guest_should_verify_email\(\) expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
-
- message: '#^Function wc_clear_system_status_theme_info_cache\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$user_string of function hash_equals expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ID\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Constant COOKIEHASH not found\.$#'
+ identifier: constant.notFound
+ count: 4
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Function wc_add_notice invoked with 4 parameters, 1\-3 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_clear_template_cache\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_My_Account\:\:add_payment_method\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_enqueue_js\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_My_Account\:\:edit_account\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
- -
- message: '#^Function wc_get_logger\(\) should return WC_Logger_Interface but returns object\.$#'
- identifier: return.type
- count: 2
- path: includes/wc-core-functions.php
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:edit_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_get_template\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_My_Account\:\:lost_password\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_get_template_html\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Shortcode_My_Account\:\:my_account\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_get_template_part\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_My_Account\:\:my_account_add_notices\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_get_user_agent\(\) should return string but returns array\|string\.$#'
- identifier: return.type
+ message: '#^Method WC_Shortcode_My_Account\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_maybe_define_constant\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_My_Account\:\:reset_password\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_nocache_headers\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_My_Account\:\:set_reset_password_cookie\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_print_js\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_My_Account\:\:view_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_remove_number_precision_deep\(\) never returns int so it can be removed from the return type\.$#'
- identifier: return.unusedType
+ message: '#^Parameter \#1 \$key of static method WC_Shortcode_My_Account\:\:check_password_reset_key\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_remove_number_precision_deep\(\) should return array\|int but returns float\.$#'
- identifier: return.type
+ message: '#^Parameter \#1 \$user of function wp_password_change_notification expects WP_User, object given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
-
- message: '#^Function wc_restore_locale\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_Order_Tracking\:\:output\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-order-tracking.php
-
- message: '#^Function wc_set_template_cache\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$str of function ltrim expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-order-tracking.php
-
- message: '#^Function wc_set_time_limit\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Function wc_setcookie\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$current_page\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Function wc_switch_to_site_locale\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$ids\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Function wc_transaction_query\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$per_page\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Function woocommerce_register_shipping_method\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$total\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
- identifier: phpDoc.parseError
+ message: '#^Access to an undefined property object\:\:\$total_pages\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Parameter \#1 \$haystack of function strpos expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Parameter \#1 \$message of function wp_fast_hash expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Parameter \#1 \$new_version of method WC_Plugin_Updates\:\:get_untested_plugins\(\) expects string, array\|string given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shortcode_Products\:\:set_attributes_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, int\|false given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shortcode_Products\:\:set_best_selling_products_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Parameter \#1 \$str of function sha1 expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shortcode_Products\:\:set_categories_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shortcode_Products\:\:set_ids_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Parameter \#2 \$callback of function add_filter expects callable\(\)\: mixed, array\{mixed, ''run_shortcode''\} given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shortcode_Products\:\:set_sale_products_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Method WC_Shortcode_Products\:\:set_skus_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
+ message: '#^Method WC_Shortcode_Products\:\:set_tags_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-core-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_code_by_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Shortcode_Products\:\:set_top_rated_products_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-coupon-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_ids_by_code\(\)\.$#'
- identifier: method.notFound
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_catalog_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-coupon-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Access to an undefined property WC_Session\:\:\$cart\.$#'
- identifier: property.notFound
- count: 2
- path: includes/wc-deprecated-functions.php
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_featured_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Default value of the parameter \#3 \$sale_price \(string\) of function _wc_save_product_price\(\) is incompatible with type float\.$#'
- identifier: parameter.defaultValue
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_hidden_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Function _wc_save_product_price\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_query_args\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Function _woocommerce_term_recount\(\) has no return type specified\.$#'
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_search_query_args\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Function _woocommerce_term_recount\(\) has parameter \$callback with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shortcode_Products \$this WC_Shortcode_Products instance\.\)\: Unexpected token "\$this", expected variable at offset 152 on line 6$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Function _woocommerce_term_recount\(\) has parameter \$taxonomy with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#1 \$post of function setup_postdata expects int\|object, WP_Post\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/shortcodes/class-wc-shortcode-products.php
-
- message: '#^Function _woocommerce_term_recount\(\) has parameter \$terms with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Eleven\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-eleven.php
-
- message: '#^Function _woocommerce_term_recount\(\) has parameter \$terms_are_term_taxonomy_ids with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Eleven\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-eleven.php
-
- message: '#^Function add_woocommerce_term_meta\(\) should return bool but returns int\|WP_Error\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Twenty_Eleven\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-eleven.php
-
- message: '#^Function get_product\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Fifteen\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-fifteen.php
-
- message: '#^Function get_product\(\) has parameter \$args with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Fifteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-fifteen.php
-
- message: '#^Function get_product\(\) has parameter \$the_product with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Fifteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-fifteen.php
-
- message: '#^Function update_woocommerce_term_meta\(\) should return bool but returns bool\|int\|WP_Error\.$#'
- identifier: return.type
+ message: '#^Method WC_Twenty_Fourteen\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-fourteen.php
-
- message: '#^Function wc_caught_exception\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Fourteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-fourteen.php
-
- message: '#^Function wc_deprecated_argument\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Fourteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-fourteen.php
-
- message: '#^Function wc_deprecated_argument\(\) has parameter \$message with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Nineteen\:\:custom_colors_css\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-nineteen.php
+
+ -
+ message: '#^Method WC_Twenty_Nineteen\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-nineteen.php
+
+ -
+ message: '#^Method WC_Twenty_Nineteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-nineteen.php
-
- message: '#^Function wc_deprecated_function\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Nineteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-nineteen.php
-
- message: '#^Function wc_deprecated_hook\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Nineteen\:\:tweak_theme_features\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-nineteen.php
-
- message: '#^Function wc_do_deprecated_action\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Seventeen\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-seventeen.php
-
- message: '#^Function wc_doing_it_wrong\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Seventeen\:\:output_content_wrapper\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-seventeen.php
-
- message: '#^Function wc_get_customer_avatar_url\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Method WC_Twenty_Seventeen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-seventeen.php
-
- message: '#^Function wc_load_persistent_cart\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Sixteen\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-sixteen.php
-
- message: '#^Function wc_product_dropdown_categories invoked with 4 parameters, 0\-1 required\.$#'
- identifier: arguments.count
+ message: '#^Method WC_Twenty_Sixteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-sixteen.php
-
- message: '#^Function wc_products_rss_feed\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Sixteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-sixteen.php
-
- message: '#^Function wc_taxonomy_metadata_update_content_for_split_terms\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Ten\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-ten.php
-
- message: '#^Function wc_taxonomy_metadata_wpdbfix\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Ten\:\:output_content_wrapper\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-ten.php
-
- message: '#^Function woocommerce_add_order_item\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Ten\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-ten.php
-
- message: '#^Function woocommerce_add_order_item\(\) has parameter \$item with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Thirteen\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-thirteen.php
-
- message: '#^Function woocommerce_add_order_item\(\) has parameter \$order_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Thirteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-thirteen.php
-
- message: '#^Function woocommerce_add_order_item_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Thirteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-thirteen.php
-
- message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Twelve\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twelve.php
-
- message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$meta_key with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Twelve\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twelve.php
-
- message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$meta_value with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Twelve\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twelve.php
-
- message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$unique with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Twenty_One\:\:enqueue_admin_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty-one.php
-
- message: '#^Function woocommerce_add_to_cart_message\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Twenty_One\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty-one.php
-
- message: '#^Function woocommerce_add_to_cart_message\(\) has parameter \$product_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#3 \$deps of function wp_enqueue_style expects array\<string\>, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty-one.php
-
- message: '#^Function woocommerce_admin_scripts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Twenty_Three\:\:after_order_review\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty-three.php
-
- message: '#^Function woocommerce_array_overlay\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Twenty_Three\:\:before_order_review\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty-three.php
-
- message: '#^Function woocommerce_array_overlay\(\) has parameter \$a1 with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Twenty_Three\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty-three.php
-
- message: '#^Function woocommerce_array_overlay\(\) has parameter \$a2 with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Twenty_Two\:\:after_order_review\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty-two.php
-
- message: '#^Function woocommerce_calc_shipping_backwards_compatibility\(\) has parameter \$value with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Twenty_Two\:\:before_order_review\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty-two.php
-
- message: '#^Function woocommerce_cancel_unpaid_orders\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Twenty_Two\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty-two.php
-
- message: '#^Function woocommerce_cart_totals_coupon_html\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Twenty\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty.php
-
- message: '#^Function woocommerce_cart_totals_coupon_html\(\) has parameter \$coupon with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Twenty\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty.php
-
- message: '#^Function woocommerce_cart_totals_fee_html\(\) has no return type specified\.$#'
+ message: '#^Method WC_Twenty_Twenty\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty.php
-
- message: '#^Function woocommerce_cart_totals_fee_html\(\) has parameter \$fee with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Twenty_Twenty\:\:set_white_background\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/theme-support/class-wc-twenty-twenty.php
-
- message: '#^Function woocommerce_cart_totals_order_total_html\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to function is_callable\(\) with array\{WC_Coupon_Tracking\|WC_Coupons_Tracking\|WC_Extensions_Tracking\|WC_Importer_Tracking\|WC_Order_Tracking\|WC_Orders_Tracking\|WC_Product_Collection_Block_Tracking\|WC_Products_Tracking\|WC_Settings_Tracking\|WC_Status_Tracking\|WC_Theme_Tracking, ''init''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-site-tracking.php
-
- message: '#^Function woocommerce_cart_totals_shipping_html\(\) has no return type specified\.$#'
+ message: '#^Method WC_Site_Tracking\:\:add_enable_tracking_function\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-site-tracking.php
-
- message: '#^Function woocommerce_cart_totals_shipping_method_label\(\) has no return type specified\.$#'
+ message: '#^Method WC_Site_Tracking\:\:add_tracking_function\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-site-tracking.php
-
- message: '#^Function woocommerce_cart_totals_shipping_method_label\(\) has parameter \$method with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Site_Tracking\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-site-tracking.php
-
- message: '#^Function woocommerce_cart_totals_subtotal_html\(\) has no return type specified\.$#'
+ message: '#^Method WC_Site_Tracking\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-site-tracking.php
-
- message: '#^Function woocommerce_change_term_counts\(\) has no return type specified\.$#'
+ message: '#^Method WC_Site_Tracking\:\:register_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-site-tracking.php
-
- message: '#^Function woocommerce_change_term_counts\(\) has parameter \$args with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Call to function is_wp_error\(\) with WC_Tracks_Event will always evaluate to false\.$#'
+ identifier: function.impossibleType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-client.php
-
- message: '#^Function woocommerce_change_term_counts\(\) has parameter \$taxonomies with no type specified\.$#'
- identifier: missingType.parameter
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Function jetpack_require_lib_dir not found\.$#'
+ identifier: function.notFound
+ count: 2
+ path: includes/tracks/class-wc-tracks-client.php
-
- message: '#^Function woocommerce_change_term_counts\(\) has parameter \$terms with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Tracks_Client\:\:maybe_set_identity_cookie\(\) with return type void returns false but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-client.php
-
- message: '#^Function woocommerce_clean\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Tracks_Event\:\:build_pixel_url\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-client.php
-
- message: '#^Function woocommerce_clean\(\) has parameter \$var with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property object\:\:\$_en\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-event.php
-
- message: '#^Function woocommerce_clear_cart_after_payment\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type object supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-event.php
+
+ -
+ message: '#^Method WC_Tracks_Event\:\:record\(\) should return bool but returns bool\|WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/tracks/class-wc-tracks-event.php
-
- message: '#^Function woocommerce_compile_less_styles\(\) has no return type specified\.$#'
+ message: '#^Method WC_Tracks_Event\:\:scrutinize_event_names\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-event.php
-
- message: '#^Function woocommerce_create_new_customer\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Tracks_Event\:\:validate_and_sanitize\(\) should return object but returns array\|object\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-event.php
-
- message: '#^Function woocommerce_create_new_customer\(\) has parameter \$email with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#1 \$event of static method WC_Tracks_Client\:\:record_event\(\) expects array, \$this\(WC_Tracks_Event\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-event.php
-
- message: '#^Function woocommerce_create_new_customer\(\) has parameter \$password with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#1 \$event of static method WC_Tracks_Footer_Pixel\:\:record_event\(\) expects array, \$this\(WC_Tracks_Event\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-event.php
-
- message: '#^Function woocommerce_create_new_customer\(\) has parameter \$username with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Call to function is_wp_error\(\) with WC_Tracks_Event will always evaluate to false\.$#'
+ identifier: function.impossibleType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
-
- message: '#^Function woocommerce_create_page\(\) has no return type specified\.$#'
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:add_event\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
-
- message: '#^Function woocommerce_create_page\(\) has parameter \$option with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:clear_events\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
-
- message: '#^Function woocommerce_create_page\(\) has parameter \$page_content with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:get_events\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
-
- message: '#^Function woocommerce_create_page\(\) has parameter \$page_title with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:render_tracking_pixels\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
-
- message: '#^Function woocommerce_create_page\(\) has parameter \$post_parent with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:send_tracks_requests\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
-
- message: '#^Function woocommerce_create_page\(\) has parameter \$slug with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Binary operation "\." between array\|string and ''\://'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks.php
-
- message: '#^Function woocommerce_customer_bought_product\(\) has no return type specified\.$#'
+ message: '#^Method WC_Tracks\:\:track_woocommerce_allow_tracking_toggled\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/class-wc-tracks.php
-
- message: '#^Function woocommerce_customer_bought_product\(\) has parameter \$customer_email with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:add_footer_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_customer_bought_product\(\) has parameter \$product_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:add_step_save_events\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_customer_bought_product\(\) has parameter \$user_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:dequeue_non_allowed_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_customer_edit_account_url\(\) has no return type specified\.$#'
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_customer_has_capability\(\) has no return type specified\.$#'
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:set_obw_steps\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_customer_has_capability\(\) has parameter \$allcaps with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_jetpack_activate\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_customer_has_capability\(\) has parameter \$args with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_next_steps\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_customer_has_capability\(\) has parameter \$caps with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_payments\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_date_format\(\) has no return type specified\.$#'
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_ready_next_steps\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_datepicker_js\(\) has no return type specified\.$#'
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_recommended\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_delete_order_item\(\) has no return type specified\.$#'
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_shipping\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_delete_order_item\(\) has parameter \$item_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_skip_step\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_delete_order_item_meta\(\) has no return type specified\.$#'
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_start\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$delete_all with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_store_setup\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Property WC_Admin_Setup_Wizard_Tracking\:\:\$steps is never read, only written\.$#'
+ identifier: property.onlyWritten
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
-
- message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$meta_key with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Coupon_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-coupon-tracking.php
-
- message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$meta_value with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Coupon_Tracking\:\:track_coupon_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-coupon-tracking.php
-
- message: '#^Function woocommerce_disable_admin_bar\(\) has no return type specified\.$#'
+ message: '#^Method WC_Coupons_Tracking\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-coupons-tracking.php
-
- message: '#^Function woocommerce_disable_admin_bar\(\) has parameter \$show_admin_bar with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Coupons_Tracking\:\:tracks_coupons_events\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-coupons-tracking.php
-
- message: '#^Function woocommerce_downloadable_file_permission\(\) has no return type specified\.$#'
+ message: '#^Method WC_Extensions_Tracking\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-extensions-tracking.php
-
- message: '#^Function woocommerce_downloadable_file_permission\(\) has parameter \$download_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Extensions_Tracking\:\:track_addon_install\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-extensions-tracking.php
-
- message: '#^Function woocommerce_downloadable_file_permission\(\) has parameter \$order with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Extensions_Tracking\:\:track_extensions_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-extensions-tracking.php
-
- message: '#^Function woocommerce_downloadable_file_permission\(\) has parameter \$product_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Extensions_Tracking\:\:track_extensions_page_connection_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-extensions-tracking.php
-
- message: '#^Function woocommerce_downloadable_product_permissions\(\) has no return type specified\.$#'
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_connection_cancelled\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-extensions-tracking.php
-
- message: '#^Function woocommerce_downloadable_product_permissions\(\) has parameter \$order_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_connection_complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-extensions-tracking.php
-
- message: '#^Function woocommerce_empty_cart\(\) has no return type specified\.$#'
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_connection_start\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-extensions-tracking.php
-
- message: '#^Function woocommerce_format_decimal\(\) has no return type specified\.$#'
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_disconnected\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-extensions-tracking.php
-
- message: '#^Function woocommerce_format_decimal\(\) has parameter \$dp with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_subscriptions_refresh\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-extensions-tracking.php
-
- message: '#^Function woocommerce_format_decimal\(\) has parameter \$number with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Importer_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-importer-tracking.php
-
- message: '#^Function woocommerce_format_decimal\(\) has parameter \$trim_zeros with no type specified\.$#'
- identifier: missingType.parameter
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Method WC_Importer_Tracking\:\:track_product_importer\(\) with return type void returns null but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: includes/tracks/events/class-wc-importer-tracking.php
-
- message: '#^Function woocommerce_format_hex\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Result of method WC_Importer_Tracking\:\:track_product_importer_complete\(\) \(void\) is used\.$#'
+ identifier: method.void
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-importer-tracking.php
-
- message: '#^Function woocommerce_format_hex\(\) has parameter \$hex with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Result of method WC_Importer_Tracking\:\:track_product_importer_start\(\) \(void\) is used\.$#'
+ identifier: method.void
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-importer-tracking.php
-
- message: '#^Function woocommerce_get_attachment_image_attributes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Order_Tracking\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-order-tracking.php
-
- message: '#^Function woocommerce_get_attachment_image_attributes\(\) has parameter \$attr with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Order_Tracking\:\:track_order_viewed\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-order-tracking.php
-
- message: '#^Function woocommerce_get_dimension\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset ''path'' on array\{scheme\?\: string, host\?\: string, port\?\: int\<0, 65535\>, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_dimension\(\) has parameter \$dim with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_dimension\(\) has parameter \$to_unit with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Cannot call method get_payment_method\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_endpoint_url\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_endpoint_url\(\) has parameter \$endpoint with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_endpoint_url\(\) has parameter \$permalink with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Orders_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_endpoint_url\(\) has parameter \$value with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Orders_Tracking\:\:possibly_add_order_tracking_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_featured_product_ids\(\) has no return type specified\.$#'
+ message: '#^Method WC_Orders_Tracking\:\:track_add_order_from_edit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_filename_from_url\(\) has no return type specified\.$#'
+ message: '#^Method WC_Orders_Tracking\:\:track_created_date_change\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_filename_from_url\(\) has parameter \$file_url with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Orders_Tracking\:\:track_order_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_formatted_variation\(\) has no return type specified\.$#'
+ message: '#^Method WC_Orders_Tracking\:\:track_order_search\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_formatted_variation\(\) has parameter \$flat with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Orders_Tracking\:\:track_order_status_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_formatted_variation\(\) has parameter \$variation with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Orders_Tracking\:\:track_orders_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_order_id_by_order_key\(\) has no return type specified\.$#'
+ message: '#^Method WC_Orders_Tracking\:\:track_search_in_orders_list\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_order_id_by_order_key\(\) has parameter \$order_key with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Offset ''path'' might not exist on array\{scheme\?\: string, host\?\: string, port\?\: int\<0, 65535\>, user\?\: string, pass\?\: string, path\?\: string, query\: non\-falsy\-string, fragment\?\: string\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$order_id of static method Automattic\\WooCommerce\\Utilities\\OrderUtil\:\:get_order_type\(\) expects int\|WC_Order\|WP_Post, array\<mixed\>\|int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_order_item_meta\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_order_item_meta\(\) has parameter \$key with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#4 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_order_item_meta\(\) has parameter \$single with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#5 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-orders-tracking.php
-
- message: '#^Function woocommerce_get_page_id\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Collection_Block_Tracking\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
-
- message: '#^Function woocommerce_get_page_id\(\) has parameter \$page with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property object\:\:\$post_type\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_product_ids_on_sale\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Callback expects 0 parameters, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_product_terms\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_product_terms\(\) has parameter \$fields with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot access property \$parent on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_product_terms\(\) has parameter \$object_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_category_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_product_terms\(\) has parameter \$taxonomy with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_cross_sell_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_template\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_description\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_template\(\) has parameter \$args with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_dimensions\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_template\(\) has parameter \$default_path with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_gallery_image_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_template\(\) has parameter \$template_name with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_global_unique_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_template\(\) has parameter \$template_path with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_image_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_template_part\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_manage_stock\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_template_part\(\) has parameter \$name with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_menu_order\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_template_part\(\) has parameter \$slug with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_purchase_note\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_weight\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_reviews_allowed\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_weight\(\) has parameter \$to_unit with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_sale_price\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_get_weight\(\) has parameter \$weight with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_short_description\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_hex_darker\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_tag_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_hex_darker\(\) has parameter \$color with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_hex_darker\(\) has parameter \$factor with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_upsell_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_hex_lighter\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_weight\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_hex_lighter\(\) has parameter \$color with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method is_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_hex_lighter\(\) has parameter \$factor with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method is_virtual\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_legacy_paypal_ipn\(\) has no return type specified\.$#'
+ message: '#^Method WC_Products_Tracking\:\:init\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_let_to_num\(\) has no return type specified\.$#'
+ message: '#^Method WC_Products_Tracking\:\:possibly_add_attribute_tracking_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_let_to_num\(\) has parameter \$size with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Products_Tracking\:\:possibly_add_product_import_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_light_or_dark\(\) has no return type specified\.$#'
+ message: '#^Method WC_Products_Tracking\:\:possibly_add_product_tracking_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_light_or_dark\(\) has parameter \$color with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Products_Tracking\:\:possibly_add_tag_tracking_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_light_or_dark\(\) has parameter \$dark with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Products_Tracking\:\:track_categories_and_tags_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_light_or_dark\(\) has parameter \$light with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Products_Tracking\:\:track_product_category_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_list_pages\(\) has no return type specified\.$#'
+ message: '#^Method WC_Products_Tracking\:\:track_product_category_updated\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_list_pages\(\) has parameter \$pages with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Products_Tracking\:\:track_product_published\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_load_persistent_cart\(\) has no return type specified\.$#'
+ message: '#^Method WC_Products_Tracking\:\:track_product_updated\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_load_persistent_cart\(\) has parameter \$user with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Products_Tracking\:\:track_product_updated_client_side\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_load_persistent_cart\(\) has parameter \$user_login with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Products_Tracking\:\:track_products_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_locate_template\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-products-tracking.php
-
- message: '#^Function woocommerce_locate_template\(\) has parameter \$default_path with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Settings_Tracking\:\:add_option_to_list\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-settings-tracking.php
-
- message: '#^Function woocommerce_locate_template\(\) has parameter \$template_name with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Settings_Tracking\:\:add_option_to_list_and_track_setting_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-settings-tracking.php
-
- message: '#^Function woocommerce_locate_template\(\) has parameter \$template_path with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Settings_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-settings-tracking.php
-
- message: '#^Function woocommerce_lostpassword_url\(\) has no return type specified\.$#'
+ message: '#^Method WC_Settings_Tracking\:\:possibly_add_settings_tracking_scripts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-settings-tracking.php
-
- message: '#^Function woocommerce_lostpassword_url\(\) has parameter \$url with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Settings_Tracking\:\:send_settings_change_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-settings-tracking.php
-
- message: '#^Function woocommerce_mail\(\) has no return type specified\.$#'
+ message: '#^Method WC_Settings_Tracking\:\:track_setting_change\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-settings-tracking.php
-
- message: '#^Function woocommerce_mail\(\) has parameter \$attachments with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Settings_Tracking\:\:track_settings_page_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-settings-tracking.php
-
- message: '#^Function woocommerce_mail\(\) has parameter \$headers with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Status_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-status-tracking.php
-
- message: '#^Function woocommerce_mail\(\) has parameter \$message with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Status_Tracking\:\:track_status_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-status-tracking.php
-
- message: '#^Function woocommerce_mail\(\) has parameter \$subject with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Theme_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-theme-tracking.php
-
- message: '#^Function woocommerce_mail\(\) has parameter \$to with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Theme_Tracking\:\:track_activated_theme\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-theme-tracking.php
-
- message: '#^Function woocommerce_nav_menu_item_classes\(\) has no return type specified\.$#'
+ message: '#^Method WC_Theme_Tracking\:\:track_initial_theme\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/tracks/events/class-wc-theme-tracking.php
-
- message: '#^Function woocommerce_nav_menu_item_classes\(\) has parameter \$args with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property object\:\:\$count\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
-
- message: '#^Function woocommerce_nav_menu_item_classes\(\) has parameter \$menu_items with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
-
- message: '#^Function woocommerce_nav_menu_items\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
-
- message: '#^Function woocommerce_nav_menu_items\(\) has parameter \$args with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Product_Cat_Dropdown_Walker\:\:display_element\(\) should return null but empty return statement found\.$#'
+ identifier: return.empty
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
-
- message: '#^Function woocommerce_nav_menu_items\(\) has parameter \$items with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Product_Cat_Dropdown_Walker\:\:display_element\(\) should return null but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
-
- message: '#^Function woocommerce_order_terms\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Cat_Dropdown_Walker\:\:start_el\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
-
- message: '#^Function woocommerce_order_terms\(\) has parameter \$index with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^PHPDoc type array of property WC_Product_Cat_Dropdown_Walker\:\:\$db_fields is not covariant with PHPDoc type array\<string\> of overridden property Walker\:\:\$db_fields\.$#'
+ identifier: property.phpDocType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
-
- message: '#^Function woocommerce_order_terms\(\) has parameter \$next_id with no type specified\.$#'
- identifier: missingType.parameter
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Access to an undefined property object\:\:\$count\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_order_terms\(\) has parameter \$taxonomy with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_order_terms\(\) has parameter \$terms with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_order_terms\(\) has parameter \$the_term with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Binary operation "\." between ''"\>\<a href\="'' and string\|WP_Error results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_paying_customer\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Method WC_Product_Cat_List_Walker\:\:display_element\(\) should return null but empty return statement found\.$#'
+ identifier: return.empty
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_paying_customer\(\) has parameter \$order_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Product_Cat_List_Walker\:\:display_element\(\) should return null but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_placeholder_img\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Cat_List_Walker\:\:end_el\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_placeholder_img\(\) has parameter \$size with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Method WC_Product_Cat_List_Walker\:\:end_lvl\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_placeholder_img_src\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Cat_List_Walker\:\:start_el\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_prepare_attachment_for_js\(\) has no return type specified\.$#'
+ message: '#^Method WC_Product_Cat_List_Walker\:\:start_lvl\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_prepare_attachment_for_js\(\) has parameter \$response with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^PHPDoc type array of property WC_Product_Cat_List_Walker\:\:\$db_fields is not covariant with PHPDoc type array\<string\> of overridden property Walker\:\:\$db_fields\.$#'
+ identifier: property.phpDocType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/walkers/class-wc-product-cat-list-walker.php
-
- message: '#^Function woocommerce_price\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_price\(\) has parameter \$args with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_price\(\) has parameter \$price with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Call to an undefined method WC_Payment_Token\:\:get_card_type\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_processing_order_count\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Payment_Token\:\:get_expiry_month\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_dropdown_categories\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Payment_Token\:\:get_expiry_year\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$args with no type specified\.$#'
- identifier: missingType.parameter
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Call to an undefined method WC_Payment_Token\:\:get_last4\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$deprecated_hierarchical with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_cancel_order_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$deprecated_orderby with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_checkout_payment_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$deprecated_show_uncategorized with no type specified\.$#'
- identifier: missingType.parameter
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_post_type_link\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_post_type_link\(\) has parameter \$permalink with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_view_order_url\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_post_type_link\(\) has parameter \$post with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_reviews_tab\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Parameter \#2 \$value of function wc_get_endpoint_url expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-account-functions.php
-
- message: '#^Function woocommerce_product_subcategories\(\) never returns null so it can be removed from the return type\.$#'
- identifier: return.unusedType
+ message: '#^@param string \$old_slug does not accept actual type of parameter\: string\|null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_protected_product_add_to_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_protected_product_add_to_cart\(\) has parameter \$passed with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot access property \$has_archives on stdClass\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_protected_product_add_to_cart\(\) has parameter \$product_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot access property \$name on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Cannot access property \$order_by on stdClass\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_readfile_chunked\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$slug on stdClass\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_readfile_chunked\(\) has parameter \$file with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot access property \$type on stdClass\|null\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_readfile_chunked\(\) has parameter \$retbytes with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_recount_after_stock_change\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Default value of the parameter \#2 \$product \(string\) of function wc_attribute_label\(\) is incompatible with type WC_Product\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_recount_after_stock_change\(\) has parameter \$product_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, non\-falsy\-string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_reset_loop\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Parameter \#1 \$attribute_name of function wc_attribute_taxonomy_name expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_rgb_from_hex\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$attribute_name of function wc_check_if_attribute_name_is_reserved expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_rgb_from_hex\(\) has parameter \$color with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#1 \$string of function strlen expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_round_tax_total\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-attribute-functions.php
-
- message: '#^Function woocommerce_round_tax_total\(\) has parameter \$tax with no type specified\.$#'
- identifier: missingType.parameter
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wc-brands-functions.php
-
- message: '#^Function woocommerce_sanitize_taxonomy_name\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-brands-functions.php
-
- message: '#^Function woocommerce_sanitize_taxonomy_name\(\) has parameter \$taxonomy with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot access offset 0 on array\{string, int, int, bool\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-brands-functions.php
-
- message: '#^Function woocommerce_scheduled_sales\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_brand_thumbnail_url\(\) should return string but returns bool\|int\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-brands-functions.php
-
- message: '#^Function woocommerce_set_customer_auth_cookie\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_brands\(\) should return array but returns string\|WP_Error\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-brands-functions.php
-
- message: '#^Function woocommerce_set_customer_auth_cookie\(\) has parameter \$customer_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^@param string \$default does not accept actual type of parameter\: int\|string\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_set_term_order\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Access to an undefined property WC_Cart\:\:\$display_cart_ex_tax\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_set_term_order\(\) has parameter \$index with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_set_term_order\(\) has parameter \$recursive with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property WC_Session\:\:\$order_awaiting_payment\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_set_term_order\(\) has parameter \$taxonomy with no type specified\.$#'
- identifier: missingType.parameter
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Access to an undefined property WC_Shipping_Rate\:\:\$cost\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_set_term_order\(\) has parameter \$term_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Access to an undefined property object\:\:\$tax\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_show_messages\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-deprecated-functions.php
+ message: '#^Access to an undefined property object\:\:\$total\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_taxonomy_metadata_wpdbfix\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_terms_clauses\(\) has no return type specified\.$#'
+ message: '#^Function wc_cart_totals_coupon_html\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_terms_clauses\(\) has parameter \$args with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Function wc_cart_totals_coupon_label\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_terms_clauses\(\) has parameter \$clauses with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Function wc_cart_totals_fee_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_terms_clauses\(\) has parameter \$taxonomies with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Function wc_cart_totals_order_total_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_time_format\(\) has no return type specified\.$#'
+ message: '#^Function wc_cart_totals_shipping_html\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_timezone_string\(\) has no return type specified\.$#'
+ message: '#^Function wc_cart_totals_subtotal_html\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_tooltip_js\(\) has no return type specified\.$#'
+ message: '#^Function wc_cart_totals_taxes_total_html\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_track_product_view\(\) has no return type specified\.$#'
+ message: '#^Function wc_clear_cart_after_payment\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_trim_zeros\(\) has no return type specified\.$#'
+ message: '#^Function wc_empty_cart\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_trim_zeros\(\) has parameter \$price with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_update_new_customer_past_orders\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_update_new_customer_past_orders\(\) has parameter \$customer_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#2 \$fallback_url of function wp_validate_redirect expects string, false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_update_order_item_meta\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$str of function explode expects string, int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Parameter \#2 \$user_string of function hash_equals expects string, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$meta_key with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-cart-functions.php
-
- message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$meta_value with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^@param string \$cart_url does not accept actual type of parameter\: string\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$prev_value with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Action callback returns int but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_var\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has parameter \$a1 with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Cannot access property \$method_order on array\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Constant COOKIEPATH not found\.$#'
+ identifier: constant.notFound
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has parameter \$a2 with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Function flush_rewrite_rules_on_shop_page_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has parameter \$a3 with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^Function wc_add_number_precision\(\) never returns int so it can be removed from the return type\.$#'
+ identifier: return.unusedType
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function woocommerce_weekend_area_js\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_add_number_precision_deep\(\) should return array\|int but returns float\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^PHPDoc tag @param references unknown parameter\: \$replacement$#'
- identifier: parameter.notFound
+ message: '#^Function wc_back_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$time of function strtotime expects string, array\|int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
- identifier: argument.type
+ message: '#^Function wc_back_link\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$time of function strtotime expects string, array\|string given\.$#'
- identifier: argument.type
- count: 3
- path: includes/wc-deprecated-functions.php
+ message: '#^Function wc_cache_get_multiple\(\) never returns bool so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#3 \$replacement of function _deprecated_function expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Function wc_cleanup_logs\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#3 \$replacement of function _deprecated_hook expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Function wc_cleanup_session_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#4 \$message of function _deprecated_hook expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Function wc_clear_system_status_theme_info_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-deprecated-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^@param float \$formatted_price does not accept actual type of parameter\: string\.$#'
- identifier: parameter.phpDocType
+ message: '#^Function wc_clear_template_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^@param string \$price does not accept actual type of parameter\: float\|string\.$#'
- identifier: parameter.phpDocType
+ message: '#^Function wc_enqueue_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Call to function is_numeric\(\) with float will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Function wc_get_logger\(\) should return WC_Logger_Interface but returns object\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_get_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function wc_format_decimal\(\) should return string but returns array\<string\>\|string\|null\.$#'
+ message: '#^Function wc_get_template_html\(\) should return string but returns string\|false\.$#'
identifier: return.type
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function wc_format_option_hold_stock_minutes\(\) should return string but returns int\<0, max\>\|string\.$#'
- identifier: return.type
+ message: '#^Function wc_get_template_part\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function wc_format_option_price_num_decimals\(\) should return string but returns int\<0, max\>\.$#'
+ message: '#^Function wc_get_user_agent\(\) should return string but returns array\|string\.$#'
identifier: return.type
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function wc_format_phone_number\(\) should return string but returns string\|null\.$#'
- identifier: return.type
+ message: '#^Function wc_maybe_define_constant\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function wc_get_filename_from_url\(\) should return string but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Function wc_nocache_headers\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function wc_normalize_postcode\(\) should return string but returns string\|null\.$#'
- identifier: return.type
+ message: '#^Function wc_print_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function wc_sanitize_phone_number\(\) should return string but returns string\|null\.$#'
- identifier: return.type
+ message: '#^Function wc_remove_number_precision_deep\(\) never returns int so it can be removed from the return type\.$#'
+ identifier: return.unusedType
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function wc_string_to_timestamp\(\) should return int but returns int\|false\.$#'
+ message: '#^Function wc_remove_number_precision_deep\(\) should return array\|int but returns float\.$#'
identifier: return.type
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Function wc_trim_zeros\(\) should return string but returns string\|null\.$#'
- identifier: return.type
+ message: '#^Function wc_restore_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Offset 0 might not exist on array\<string\>\|string\|null\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Function wc_set_template_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Offset 1 might not exist on array\<string\>\|string\|null\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Function wc_set_time_limit\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Offset 2 might not exist on array\<string\>\|string\|null\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Function wc_setcookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Offset 3 might not exist on array\<string\>\|string\|null\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Function wc_switch_to_site_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Offset 4 might not exist on array\<string\>\|string\|null\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Function wc_transaction_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Offset 5 might not exist on array\<string\>\|string\|null\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Function woocommerce_register_shipping_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.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
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$haystack of function strstr expects string, array\<string\>\|string\|null given\.$#'
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, string\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$hour of function gmmktime expects int, string given\.$#'
+ message: '#^Parameter \#1 \$message of function wp_fast_hash expects string, int given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$input of function array_filter expects array, list\<string\>\|false given\.$#'
+ 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/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$input of function str_pad expects string, int given\.$#'
+ message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, int\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$num of function dechex expects int, float given\.$#'
+ message: '#^Parameter \#1 \$str of function sha1 expects string, int given\.$#'
identifier: argument.type
- count: 2
- path: includes/wc-formatting-functions.php
+ count: 1
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$offset of method WC_DateTime\:\:set_utc_offset\(\) expects int, float given\.$#'
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ message: '#^Parameter \#2 \$callback of function add_filter expects callable\(\)\: mixed, array\{mixed, ''run_shortcode''\} given\.$#'
identifier: argument.type
- count: 6
- path: includes/wc-formatting-functions.php
+ count: 1
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$stock_quantity of function wc_format_stock_quantity_for_display expects int, int\|null given\.$#'
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
identifier: argument.type
- count: 2
- path: includes/wc-formatting-functions.php
+ count: 1
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$str of function rtrim expects string, array\<string\>\|string\|null given\.$#'
- identifier: argument.type
+ message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-core-functions.php
-
- message: '#^Parameter \#1 \$str of function substr_replace expects array\|string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_code_by_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-coupon-functions.php
-
- message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_ids_by_code\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-coupon-functions.php
-
- message: '#^Parameter \#1 \$value of function wc_format_localized_decimal expects string, float given\.$#'
- identifier: argument.type
+ message: '#^Access to an undefined property WC_Session\:\:\$cart\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Default value of the parameter \#3 \$sale_price \(string\) of function _wc_save_product_price\(\) is incompatible with type float\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$array of function implode expects array\<string\>, list\<array\|string\> given\.$#'
- identifier: argument.type
+ message: '#^Function _woocommerce_term_recount\(\) has parameter \$callback with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$min of function gmmktime expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Function _woocommerce_term_recount\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#3 \$sec of function gmmktime expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Function _woocommerce_term_recount\(\) has parameter \$terms with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, float\|int\|string given\.$#'
- identifier: argument.type
+ message: '#^Function _woocommerce_term_recount\(\) has parameter \$terms_are_term_taxonomy_ids with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
- identifier: argument.type
+ message: '#^Function add_woocommerce_term_meta\(\) should return bool but returns int\|WP_Error\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#4 \$mon of function gmmktime expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Function get_product\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#5 \$day of function gmmktime expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Function get_product\(\) has parameter \$the_product with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#6 \$year of function gmmktime expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Function update_woocommerce_term_meta\(\) should return bool but returns bool\|int\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_deprecated_argument\(\) has parameter \$message with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_get_customer_avatar_url\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-formatting-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_add_notice\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_product_dropdown_categories invoked with 4 parameters, 0\-1 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/wc-notice-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_add_wp_error_notices\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_add_order_item\(\) has parameter \$item with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-notice-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_clear_notices\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_add_order_item\(\) has parameter \$order_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-notice-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_notice_data_attr\(\) should return string but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-notice-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_notices\(\) should return array\<array\> but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$meta_key with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-notice-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_notice_count\(\) should return int but empty return statement found\.$#'
- identifier: return.empty
+ message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$meta_value with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-notice-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_print_notice\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$unique with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-notice-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_set_notices\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_add_to_cart_message\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-notice-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$message of function wc_kses_notice expects string, string\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-notice-functions.php
+ message: '#^Function woocommerce_array_overlay\(\) has parameter \$a1 with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Binary operation "\-" between float and string results in an error\.$#'
- identifier: binaryOp.invalid
+ message: '#^Function woocommerce_array_overlay\(\) has parameter \$a2 with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_calc_shipping_backwards_compatibility\(\) has parameter \$value with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_cart_totals_coupon_html\(\) has parameter \$coupon with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_order_id_by_order_key\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_cart_totals_fee_html\(\) has parameter \$fee with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_unpaid_orders\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_cart_totals_shipping_method_label\(\) has parameter \$method with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:search_orders\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_change_term_counts\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:update_product_sales\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_change_term_counts\(\) has parameter \$taxonomies with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/wc-order-functions.php
+ message: '#^Function woocommerce_change_term_counts\(\) has parameter \$terms with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/wc-order-functions.php
+ message: '#^Function woocommerce_clean\(\) has parameter \$var with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:set_taxes\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_create_new_customer\(\) has parameter \$email with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:set_total\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_create_new_customer\(\) has parameter \$password with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:add_order_note\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_create_new_customer\(\) has parameter \$username with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_email\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_create_page\(\) has parameter \$option with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_remaining_refund_amount\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_create_page\(\) has parameter \$page_content with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_remaining_refund_items\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_create_page\(\) has parameter \$page_title with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:update_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_create_page\(\) has parameter \$post_parent with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method object\:\:get_download_permissions_granted\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_create_page\(\) has parameter \$slug with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method object\:\:get_recorded_coupon_usage_counts\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_customer_bought_product\(\) has parameter \$customer_email with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method object\:\:get_recorded_sales\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_customer_bought_product\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method object\:\:set_download_permissions_granted\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_customer_bought_product\(\) has parameter \$user_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method object\:\:set_recorded_coupon_usage_counts\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/wc-order-functions.php
+ message: '#^Function woocommerce_customer_has_capability\(\) has parameter \$allcaps with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method object\:\:set_recorded_sales\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/wc-order-functions.php
+ message: '#^Function woocommerce_customer_has_capability\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to function is_a\(\) with WC_Order_Refund and ''WC_Order_Refund'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Function woocommerce_customer_has_capability\(\) has parameter \$caps with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Function woocommerce_delete_order_item\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot call method get_download_expiry\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$delete_all with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot call method get_download_limit\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/wc-order-functions.php
+ message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$meta_key with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$meta_value with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot call method get_total_refunded\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
- identifier: method.nonObject
+ message: '#^Function woocommerce_disable_admin_bar\(\) has parameter \$show_admin_bar with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
- identifier: arguments.count
+ message: '#^Function woocommerce_downloadable_file_permission\(\) has parameter \$download_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_cancel_unpaid_orders\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_downloadable_file_permission\(\) has parameter \$order with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_delete_shop_order_transients\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_downloadable_file_permission\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_downloadable_product_permissions\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_downloadable_product_permissions\(\) has parameter \$order_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_order\(\) never returns WC_Order_Refund so it can be removed from the return type\.$#'
- identifier: return.unusedType
+ message: '#^Function woocommerce_format_decimal\(\) has parameter \$dp with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_orders\(\) should return array\<WC_Order\>\|stdClass but returns array\|object\.$#'
- identifier: return.type
+ message: '#^Function woocommerce_format_decimal\(\) has parameter \$number with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_order_fully_refunded\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_format_decimal\(\) has parameter \$trim_zeros with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_restock_refunded_items\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_format_hex\(\) has parameter \$hex with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_sanitize_order_id\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_get_attachment_image_attributes\(\) has parameter \$attr with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_update_coupon_usage_counts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_get_dimension\(\) has parameter \$dim with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_update_total_sales_counts\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_get_dimension\(\) has parameter \$to_unit with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_endpoint_url\(\) has parameter \$endpoint with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$date of method WC_Customer_Download\:\:set_access_expires\(\) expects int\|string\|null, int\|false given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_endpoint_url\(\) has parameter \$permalink with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$download_id of function wc_downloadable_file_permission expects string, int\|string given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_endpoint_url\(\) has parameter \$value with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-order-functions.php
+ message: '#^Function woocommerce_get_filename_from_url\(\) has parameter \$file_url with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_Comment\|null given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_formatted_variation\(\) has parameter \$flat with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$order of function wc_refund_payment expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_formatted_variation\(\) has parameter \$variation with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$order of function wc_release_coupons_for_order expects int\|WC_Order, WC_Order\|WC_Order_Refund given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-order-functions.php
+ message: '#^Function woocommerce_get_order_id_by_order_key\(\) has parameter \$order_key with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$order of function wc_restock_refunded_items expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$post_type of function register_post_type expects lowercase\-string&non\-empty\-string, string given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_order_item_meta\(\) has parameter \$key with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$used_by of method WC_Coupon\:\:decrease_usage_count\(\) expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_order_item_meta\(\) has parameter \$single with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$used_by of method WC_Coupon\:\:increase_usage_count\(\) expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_page_id\(\) has parameter \$page with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total\(\) expects string, \(float\|int\) given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_product_terms\(\) has parameter \$fields with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$value of method WC_Customer_Download\:\:set_user_email\(\) expects int, string given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_product_terms\(\) has parameter \$object_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$amount of function wc_refund_payment expects string, float\|int given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_product_terms\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$array of function array_map expects array, array\<int\|WP_Comment\>\|int given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_template\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_template\(\) has parameter \$default_path with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$order of method WC_Coupon\:\:increase_usage_count\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_template\(\) has parameter \$template_name with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, \(float\|int\) given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-order-functions.php
+ message: '#^Function woocommerce_get_template\(\) has parameter \$template_path with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#3 \$order of function wc_downloadable_file_permission expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_get_template_part\(\) has parameter \$name with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:add_metadata\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_get_template_part\(\) has parameter \$slug with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-item-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:add_order_item\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_get_weight\(\) has parameter \$to_unit with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-item-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:delete_metadata\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_get_weight\(\) has parameter \$weight with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-item-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:delete_order_item\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_hex_darker\(\) has parameter \$color with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-item-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_hex_darker\(\) has parameter \$factor with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-item-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_order_id_by_order_item_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_hex_lighter\(\) has parameter \$color with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-item-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:update_metadata\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_hex_lighter\(\) has parameter \$factor with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-item-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:update_order_item\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_let_to_num\(\) has parameter \$size with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-item-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_light_or_dark\(\) has parameter \$color with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-step-logger-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_light_or_dark\(\) has parameter \$dark with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-step-logger-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function extract_order_safe_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_light_or_dark\(\) has parameter \$light with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-order-step-logger-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Class WP_Block_List referenced with incorrect case\: WP_Block_list\.$#'
- identifier: class.nameCase
- count: 2
- path: includes/wc-page-functions.php
+ message: '#^Function woocommerce_list_pages\(\) has parameter \$pages with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$haystack of function strstr expects string, string\|false given\.$#'
- identifier: argument.type
- count: 5
- path: includes/wc-page-functions.php
+ message: '#^Function woocommerce_load_persistent_cart\(\) has parameter \$user with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$url of function wp_parse_url expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_load_persistent_cart\(\) has parameter \$user_login with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-page-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$value of function trailingslashit expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_locate_template\(\) has parameter \$default_path with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-page-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$str of function explode expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_locate_template\(\) has parameter \$template_name with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-page-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_ending_sales\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_locate_template\(\) has parameter \$template_path with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_featured_product_ids\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_lostpassword_url\(\) has parameter \$url with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_on_sale_products\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_mail\(\) has parameter \$attachments with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_product_id_by_global_unique_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_mail\(\) has parameter \$headers with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_product_id_by_sku\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_mail\(\) has parameter \$message with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_related_products\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_mail\(\) has parameter \$subject with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:get_starting_sales\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_mail\(\) has parameter \$to with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:is_existing_global_unique_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_nav_menu_item_classes\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:is_existing_sku\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function woocommerce_nav_menu_item_classes\(\) has parameter \$menu_items with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to function is_array\(\) with array\<mixed\> will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Function woocommerce_nav_menu_items\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Function woocommerce_nav_menu_items\(\) has parameter \$items with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot access property \$slug on WP_Error\|WP_Term\|null\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/wc-product-functions.php
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$index with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot call method get_permalink\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$next_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot call method set_sku\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$terms with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Default value of the parameter \#1 \$offset \(int\) of function wc_update_product_lookup_tables_rating_count_batch\(\) is incompatible with type array\.$#'
- identifier: parameter.defaultValue
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$the_term with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Default value of the parameter \#2 \$limit \(int\) of function wc_update_product_lookup_tables_rating_count_batch\(\) is incompatible with type array\.$#'
- identifier: parameter.defaultValue
+ message: '#^Function woocommerce_paying_customer\(\) has parameter \$order_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_deferred_product_sync\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_placeholder_img\(\) has parameter \$size with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_delete_product_transients\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_prepare_attachment_for_js\(\) has parameter \$response with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_delete_related_product_transients\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_price\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_price_to_display\(\) should return float but returns float\|string\.$#'
- identifier: return.type
+ message: '#^Function woocommerce_price\(\) has parameter \$price with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_product\(\) never returns null so it can be removed from the return type\.$#'
- identifier: return.unusedType
+ message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_product\(\) should return WC_Product\|false\|null but returns bool\|WC_Product\.$#'
- identifier: return.type
+ message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$deprecated_hierarchical with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_product_category_list\(\) should return string but returns string\|WP_Error\|false\.$#'
- identifier: return.type
+ message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$deprecated_orderby with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_product_object\(\) should return WC_Product but returns object\.$#'
- identifier: return.type
+ message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$deprecated_show_uncategorized with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_product_tag_list\(\) should return string but returns string\|WP_Error\|false\.$#'
- identifier: return.type
+ message: '#^Function woocommerce_product_post_type_link\(\) has parameter \$permalink with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_get_products\(\) should return array\|stdClass but returns array\|object\.$#'
- identifier: return.type
+ message: '#^Function woocommerce_product_post_type_link\(\) has parameter \$post with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_product_force_unique_sku\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_product_subcategories\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_scheduled_sales\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_protected_product_add_to_cart\(\) has parameter \$passed with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_track_product_view\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_protected_product_add_to_cart\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_update_product_lookup_tables\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_readfile_chunked\(\) has parameter \$file with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_update_product_lookup_tables_column\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_readfile_chunked\(\) has parameter \$retbytes with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_update_product_lookup_tables_rating_count\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_recount_after_stock_change\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_update_product_lookup_tables_rating_count_batch\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_rgb_from_hex\(\) has parameter \$color with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_sizes expects int, int\|null given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_round_tax_total\(\) has parameter \$tax with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, float\|int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_sanitize_taxonomy_name\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, int\|null given\.$#'
- identifier: argument.type
- count: 4
- path: includes/wc-product-functions.php
+ message: '#^Function woocommerce_set_customer_auth_cookie\(\) has parameter \$customer_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_srcset expects int, int\|null given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_set_term_order\(\) has parameter \$index with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_set_term_order\(\) has parameter \$recursive with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, int\|null given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_set_term_order\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, array\|WC_Product_Variation given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_set_term_order\(\) has parameter \$term_id with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, int\|false given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_terms_clauses\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, int\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-product-functions.php
+ message: '#^Function woocommerce_terms_clauses\(\) has parameter \$clauses with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, int\|null given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_terms_clauses\(\) has parameter \$taxonomies with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$post of function wc_product_post_type_link expects WP_Post, WP_Post\|null given\.$#'
- identifier: argument.type
+ message: '#^Function woocommerce_trim_zeros\(\) has parameter \$price with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#2 \$product of function wc_attribute_label expects WC_Product, WC_Product_Variation\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-product-functions.php
+ message: '#^Function woocommerce_update_new_customer_past_orders\(\) has parameter \$customer_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Property WooCommerce\:\:\$customer \(WC_Customer\) in empty\(\) is not falsy\.$#'
- identifier: empty.property
- count: 2
- path: includes/wc-product-functions.php
+ message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Variable \$_GET in isset\(\) always exists and is not nullable\.$#'
- identifier: isset.variable
+ message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$meta_key with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Variable \$global_unique_id_found might not be defined\.$#'
- identifier: variable.undefined
+ message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$meta_value with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-product-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Cannot access property \$cap on WP_Taxonomy\|false\.$#'
- identifier: property.nonObject
+ message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$prev_value with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-rest-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Default value of the parameter \#2 \$object_id \(int\) of function wc_rest_check_product_reviews_permissions\(\) is incompatible with type string\.$#'
- identifier: parameter.defaultValue
+ message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has parameter \$a1 with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-rest-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Function wc_rest_validate_reports_request_arg\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
- identifier: missingType.generics
+ message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has parameter \$a2 with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-rest-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Offset ''tmp_name'' might not exist on array\{name\?\: string, type\?\: string, tmp_name\?\: string, size\?\: int, error\?\: int\}\.$#'
- identifier: offsetAccess.notFound
+ message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has parameter \$a3 with no type specified\.$#'
+ identifier: missingType.parameter
count: 1
- path: includes/wc-rest-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_DateTime\|null given\.$#'
- identifier: argument.type
+ message: '#^PHPDoc tag @param references unknown parameter\: \$replacement$#'
+ identifier: parameter.notFound
count: 1
- path: includes/wc-rest-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_Comment\|null given\.$#'
+ message: '#^Parameter \#1 \$time of function strtotime expects string, array\|int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-rest-functions.php
-
- -
- message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\.$#'
- identifier: parameter.phpDocType
- count: 3
- path: includes/wc-stock-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^@param WC_Order_Item_Product \$item does not accept actual type of parameter\: WC_Order_Item\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#1 \$time of function strtotime expects string, array\|string given\.$#'
+ identifier: argument.type
count: 3
- path: includes/wc-stock-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^@param int \$new_stock does not accept actual type of parameter\: bool\|int\|null\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#3 \$replacement of function _deprecated_function expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
-
- -
- message: '#^@param int \$product does not accept actual type of parameter\: WC_Product\|false\|null\.$#'
- identifier: parameter.phpDocType
- count: 2
- path: includes/wc-stock-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:read_stock_quantity\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#3 \$replacement of function _deprecated_hook expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method WC_Data_Store\:\:update_product_stock\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#4 \$message of function _deprecated_hook expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
-
- -
- message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/wc-stock-functions.php
-
- -
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:add_order_note\(\)\.$#'
- identifier: method.notFound
- count: 3
- path: includes/wc-stock-functions.php
+ path: includes/wc-deprecated-functions.php
-
- message: '#^Call to an undefined method object\:\:get_stock_reduced\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/wc-stock-functions.php
+ message: '#^@param float \$formatted_price does not accept actual type of parameter\: string\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-formatting-functions.php
-
- message: '#^Call to an undefined method object\:\:release_held_coupons\(\)\.$#'
- identifier: method.notFound
+ message: '#^@param string \$price does not accept actual type of parameter\: float\|string\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Call to an undefined method object\:\:set_stock_reduced\(\)\.$#'
- identifier: method.notFound
- count: 2
- path: includes/wc-stock-functions.php
+ message: '#^Call to function is_numeric\(\) with float will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/wc-formatting-functions.php
-
- message: '#^Cannot call method get_low_stock_amount\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Function wc_format_decimal\(\) should return string but returns array\<string\>\|string\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Cannot call method get_stock_quantity\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Function wc_format_option_hold_stock_minutes\(\) should return string but returns int\<0, max\>\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
- count: 2
- path: includes/wc-stock-functions.php
+ message: '#^Function wc_format_option_price_num_decimals\(\) should return string but returns int\<0, max\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
-
- message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
- identifier: method.nonObject
+ message: '#^Function wc_format_phone_number\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_get_held_stock_quantity\(\) should return int but returns float\|int\.$#'
- identifier: return.type
+ message: '#^Function wc_get_filename_from_url\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_increase_stock_levels\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_normalize_postcode\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_maybe_increase_stock_levels\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_sanitize_phone_number\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_maybe_reduce_stock_levels\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_string_to_timestamp\(\) should return int but returns int\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_reduce_stock_levels\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_trim_zeros\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_release_coupons_for_order\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset 0 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_release_stock_for_order\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset 1 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_reserve_stock_for_order\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset 2 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_trigger_stock_change_notifications\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset 3 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Function wc_update_product_stock_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Offset 4 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^PHPDoc tag @throws with type ReserveStockException is not subtype of Throwable$#'
- identifier: throws.notThrowable
+ message: '#^Offset 5 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Order given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-stock-functions.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/wc-formatting-functions.php
-
- message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Product given\.$#'
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, array\<string\>\|string\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#1 \$order of function wc_trigger_stock_change_notifications expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ message: '#^Parameter \#1 \$hour of function gmmktime expects int, string given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:release_stock_for_order\(\) expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ message: '#^Parameter \#1 \$input of function array_filter expects array, list\<string\>\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:reserve_stock_for_order\(\) expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ message: '#^Parameter \#1 \$input of function str_pad expects string, int given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#1 \$order_id of function wc_increase_stock_levels expects int\|WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ message: '#^Parameter \#1 \$num of function dechex expects int, float given\.$#'
identifier: argument.type
- count: 1
- path: includes/wc-stock-functions.php
+ count: 2
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#1 \$order_id of function wc_reduce_stock_levels expects int\|WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ message: '#^Parameter \#1 \$offset of method WC_DateTime\:\:set_utc_offset\(\) expects int, float given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#1 \$product of function wc_get_low_stock_amount expects WC_Product, WC_Product\|false\|null given\.$#'
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
identifier: argument.type
- count: 1
- path: includes/wc-stock-functions.php
+ count: 6
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ 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/wc-stock-functions.php
+ count: 2
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#2 \$stock_quantity of function wc_update_product_stock expects int\|null, float\|int given\.$#'
+ message: '#^Parameter \#1 \$str of function rtrim expects string, array\<string\>\|string\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, float\|int given\.$#'
+ message: '#^Parameter \#1 \$str of function substr_replace expects array\|string, string\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-stock-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^@param WP_Term \$term does not accept actual type of parameter\: WP_Post\|WP_Post_Type\|WP_Term\|WP_User\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#1 \$value of function wc_format_localized_decimal expects string, float given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^@param string \$html does not accept actual type of parameter\: string\|false\.$#'
- identifier: parameter.phpDocType
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, list\<array\|string\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
-
- -
- message: '#^Access to an undefined property WP_Error\|WP_Term\:\:\$term_id\.$#'
- identifier: property.notFound
- count: 3
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Access to an undefined property WP_Post\|WP_Post_Type\|WP_Term\|WP_User\:\:\$description\.$#'
- identifier: property.notFound
+ message: '#^Parameter \#2 \$min of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Access to an undefined property WooCommerce\:\:\$checkout\.$#'
- identifier: property.notFound
+ message: '#^Parameter \#3 \$sec of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Access to an undefined property object\:\:\$count\.$#'
- identifier: property.notFound
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, float\|int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Access to an undefined property object\:\:\$name\.$#'
- identifier: property.notFound
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Action callback returns WC_Product but should not return anything\.$#'
- identifier: return.void
+ message: '#^Parameter \#4 \$mon of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Call to an undefined method WC_Order_Item\:\:get_item_downloads\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#5 \$day of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:has_downloadable_item\(\)\.$#'
- identifier: method.notFound
+ message: '#^Parameter \#6 \$year of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-formatting-functions.php
-
- message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:is_download_permitted\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_add_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-notice-functions.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_available_variations\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_add_wp_error_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-notice-functions.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_clear_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-notice-functions.php
-
- message: '#^Call to an undefined method WC_Product\:\:get_variation_default_attribute\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_get_notice_data_attr\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-notice-functions.php
-
- message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_get_notices\(\) should return array\<array\> but empty return statement found\.$#'
+ identifier: return.empty
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-notice-functions.php
-
- message: '#^Call to an undefined method object\:\:has_status\(\)\.$#'
- identifier: method.notFound
+ message: '#^Function wc_notice_count\(\) should return int but empty return statement found\.$#'
+ identifier: return.empty
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-notice-functions.php
-
- message: '#^Cannot access property \$total on array\<WC_Order\>\|stdClass\.$#'
- identifier: property.nonObject
+ message: '#^Function wc_print_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
-
- -
- message: '#^Expected 2 @param tags, found 1\.$#'
- identifier: paramTag.count
- count: 2
- path: includes/wc-template-functions.php
+ path: includes/wc-notice-functions.php
-
- message: '#^Expected 4 @param tags, found 1\.$#'
- identifier: paramTag.count
+ message: '#^Function wc_set_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-notice-functions.php
-
- message: '#^Function _sort_priority_callback\(\) should return bool but returns int\.$#'
- identifier: return.type
+ message: '#^Parameter \#1 \$message of function wc_kses_notice expects string, string\|false given\.$#'
+ identifier: argument.type
count: 2
- path: includes/wc-template-functions.php
+ path: includes/wc-notice-functions.php
-
- message: '#^Function get_product_search_form\(\) should return string but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Binary operation "\-" between float and string results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
- identifier: arguments.count
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_checkout_privacy_policy_text\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_display_product_attributes\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_order_id_by_order_key\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_dropdown_variation_attribute_options\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_unpaid_orders\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_empty_cart_message\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:search_orders\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_gallery_noscript\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_product_sales\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_get_formatted_cart_item_data\(\) should return string but returns string\|false\.$#'
- identifier: return.type
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_get_pay_buttons\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_no_js\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_taxes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_no_products_found\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_total\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_page_noindex\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:add_order_note\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_prevent_adjacent_posts_rel_link_wp_head\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_billing_email\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_prevent_endpoint_indexing\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_remaining_refund_amount\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_privacy_policy_text\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:get_remaining_refund_items\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_product_cat_class\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:update_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_product_class\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_download_permissions_granted\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_query_string_form_fields\(\) should return string but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Call to an undefined method object\:\:get_recorded_coupon_usage_counts\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_registration_privacy_policy_text\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_recorded_sales\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_reset_loop\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:set_download_permissions_granted\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_reset_product_grid_settings\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Call to an undefined method object\:\:set_recorded_coupon_usage_counts\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_send_frame_options_header\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Call to an undefined method object\:\:set_recorded_sales\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_set_loop_product_visibility\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to function is_a\(\) with WC_Order_Refund and ''WC_Order_Refund'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_set_loop_prop\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_setup_loop\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_download_expiry\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_setup_product_data\(\) should return WC_Product but empty return statement found\.$#'
- identifier: return.empty
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Cannot call method get_download_limit\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_setup_product_data\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
- identifier: return.type
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_template_redirect\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_terms_and_conditions_checkbox_text\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_total_refunded\(\) on WC_Order\|WC_Order_Refund\|false\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function wc_terms_and_conditions_page_content\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_account_add_payment_method\(\) has no return type specified\.$#'
+ message: '#^Function wc_cancel_unpaid_orders\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_account_content\(\) has no return type specified\.$#'
+ message: '#^Function wc_delete_shop_order_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_account_downloads\(\) has no return type specified\.$#'
+ message: '#^Function wc_downloadable_product_permissions\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_account_edit_account\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_order\(\) never returns WC_Order_Refund so it can be removed from the return type\.$#'
+ identifier: return.unusedType
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_account_edit_address\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_orders\(\) should return array\<WC_Order\>\|stdClass but returns array\|object\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_account_navigation\(\) has no return type specified\.$#'
+ message: '#^Function wc_order_fully_refunded\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_account_orders\(\) has no return type specified\.$#'
+ message: '#^Function wc_restock_refunded_items\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_account_payment_methods\(\) has no return type specified\.$#'
+ message: '#^Function wc_sanitize_order_id\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_account_view_order\(\) has no return type specified\.$#'
+ message: '#^Function wc_update_coupon_usage_counts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_breadcrumb\(\) has no return type specified\.$#'
+ message: '#^Function wc_update_total_sales_counts\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_button_proceed_to_checkout\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_cart_totals\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$date of method WC_Customer_Download\:\:set_access_expires\(\) expects int\|string\|null, int\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_catalog_ordering\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$download_id of function wc_downloadable_file_permission expects string, int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_checkout_coupon_form\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_checkout_login_form\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_Comment\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_checkout_payment\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order of function wc_refund_payment expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_comments\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Parameter \#1 \$order of function wc_release_coupons_for_order expects int\|WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_content\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order of function wc_restock_refunded_items expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_cross_sell_display\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$post_type of function register_post_type expects lowercase\-string&non\-empty\-string, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_demo_store\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$used_by of method WC_Coupon\:\:decrease_usage_count\(\) expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_external_add_to_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$used_by of method WC_Coupon\:\:increase_usage_count\(\) expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_form_field\(\) should return string but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total\(\) expects string, \(float\|int\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_get_sidebar\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$value of method WC_Customer_Download\:\:set_user_email\(\) expects int, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_grouped_add_to_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$amount of function wc_refund_payment expects string, float\|int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_login_form\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\<int\|WP_Comment\>\|int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_mini_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_order_again_button\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$order of method WC_Coupon\:\:increase_usage_count\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_order_details_table\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_order_downloads_table\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#3 \$order of function wc_downloadable_file_permission expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-functions.php
-
- message: '#^Function woocommerce_order_review\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:add_metadata\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-item-functions.php
-
- message: '#^Function woocommerce_output_all_notices\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:add_order_item\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-item-functions.php
-
- message: '#^Function woocommerce_output_auth_footer\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_metadata\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-item-functions.php
-
- message: '#^Function woocommerce_output_auth_header\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_order_item\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-item-functions.php
-
- message: '#^Function woocommerce_output_content_wrapper\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-item-functions.php
-
- message: '#^Function woocommerce_output_content_wrapper_end\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_order_id_by_order_item_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-item-functions.php
-
- message: '#^Function woocommerce_output_product_data_tabs\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_metadata\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-item-functions.php
-
- message: '#^Function woocommerce_output_related_products\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_order_item\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-item-functions.php
-
- message: '#^Function woocommerce_page_title\(\) should return string but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-step-logger-functions.php
-
- message: '#^Function woocommerce_pagination\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-step-logger-functions.php
-
- message: '#^Function woocommerce_photoswipe\(\) has no return type specified\.$#'
+ message: '#^Function extract_order_safe_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-order-step-logger-functions.php
-
- message: '#^Function woocommerce_product_additional_information_tab\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Class WP_Block_List referenced with incorrect case\: WP_Block_list\.$#'
+ identifier: class.nameCase
+ count: 2
+ path: includes/wc-page-functions.php
-
- message: '#^Function woocommerce_product_archive_description\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/wc-page-functions.php
-
- message: '#^Function woocommerce_product_description_tab\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$url of function wp_parse_url expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-page-functions.php
-
- message: '#^Function woocommerce_product_loop_end\(\) should return string but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Parameter \#1 \$value of function trailingslashit expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-page-functions.php
-
- message: '#^Function woocommerce_product_loop_start\(\) should return string but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Parameter \#2 \$str of function explode expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-page-functions.php
-
- message: '#^Function woocommerce_product_taxonomy_archive_header\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_ending_sales\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_quantity_input\(\) should return string but return statement is missing\.$#'
- identifier: return.missing
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_featured_product_ids\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_quantity_input\(\) should return string but returns string\|false\.$#'
- identifier: return.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_on_sale_products\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_related_products\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_product_id_by_global_unique_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_result_count\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_product_id_by_sku\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_review_display_comment_text\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_related_products\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_shipping_calculator\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_starting_sales\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_show_product_images\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:is_existing_global_unique_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_show_product_loop_sale_flash\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Data_Store\:\:is_existing_sku\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_show_product_sale_flash\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to function is_array\(\) with array\<mixed\> will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_show_product_thumbnails\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_simple_add_to_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Cannot access property \$slug on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_single_variation\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method get_permalink\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_single_variation_add_to_cart_button\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_subcategory_thumbnail\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method set_sku\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_taxonomy_archive_description\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Default value of the parameter \#1 \$offset \(int\) of function wc_update_product_lookup_tables_rating_count_batch\(\) is incompatible with type array\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_add_to_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Default value of the parameter \#2 \$limit \(int\) of function wc_update_product_lookup_tables_rating_count_batch\(\) is incompatible with type array\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_category_link_close\(\) has no return type specified\.$#'
+ message: '#^Function wc_deferred_product_sync\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_category_link_open\(\) has no return type specified\.$#'
+ message: '#^Function wc_delete_product_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_category_title\(\) has no return type specified\.$#'
+ message: '#^Function wc_delete_related_product_transients\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_price\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_price_to_display\(\) should return float but returns float\|string\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_product_link_close\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_product\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_product_link_open\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_product\(\) should return WC_Product\|false\|null but returns bool\|WC_Product\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_product_thumbnail\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_product_category_list\(\) should return string but returns string\|WP_Error\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_product_title\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_product_object\(\) should return WC_Product but returns object\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_loop_rating\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_product_tag_list\(\) should return string but returns string\|WP_Error\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_single_add_to_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_products\(\) should return array\|stdClass but returns array\|object\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_single_excerpt\(\) has no return type specified\.$#'
+ message: '#^Function wc_product_force_unique_sku\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_single_meta\(\) has no return type specified\.$#'
+ message: '#^Function wc_scheduled_sales\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_single_price\(\) has no return type specified\.$#'
+ message: '#^Function wc_track_product_view\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_single_rating\(\) has no return type specified\.$#'
+ message: '#^Function wc_update_product_lookup_tables\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_single_sharing\(\) has no return type specified\.$#'
+ message: '#^Function wc_update_product_lookup_tables_column\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_template_single_title\(\) has no return type specified\.$#'
+ message: '#^Function wc_update_product_lookup_tables_rating_count\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_upsell_display\(\) has no return type specified\.$#'
+ message: '#^Function wc_update_product_lookup_tables_rating_count_batch\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_variable_add_to_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_sizes expects int, int\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_widget_shopping_cart_button_view_cart\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, float\|int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_widget_shopping_cart_proceed_to_checkout\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/wc-product-functions.php
-
- message: '#^Function woocommerce_widget_shopping_cart_subtotal\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_srcset expects int, int\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Inner named functions are not supported by PHPStan\. Consider refactoring to an anonymous function, class method, or a top\-level\-defined function\. See issue \#165 \(https\://github\.com/phpstan/phpstan/issues/165\) for more details\.$#'
- identifier: function.inner
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, int\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, array\|WC_Product_Variation given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$location of function wp_safe_redirect expects string, string\|false given\.$#'
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, int\|false given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$search of function str_replace expects array\<string\>\|string, int given\.$#'
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, int\|false given\.$#'
identifier: argument.type
- count: 1
- path: includes/wc-template-functions.php
+ count: 2
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$term of function get_term expects int\|object, int\|object\|string given\.$#'
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, int\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$term of function get_term_link expects int\|string\|WP_Term, int\|object\|string given\.$#'
+ message: '#^Parameter \#2 \$post of function wc_product_post_type_link expects WP_Post, WP_Post\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ message: '#^Parameter \#2 \$product of function wc_attribute_label expects WC_Product, WC_Product_Variation\|false given\.$#'
identifier: argument.type
count: 2
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^Property WooCommerce\:\:\$customer \(WC_Customer\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
count: 2
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$text of function esc_html expects string, float given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-template-functions.php
+ message: '#^Variable \$_GET in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.variable
+ count: 1
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$text of function esc_html expects string, int\<1, max\> given\.$#'
- identifier: argument.type
+ message: '#^Variable \$global_unique_id_found might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-product-functions.php
-
- message: '#^Parameter \#1 \$url of function esc_url expects string, string\|WP_Error given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-template-functions.php
+ message: '#^Cannot access property \$cap on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-rest-functions.php
-
- message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-template-functions.php
+ message: '#^Default value of the parameter \#2 \$object_id \(int\) of function wc_rest_check_product_reviews_permissions\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/wc-rest-functions.php
-
- message: '#^Parameter \#1 \$weight of function wc_format_weight expects float, string given\.$#'
- identifier: argument.type
+ message: '#^Function wc_rest_validate_reports_request_arg\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-rest-functions.php
-
- message: '#^Parameter \#2 \$array of function array_map expects array, array\|false given\.$#'
- identifier: argument.type
+ message: '#^Offset ''tmp_name'' might not exist on array\{name\?\: string, type\?\: string, tmp_name\?\: string, size\?\: int, error\?\: int\}\.$#'
+ identifier: offsetAccess.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-rest-functions.php
-
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_DateTime\|null given\.$#'
identifier: argument.type
- count: 4
- path: includes/wc-template-functions.php
+ count: 1
+ path: includes/wc-rest-functions.php
-
- message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''strlen'' given\.$#'
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_Comment\|null given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-rest-functions.php
-
- message: '#^Parameter \#2 \$callback of function uasort expects callable\(mixed, mixed\)\: int, ''_sort_priority…'' given\.$#'
- identifier: argument.type
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#2 \$default of function wc_get_loop_prop expects string, int given\.$#'
- identifier: argument.type
+ message: '#^@param WC_Order_Item_Product \$item does not accept actual type of parameter\: WC_Order_Item\.$#'
+ identifier: parameter.phpDocType
count: 3
- path: includes/wc-template-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#2 \$default of function wc_get_loop_prop expects string, null given\.$#'
- identifier: argument.type
+ message: '#^@param int \$new_stock does not accept actual type of parameter\: bool\|int\|null\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#2 \$fallback of function sanitize_html_class expects string, int given\.$#'
- identifier: argument.type
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^@param int \$product does not accept actual type of parameter\: WC_Product\|false\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, \(float\|int\) given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:read_stock_quantity\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, bool given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_product_stock\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, int given\.$#'
- identifier: argument.type
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
count: 2
- path: includes/wc-template-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, int\|string given\.$#'
- identifier: argument.type
- count: 1
- path: includes/wc-template-functions.php
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:add_order_note\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: includes/wc-stock-functions.php
-
- message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
- identifier: isset.property
+ message: '#^Call to an undefined method object\:\:get_stock_reduced\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:release_held_coupons\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-template-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Access to an undefined property WP_Post\:\:\$name\.$#'
- identifier: property.notFound
+ message: '#^Call to an undefined method object\:\:set_stock_reduced\(\)\.$#'
+ identifier: method.notFound
count: 2
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Access to an undefined property WP_Post\:\:\$parent\.$#'
- identifier: property.notFound
- count: 4
- path: includes/wc-term-functions.php
+ message: '#^Cannot call method get_low_stock_amount\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-stock-functions.php
-
- message: '#^Argument of an invalid type array\<WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Cannot call method get_stock_quantity\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 2
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
+ message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Cannot access property \$term_id on int\.$#'
- identifier: property.nonObject
+ message: '#^Function wc_get_held_stock_quantity\(\) should return int but returns float\|int\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Default value of the parameter \#1 \$product_id \(string\) of function _wc_recount_terms_by_product\(\) is incompatible with type int\.$#'
- identifier: parameter.defaultValue
+ message: '#^Function wc_increase_stock_levels\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Function _wc_get_cached_product_terms\(\) should return array but returns array\<int, int\|string\|WP_Term\>\|string\|WP_Error\.$#'
- identifier: return.type
+ message: '#^Function wc_maybe_increase_stock_levels\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Function _wc_term_recount\(\) has no return type specified\.$#'
+ message: '#^Function wc_maybe_reduce_stock_levels\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Function wc_change_pre_get_terms\(\) has no return type specified\.$#'
+ message: '#^Function wc_reduce_stock_levels\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Function wc_clear_term_product_ids\(\) has no return type specified\.$#'
+ message: '#^Function wc_release_coupons_for_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Function wc_get_term_product_ids\(\) should return array but returns array\<mixed\>\|WP_Error\.$#'
- identifier: return.type
+ message: '#^Function wc_release_stock_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Function wc_product_dropdown_categories\(\) has no return type specified\.$#'
+ message: '#^Function wc_reserve_stock_for_order\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Function wc_recount_after_stock_change\(\) has no return type specified\.$#'
+ message: '#^Function wc_trigger_stock_change_notifications\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_update_product_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^PHPDoc tag @throws with type ReserveStockException is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Order given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order of function wc_trigger_stock_change_notifications expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:release_stock_for_order\(\) expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:reserve_stock_for_order\(\) expects WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
-
- message: '#^Function wc_taxonomy_metadata_migrate_data\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$order_id of function wc_increase_stock_levels expects int\|WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \#1 \$order_id of function wc_reduce_stock_levels expects int\|WC_Order, WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^PHPDoc tag @param has invalid value \(bool\)\: Unexpected token "\\n\\t ", expected variable at offset 345 on line 8$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \#1 \$product of function wc_get_low_stock_amount expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, string given\.$#'
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
identifier: argument.type
- count: 3
- path: includes/wc-term-functions.php
+ count: 1
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ message: '#^Parameter \#2 \$stock_quantity of function wc_update_product_stock expects int\|null, float\|int given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#1 \$object_id of function get_ancestors expects int, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, float\|int given\.$#'
identifier: argument.type
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-stock-functions.php
-
- message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
- identifier: argument.type
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Parameter \#1 \$term_id of function get_term_children expects int, int\|string given\.$#'
- identifier: argument.type
+ message: '#^@param WP_Term \$term does not accept actual type of parameter\: WP_Post\|WP_Post_Type\|WP_Term\|WP_User\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Parameter \#1 \$term_id of function update_term_meta expects int, int\|string given\.$#'
- identifier: argument.type
+ message: '#^@param string \$html does not accept actual type of parameter\: string\|false\.$#'
+ identifier: parameter.phpDocType
count: 1
- path: includes/wc-term-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Parameter \#1 \$terms of function _wc_term_recount expects array, array\<int, int\>\|WP_Error given\.$#'
- identifier: argument.type
- count: 2
- path: includes/wc-term-functions.php
+ message: '#^Access to an undefined property WP_Error\|WP_Term\:\:\$term_id\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/wc-template-functions.php
-
- message: '#^Parameter \#2 \$taxonomy of function _wc_term_recount expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
- identifier: argument.type
- count: 4
- path: includes/wc-term-functions.php
+ message: '#^Access to an undefined property WP_Post\|WP_Post_Type\|WP_Term\|WP_User\:\:\$description\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-template-functions.php
-
- message: '#^Binary operation "\." between non\-falsy\-string and array\|string results in an error\.$#'
- identifier: binaryOp.invalid
- count: 4
- path: includes/wc-update-functions.php
+ message: '#^Access to an undefined property WooCommerce\:\:\$checkout\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-template-functions.php
-
- message: '#^Call to function is_callable\(\) with ''WC_Comments\:\:delete…'' will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
+ message: '#^Access to an undefined property object\:\:\$count\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Cannot access offset 0 on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Cannot access offset 1 on non\-empty\-array\|true\.$#'
- identifier: offsetAccess.nonOffsetAccessible
+ message: '#^Action callback returns WC_Product but should not return anything\.$#'
+ identifier: return.void
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Cannot access property \$ID on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_item_downloads\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Cannot access property \$woocommerce_api_consumer_key on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:has_downloadable_item\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Cannot access property \$woocommerce_api_consumer_secret on WP_User\|false\.$#'
- identifier: property.nonObject
- count: 2
- path: includes/wc-update-functions.php
+ message: '#^Call to an undefined method WC_Order\|WC_Order_Refund\:\:is_download_permitted\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-template-functions.php
-
- message: '#^Cannot access property \$woocommerce_api_key_permissions on WP_User\|false\.$#'
- identifier: property.nonObject
+ message: '#^Call to an undefined method WC_Product\:\:get_available_variations\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Cannot call method remove_cap\(\) on WP_Role\|null\.$#'
- identifier: method.nonObject
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function filter_created_pages\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_default_attribute\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_1020_add_old_refunded_order_items_to_product_lookup_table\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_1050_migrate_brand_permalink_setting\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to an undefined method object\:\:has_status\(\)\.$#'
+ identifier: method.notFound
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_300_comment_type_index\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$total on array\<WC_Order\>\|stdClass\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_300_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Expected 2 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Expected 4 @param tags, found 1\.$#'
+ identifier: paramTag.count
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_300_product_visibility\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function _sort_priority_callback\(\) should return bool but returns int\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function get_product_search_form\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_310_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_310_downloadable_products\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_formatted_cart_item_data\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_310_old_comments\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_query_string_form_fields\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_312_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_setup_product_data\(\) should return WC_Product but empty return statement found\.$#'
+ identifier: return.empty
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_312_shop_manager_capabilities\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_setup_product_data\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_320_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_form_field\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_320_mexican_states\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_page_title\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_330_clear_transients\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_product_loop_end\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_330_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_product_loop_start\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_330_image_options\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_quantity_input\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_330_product_stock_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function woocommerce_quantity_input\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_330_set_default_product_cat\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Inner named functions are not supported by PHPStan\. Consider refactoring to an anonymous function, class method, or a top\-level\-defined function\. See issue \#165 \(https\://github\.com/phpstan/phpstan/issues/165\) for more details\.$#'
+ identifier: function.inner
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_330_set_paypal_sandbox_credentials\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_330_webhooks\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$location of function wp_safe_redirect expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_340_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$search of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_340_last_active\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$term of function get_term expects int\|object, int\|object\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_340_states\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$term of function get_term_link expects int\|string\|WP_Term, int\|object\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_350_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_350_reviews_comment_type\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Parameter \#1 \$text of function esc_html expects string, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_354_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_354_modify_shop_manager_caps\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_360_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_360_product_lookup_tables\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$weight of function wc_format_weight expects float, string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_360_term_meta\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_370_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.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: 4
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_390_change_geolocation_database_update_cron\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_390_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$callback of function uasort expects callable\(mixed, mixed\)\: int, ''_sort_priority…'' given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_390_move_maxmind_database\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Parameter \#2 \$default of function wc_get_loop_prop expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_400_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$default of function wc_get_loop_prop expects string, null given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_400_increase_size_of_column\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$fallback of function sanitize_html_class expects string, int given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_400_reset_action_scheduler_migration_status\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, \(float\|int\) given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_440_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, bool given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_450_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_500_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_500_fix_product_review_count\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-template-functions.php
-
- message: '#^Function wc_update_560_create_refund_returns_page\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Access to an undefined property WP_Post\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_560_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Access to an undefined property WP_Post\:\:\$parent\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_600_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Argument of an invalid type array\<WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_600_migrate_rate_limit_options\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_630_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$term_id on int\.$#'
+ identifier: property.nonObject
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_640_db_version\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Default value of the parameter \#1 \$product_id \(string\) of function _wc_recount_terms_by_product\(\) is incompatible with type int\.$#'
+ identifier: parameter.defaultValue
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_650_approved_download_directories\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function _wc_get_cached_product_terms\(\) should return array but returns array\<int, int\|string\|WP_Term\>\|string\|WP_Error\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_651_approved_download_directories\(\) has no return type specified\.$#'
+ message: '#^Function _wc_term_recount\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_670_purge_comments_count_cache\(\) has no return type specified\.$#'
+ message: '#^Function wc_change_pre_get_terms\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_700_remove_recommended_marketing_plugins_transient\(\) has no return type specified\.$#'
+ message: '#^Function wc_clear_term_product_ids\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_721_adjust_new_zealand_states\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Function wc_get_term_product_ids\(\) should return array but returns array\<mixed\>\|WP_Error\.$#'
+ identifier: return.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_721_adjust_ukraine_states\(\) has no return type specified\.$#'
+ message: '#^Function wc_product_dropdown_categories\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_722_adjust_new_zealand_states\(\) has no return type specified\.$#'
+ message: '#^Function wc_recount_after_stock_change\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_722_adjust_ukraine_states\(\) has no return type specified\.$#'
+ message: '#^Function wc_taxonomy_metadata_migrate_data\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_750_add_columns_to_order_stats_table\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_770_remove_multichannel_marketing_feature_options\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^PHPDoc tag @param has invalid value \(bool\)\: Unexpected token "\\n\\t ", expected variable at offset 345 on line 8$#'
+ identifier: phpDoc.parseError
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_790_blockified_product_grid_block\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_830_rename_cart_template\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_830_rename_checkout_template\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$object_id of function get_ancestors expects int, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_860_remove_recommended_marketing_plugins_transient\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_870_prevent_listing_of_transient_files_directory\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$term_id of function get_term_children expects int, int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_890_update_connect_to_woocommerce_note\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Parameter \#1 \$term_id of function update_term_meta expects int, int\|string given\.$#'
+ identifier: argument.type
count: 1
- path: includes/wc-update-functions.php
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_890_update_paypal_standard_load_eligibility\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Parameter \#1 \$terms of function _wc_term_recount expects array, array\<int, int\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_891_create_plugin_autoinstall_history_option\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/wc-update-functions.php
+ message: '#^Parameter \#2 \$taxonomy of function _wc_term_recount expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/wc-term-functions.php
-
- message: '#^Function wc_update_910_add_launch_your_store_tour_option\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ message: '#^Binary operation "\." between non\-falsy\-string and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 4
path: includes/wc-update-functions.php
-
- message: '#^Function wc_update_920_add_wc_hooked_blocks_version_option\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Call to function is_callable\(\) with ''WC_Comments\:\:delete…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
count: 1
path: includes/wc-update-functions.php
-
- message: '#^Function wc_update_930_add_woocommerce_coming_soon_option\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset 0 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/wc-update-functions.php
-
- message: '#^Function wc_update_930_migrate_user_meta_for_launch_your_store_tour\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access offset 1 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: includes/wc-update-functions.php
-
- message: '#^Function wc_update_950_tracking_option_autoload\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
count: 1
path: includes/wc-update-functions.php
-
- message: '#^Function wc_update_961_migrate_default_email_base_color\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$woocommerce_api_consumer_key on WP_User\|false\.$#'
+ identifier: property.nonObject
count: 1
path: includes/wc-update-functions.php
-
- message: '#^Function wc_update_980_remove_order_attribution_install_banner_dismissed_option\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
+ message: '#^Cannot access property \$woocommerce_api_consumer_secret on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 2
path: includes/wc-update-functions.php
-
- message: '#^Function wc_update_985_enable_new_payments_settings_page_feature\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot access property \$woocommerce_api_key_permissions on WP_User\|false\.$#'
+ identifier: property.nonObject
count: 1
path: includes/wc-update-functions.php
-
- message: '#^Function wc_update_990_remove_wc_count_comments_transient\(\) has no return type specified\.$#'
- identifier: missingType.return
+ message: '#^Cannot call method remove_cap\(\) on WP_Role\|null\.$#'
+ identifier: method.nonObject
count: 1
path: includes/wc-update-functions.php