-
Notifications
You must be signed in to change notification settings - Fork 69
/
psalm-baseline.xml
113 lines (113 loc) · 4.64 KB
/
psalm-baseline.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.13.1@5cf660f63b548ccd4a56f62d916ee4d6028e01a3">
<file src="includes/class-payment-information.php">
<InvalidArgument occurrences="1">
<code>wc_clean( $request[ $token_request_key ] )</code>
</InvalidArgument>
</file>
<file src="includes/class-wc-payment-gateway-wcpay.php">
<UndefinedFunction occurrences="1">
<code>wcs_get_subscriptions_for_order( $order, [ 'order_type' => 'any' ] )</code>
</UndefinedFunction>
<UndefinedMethod occurrences="1">
<code>$intent</code>
</UndefinedMethod>
<InvalidNullableReturnType occurrences="1">
<code>string|array|int|bool</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$this->get_deposit_schedule_monthly_anchor()</code>
</NullableReturnStatement>
</file>
<file src="includes/class-wc-payments-woopay-button-handler.php">
<UndefinedClass occurrences="3">
<code>WC_Pre_Orders_Product</code>
</UndefinedClass>
</file>
<file src="includes/express-checkout/class-wc-payments-express-checkout-button-handler.php">
<UndefinedClass occurrences="1">
<code>WC_Subscriptions_Cart</code>
</UndefinedClass>
</file>
<file src="includes/express-checkout/class-wc-payments-express-checkout-button-helper.php">
<UndefinedClass occurrences="1">
<code>WC_Deposits_Order_Manager</code>
</UndefinedClass>
</file>
<file src="includes/class-wc-payments.php">
<UndefinedClass occurrences="1">
<code>WC_Subscriptions_Product</code>
</UndefinedClass>
</file>
<file src="includes/multi-currency/Compatibility/WooCommerceProductAddOns.php">
<UndefinedClass occurrences="2">
<code>\WC_Product_Addons_Helper</code>
<code>\WC_Product_Addons_Helper</code>
</UndefinedClass>
</file>
<file src="includes/multi-currency/Compatibility/WooCommerceNameYourPrice.php">
<UndefinedClass occurrences="2">
<code>\WC_Name_Your_Price_Helpers</code>
<code>\WC_Name_Your_Price_Helpers</code>
</UndefinedClass>
<UndefinedFunction occurrences="1">
<code>WC_Name_Your_Price()</code>
</UndefinedFunction>
</file>
<file src="includes/wc-payment-api/class-wc-payments-http.php">
<InvalidReturnStatement occurrences="1">
<code>Automattic\Jetpack\Connection\Client::wpcom_json_api_request_as_user( $path, $version, $args, $body, $base_api_path )</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array|\WP_Error</code>
</InvalidReturnType>
<UndefinedDocblockClass occurrences="4">
<code>$response</code>
<code>$this->connection_manager->is_active()</code>
<code>Automattic\Jetpack\Connection\Client::remote_request( $args, $body )</code>
<code>Automattic\Jetpack\Connection\Client::wpcom_json_api_request_as_user( $path, $version, $args, $body, $base_api_path )</code>
</UndefinedDocblockClass>
</file>
<file src="woocommerce-payments.php">
<UndefinedClass occurrences="1">
<code>WC_Subscriptions_Core_Plugin</code>
</UndefinedClass>
</file>
<file src="includes/class-wc-payments-tasks.php">
<UndefinedDocblockClass occurrences="1">
<code>TaskLists::add_task( 'extended', new WC_Payments_Task_Disputes() )</code>
</UndefinedDocblockClass>
<InvalidArgument occurrences="1">
<code>new WC_Payments_Task_Disputes()</code>
</InvalidArgument>
</file>
<file src="includes/class-wc-payments-utils.php">
<UndefinedClass occurrences="1">
<code>\Automattic\WooCommerce\Utilities\OrderUtil</code>
</UndefinedClass>
</file>
<file src="includes/compat/blocks/class-blocks-data-extractor.php">
<UndefinedClass occurrences="1">
<code>CheckoutSchema</code>
</UndefinedClass>
</file>
<file src="includes/admin/class-wc-rest-payments-settings-controller.php">
<MissingDependency occurrences="8">
<code>WC_Payments_Subscriptions::get_stripe_billing_migrator()</code>
<code>$stripe_billing_migrator</code>
<code>$stripe_billing_migrator</code>
<code>$stripe_billing_migrator</code>
<code>WC_Payments_Subscriptions::get_stripe_billing_migrator()</code>
<code>$stripe_billing_migrator</code>
<code>$stripe_billing_migrator</code>
<code>$stripe_billing_migrator</code>
</MissingDependency>
</file>
<file src="includes/admin/class-wc-rest-payments-orders-controller.php">
<UndefinedFunction occurrences="3">
<code>wcs_get_subscriptions_for_order( $order )</code>
<code>wcs_is_manual_renewal_required()</code>
<code>wcs_order_contains_subscription( $order_id )</code>
</UndefinedFunction>
</file>
</files>