Skip to content

Commit 703c863

Browse files
committed
Remove dev versioning
1 parent a62a147 commit 703c863

17 files changed

+152
-152
lines changed

woocommerce/class-sv-wc-plugin-compatibility.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public static function product_get_id( WC_Product $product ) {
124124
/**
125125
* Backports wc_shipping_enabled() to < 2.6.0
126126
*
127-
* @since 4.7.0-dev
127+
* @since 4.7.0
128128
* @return bool
129129
*/
130130
public static function wc_shipping_enabled() {

woocommerce/compatibility/class-sv-wc-order-compatibility.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public static function add_fee( WC_Order $order, $fee ) {
284284
/**
285285
* Order item CRUD compatibility method to add a shipping line to an order.
286286
*
287-
* @since 4.7.0-dev
287+
* @since 4.7.0
288288
*
289289
* @param \WC_Order $order order object
290290
* @param \WC_Shipping_Rate $shipping_rate shipping rate to add
@@ -324,7 +324,7 @@ public static function add_shipping( WC_Order $order, $shipping_rate ) {
324324
/**
325325
* Order item CRUD compatibility method to add a tax line to an order.
326326
*
327-
* @since 4.7.0-dev
327+
* @since 4.7.0
328328
*
329329
* @param \WC_Order $order order object
330330
* @param int $tax_rate_id tax rate ID

woocommerce/payment-gateway/apple-pay/api/class-sv-wc-payment-gateway-apple-pay-api-request.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* The Apple Pay API request object.
3131
*
32-
* @since 4.7.0-dev
32+
* @since 4.7.0
3333
*/
3434
class SV_WC_Payment_Gateway_Apple_Pay_API_Request extends SV_WC_API_JSON_Request {
3535

@@ -41,7 +41,7 @@ class SV_WC_Payment_Gateway_Apple_Pay_API_Request extends SV_WC_API_JSON_Request
4141
/**
4242
* Constructs the request.
4343
*
44-
* @since 4.7.0-dev
44+
* @since 4.7.0
4545
*
4646
* @param \SV_WC_Payment_Gateway $gateway the gateway instance
4747
*/
@@ -54,7 +54,7 @@ public function __construct( SV_WC_Payment_Gateway $gateway ) {
5454
/**
5555
* Sets the data for merchant validation.
5656
*
57-
* @since 4.7.0-dev
57+
* @since 4.7.0
5858
*
5959
* @param string $merchant_id the merchant ID to validate
6060
* @param string $domain_name the verified domain name
@@ -71,7 +71,7 @@ public function set_merchant_data( $merchant_id, $domain_name, $display_name ) {
7171
/**
7272
* Filters the data for merchant validation.
7373
*
74-
* @since 4.7.0-dev
74+
* @since 4.7.0
7575
*
7676
* @param array $data {
7777
* The merchant data.
@@ -90,7 +90,7 @@ public function set_merchant_data( $merchant_id, $domain_name, $display_name ) {
9090
* Get the string representation of this response with any and all sensitive
9191
* elements masked or removed.
9292
*
93-
* @since 4.7.0-dev
93+
* @since 4.7.0
9494
* @see SV_WC_API_Response::to_string_safe()
9595
*
9696
* @return string

woocommerce/payment-gateway/apple-pay/api/class-sv-wc-payment-gateway-apple-pay-api-response.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
/**
3030
* The Apple Pay API response object.
3131
*
32-
* @since 4.7.0-dev
32+
* @since 4.7.0
3333
*/
3434
class SV_WC_Payment_Gateway_Apple_Pay_API_Response extends SV_WC_API_JSON_Response {
3535

3636

3737
/**
3838
* Gets the status code.
3939
*
40-
* @since 4.7.0-dev
40+
* @since 4.7.0
4141
*
4242
* @return string
4343
*/
@@ -50,7 +50,7 @@ public function get_status_code() {
5050
/**
5151
* Gets the status message.
5252
*
53-
* @since 4.7.0-dev
53+
* @since 4.7.0
5454
*
5555
* @return string
5656
*/
@@ -63,7 +63,7 @@ public function get_status_message() {
6363
/**
6464
* Gets the validated merchant session.
6565
*
66-
* @since 4.7.0-dev
66+
* @since 4.7.0
6767
*
6868
* @return array
6969
*/
@@ -81,7 +81,7 @@ public function get_merchant_session() {
8181
* masked, but they don't provide any useful info and only make the debug
8282
* logs unnecessarily huge.
8383
*
84-
* @since 4.7.0-dev
84+
* @since 4.7.0
8585
* @see SV_WC_API_Response::to_string_safe()
8686
*
8787
* @return string

woocommerce/payment-gateway/apple-pay/api/class-sv-wc-payment-gateway-apple-pay-api.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Sets up the Apple Pay API.
3131
*
32-
* @since 4.7.0-dev
32+
* @since 4.7.0
3333
*/
3434
class SV_WC_Payment_Gateway_Apple_Pay_API extends SV_WC_API_Base {
3535

@@ -41,7 +41,7 @@ class SV_WC_Payment_Gateway_Apple_Pay_API extends SV_WC_API_Base {
4141
/**
4242
* Constructs the class.
4343
*
44-
* @since 4.7.0-dev
44+
* @since 4.7.0
4545
*
4646
* @param \SV_WC_Payment_Gateway the gateway instance
4747
*/
@@ -61,7 +61,7 @@ public function __construct( SV_WC_Payment_Gateway $gateway ) {
6161
/**
6262
* Validates the Apple Pay merchant.
6363
*
64-
* @since 4.7.0-dev
64+
* @since 4.7.0
6565
*
6666
* @param string $url the validation URL
6767
* @param string $merchant_id the merchant ID to validate
@@ -86,7 +86,7 @@ public function validate_merchant( $url, $merchant_id, $domain_name, $display_na
8686
/**
8787
* Performs the request and return the parsed response.
8888
*
89-
* @since 4.7.0-dev
89+
* @since 4.7.0
9090
*
9191
* @param \SV_WC_API_Request
9292
* @return \SV_WC_API_Response
@@ -107,7 +107,7 @@ protected function perform_request( $request ) {
107107
*
108108
* @internal
109109
*
110-
* @since 4.7.0-dev
110+
* @since 4.7.0
111111
*
112112
* @param resource $curl_handle
113113
*/
@@ -127,7 +127,7 @@ public function set_cert_file( $curl_handle ) {
127127
/**
128128
* Validates the post-parsed response.
129129
*
130-
* @since 4.7.0-dev
130+
* @since 4.7.0
131131
*
132132
* @return bool
133133
*
@@ -151,7 +151,7 @@ protected function do_post_parse_response_validation() {
151151
/**
152152
* Gets a new request object.
153153
*
154-
* @since 4.7.0-dev
154+
* @since 4.7.0
155155
*
156156
* @param array $type Optional. The desired request type
157157
* @return \SV_WC_Payment_Gateway_Apple_Pay_API_Request the request object
@@ -165,7 +165,7 @@ protected function get_new_request( $type = array() ) {
165165
/**
166166
* Gets the gateway instance.
167167
*
168-
* @since 4.7.0-dev
168+
* @since 4.7.0
169169
*
170170
* @return \SV_WC_Payment_Gateway
171171
*/
@@ -178,7 +178,7 @@ protected function get_gateway() {
178178
/**
179179
* Gets the plugin instance.
180180
*
181-
* @since 4.7.0-dev
181+
* @since 4.7.0
182182
*
183183
* @return \SV_WC_Payment_Gateway_Plugin
184184
*/

woocommerce/payment-gateway/apple-pay/api/class-sv-wc-payment-gateway-apple-pay-payment-response.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
/**
3030
* The Apple Pay payment response object.
3131
*
32-
* @since 4.7.0-dev
32+
* @since 4.7.0
3333
*/
3434
class SV_WC_Payment_Gateway_Apple_Pay_Payment_Response extends SV_WC_API_JSON_Response {
3535

3636

3737
/**
3838
* Gets the authorized payment data.
3939
*
40-
* @since 4.7.0-dev
40+
* @since 4.7.0
4141
*
4242
* @return object
4343
*/
@@ -50,7 +50,7 @@ public function get_payment_data() {
5050
/**
5151
* Gets the authorization transaction ID.
5252
*
53-
* @since 4.7.0-dev
53+
* @since 4.7.0
5454
*
5555
* @return string
5656
*/
@@ -63,7 +63,7 @@ public function get_transaction_id() {
6363
/**
6464
* Gets the authorized card type.
6565
*
66-
* @since 4.7.0-dev
66+
* @since 4.7.0
6767
*
6868
* @return string
6969
*/
@@ -78,7 +78,7 @@ public function get_card_type() {
7878
/**
7979
* Gets the last four digits of the authorized card.
8080
*
81-
* @since 4.7.0-dev
81+
* @since 4.7.0
8282
*
8383
* @return string
8484
*/
@@ -97,7 +97,7 @@ public function get_last_four() {
9797
/**
9898
* Gets the billing address.
9999
*
100-
* @since 4.7.0-dev
100+
* @since 4.7.0
101101
*
102102
* @return array
103103
*/
@@ -124,7 +124,7 @@ public function get_billing_address() {
124124
/**
125125
* Gets the shipping address.
126126
*
127-
* @since 4.7.0-dev
127+
* @since 4.7.0
128128
*
129129
* @return array
130130
*/
@@ -141,7 +141,7 @@ public function get_shipping_address() {
141141
/**
142142
* Prepare an address to WC formatting.
143143
*
144-
* @since 4.7.0-dev
144+
* @since 4.7.0
145145
*
146146
* @param object $contact the address to prepare
147147
* @return array
@@ -177,7 +177,7 @@ protected function prepare_address( $contact ) {
177177
* masked, but they don't provide any useful info and only make the debug
178178
* logs unnecessarily huge.
179179
*
180-
* @since 4.7.0-dev
180+
* @since 4.7.0
181181
*
182182
* @see SV_WC_API_Response::to_string_safe()
183183
* @return string

woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Sets up the Apple Pay settings screen.
3131
*
32-
* @since 4.7.0-dev
32+
* @since 4.7.0
3333
*/
3434
class SV_WC_Payment_Gateway_Apple_Pay_Admin {
3535

@@ -41,7 +41,7 @@ class SV_WC_Payment_Gateway_Apple_Pay_Admin {
4141
/**
4242
* Construct the class.
4343
*
44-
* @since 4.7.0-dev
44+
* @since 4.7.0
4545
*/
4646
public function __construct( $handler ) {
4747

@@ -69,7 +69,7 @@ public function __construct( $handler ) {
6969
*
7070
* @internal
7171
*
72-
* @since 4.7.0-dev
72+
* @since 4.7.0
7373
*
7474
* @param array $sections the existing sections
7575
* @return array
@@ -85,7 +85,7 @@ public function add_settings_section( $sections ) {
8585
/**
8686
* Gets all of the combined settings.
8787
*
88-
* @since 4.7.0-dev
88+
* @since 4.7.0
8989
*
9090
* @return array $settings The combined settings.
9191
*/
@@ -215,7 +215,7 @@ public function get_settings() {
215215
*
216216
* @internal
217217
*
218-
* @since 4.7.0-dev
218+
* @since 4.7.0
219219
*
220220
* @return array
221221
*/
@@ -233,7 +233,7 @@ public function add_settings() {
233233
*
234234
* @internal
235235
*
236-
* @since 4.7.0-dev
236+
* @since 4.7.0
237237
*
238238
* @global string $current_section The current settings section.
239239
*/
@@ -255,7 +255,7 @@ public function save_settings() {
255255
* This "setting" just displays simple text instead of a <select> with only
256256
* one option.
257257
*
258-
* @since 4.7.0-dev
258+
* @since 4.7.0
259259
*
260260
* @param array $setting
261261
*/
@@ -283,7 +283,7 @@ public function render_static_setting( $setting ) {
283283
/**
284284
* Adds admin notices for configuration options that need attention.
285285
*
286-
* @since 4.7.0-dev
286+
* @since 4.7.0
287287
*/
288288
public function add_admin_notices() {
289289

@@ -356,7 +356,7 @@ public function add_admin_notices() {
356356
/**
357357
* Determines if the user is currently on the settings screen.
358358
*
359-
* @since 4.7.0-dev
359+
* @since 4.7.0
360360
*
361361
* @return bool
362362
*/
@@ -369,7 +369,7 @@ protected function is_settings_screen() {
369369
/**
370370
* Gets the available display location options.
371371
*
372-
* @since 4.7.0-dev
372+
* @since 4.7.0
373373
*
374374
* @return array
375375
*/
@@ -386,7 +386,7 @@ protected function get_display_location_options() {
386386
/**
387387
* Gets the available gateway options.
388388
*
389-
* @since 4.7.0-dev
389+
* @since 4.7.0
390390
*
391391
* @return array
392392
*/

0 commit comments

Comments
 (0)