Skip to content

Commit de7f429

Browse files
Version 5.10.3
2 parents f052b09 + b926276 commit de7f429

File tree

135 files changed

+333
-330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+333
-330
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "skyverge/wc-plugin-framework",
33
"description": "The official SkyVerge WooCommerce plugin framework",
4-
"version": "5.10.2",
4+
"version": "5.10.3",
55
"require-dev": {
66
"lucatume/wp-browser": "2.4.6",
77
"phpcompatibility/php-compatibility": "9.3.5",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wc-plugin-framework",
3-
"version": "5.10.2",
3+
"version": "5.10.3",
44
"title": "WooCommerce Plugin Framework",
55
"author": "SkyVerge Team",
66
"homepage": "https://github.com/skyverge/wc-plugin-framework#readme",

tests/_archive/unit/Addresses/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit\Addresses;
44

55
use SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_10_2 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_3 as PluginFramework;
77

88
/**
99
* Unit tests for PluginFramework\Addresses\Address

tests/_archive/unit/Addresses/Customer_Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit\Addresses;
44

55
use SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_10_2 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_3 as PluginFramework;
77

88
/**
99
* Unit tests for PluginFramework\Addresses\Address

tests/_archive/unit/helper.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use \WP_Mock as Mock;
66
use \Patchwork as p;
7-
use \SkyVerge\WooCommerce\PluginFramework\v5_10_2 as PluginFramework;
7+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_3 as PluginFramework;
88

99
/**
1010
* Helper Class Unit Tests
@@ -31,7 +31,7 @@ class Helper extends Test_Case {
3131
public function test_str_starts_with_ascii( $asserts_as_true, $haystack, $needle ) {
3232

3333
// force ASCII handling
34-
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_2\SV_WC_Helper::multibyte_loaded', function() { return false; } );
34+
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_3\SV_WC_Helper::multibyte_loaded', function() { return false; } );
3535

3636
if ( $asserts_as_true ) {
3737
$this->assertTrue( PluginFramework\SV_WC_Helper::str_starts_with( $haystack, $needle ) );
@@ -116,7 +116,7 @@ public function provider_str_starts_with_mb() {
116116
public function test_str_ends_with_ascii( $asserts_as_true, $haystack, $needle ) {
117117

118118
// force ASCII handling
119-
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_2\SV_WC_Helper::multibyte_loaded', function() { return false; } );
119+
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_3\SV_WC_Helper::multibyte_loaded', function() { return false; } );
120120

121121
if ( $asserts_as_true ) {
122122
$this->assertTrue( PluginFramework\SV_WC_Helper::str_ends_with( $haystack, $needle ) );
@@ -265,7 +265,7 @@ public function provider_test_str_to_sane_utf8() {
265265
public function test_str_exists_ascii( $asserts_as_true, $haystack, $needle ) {
266266

267267
// force ASCII handling
268-
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_2\SV_WC_Helper::multibyte_loaded', function() { return false; } );
268+
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_3\SV_WC_Helper::multibyte_loaded', function() { return false; } );
269269

270270
if ( $asserts_as_true ) {
271271
$this->assertTrue( PluginFramework\SV_WC_Helper::str_exists( $haystack, $needle ) );
@@ -346,7 +346,7 @@ public function provider_str_exists_mb() {
346346
public function test_str_truncate_ascii() {
347347

348348
// force ASCII handling
349-
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_2\SV_WC_Helper::multibyte_loaded', function() { return false; } );
349+
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_3\SV_WC_Helper::multibyte_loaded', function() { return false; } );
350350

351351
$the_string = 'The quick brown fox jumps ಠ_ಠ';
352352

tests/_archive/unit/payment-gateway-api-response-message-helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
44

55
use \WP_Mock as Mock;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_10_2 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_3 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_API_Response_Message_Helper

tests/_archive/unit/payment-gateway-helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
44

55
use \WP_Mock as Mock;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_10_2 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_3 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Helper

tests/_archive/unit/payment-gateway-payment-token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
44

55
use \WP_Mock as Mock;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_10_2 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_3 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Payment_Token

tests/_archive/unit/payment-gateway/apple-pay-api-request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
44

55
use \WP_Mock as Mock;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_10_2 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_3 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Apple_Pay_API_Request
@@ -21,7 +21,7 @@ class Payment_Gateway_Apple_Pay_API_Request extends Test_Case {
2121
*/
2222
public function test_set_merchant_data( $merchant_id, $domain_name, $display_name, $expected ) {
2323

24-
$gateway = $this->getMockBuilder( '\SkyVerge\WooCommerce\PluginFramework\v5_10_2\SV_WC_Payment_Gateway' )->getMock();
24+
$gateway = $this->getMockBuilder( '\SkyVerge\WooCommerce\PluginFramework\v5_10_3\SV_WC_Payment_Gateway' )->getMock();
2525

2626
$request = new PluginFramework\SV_WC_Payment_Gateway_Apple_Pay_API_Request( $gateway );
2727

tests/_archive/unit/payment-gateway/apple-pay-api-response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
44

55
use \WP_Mock as Mock;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_10_2 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_3 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Apple_Pay_API_Response

0 commit comments

Comments
 (0)