From a372e267ab530aa203506fdb3a6f08ca7b4c3f63 Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Mon, 12 Feb 2024 17:15:36 +0200 Subject: [PATCH 01/10] Change namespace from Public to Sdk --- omnisend/includes/Internal/V1/class-client.php | 6 +++--- omnisend/includes/{Public => Sdk}/V1/class-client.php | 2 +- omnisend/includes/{Public => Sdk}/V1/class-contact.php | 2 +- omnisend/includes/{Public => Sdk}/V1/class-omnisend.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename omnisend/includes/{Public => Sdk}/V1/class-client.php (94%) rename omnisend/includes/{Public => Sdk}/V1/class-contact.php (99%) rename omnisend/includes/{Public => Sdk}/V1/class-omnisend.php (96%) diff --git a/omnisend/includes/Internal/V1/class-client.php b/omnisend/includes/Internal/V1/class-client.php index 4f70bbf..74c7591 100644 --- a/omnisend/includes/Internal/V1/class-client.php +++ b/omnisend/includes/Internal/V1/class-client.php @@ -7,12 +7,12 @@ namespace Omnisend\Internal\V1; -use Omnisend\Public\V1\Contact; +use Omnisend\Sdk\V1\Contact; use WP_Error; defined( 'ABSPATH' ) || die( 'no direct access' ); -class Client implements \Omnisend\Public\V1\Client { +class Client implements \Omnisend\Sdk\V1\Client { private string $api_key; private string $plugin_name; @@ -36,7 +36,7 @@ public function create_contact( $contact ): mixed { if ( $contact instanceof Contact ) { $error->merge_from( $contact->validate() ); } else { - $error->add( 'contact', 'Contact is not instance of Omnisend\Public\V1\Contact.' ); + $error->add( 'contact', 'Contact is not instance of Omnisend\Sdk\V1\Contact.' ); } $error->merge_from( $this->check_setup() ); diff --git a/omnisend/includes/Public/V1/class-client.php b/omnisend/includes/Sdk/V1/class-client.php similarity index 94% rename from omnisend/includes/Public/V1/class-client.php rename to omnisend/includes/Sdk/V1/class-client.php index 411d841..c13f7bb 100644 --- a/omnisend/includes/Public/V1/class-client.php +++ b/omnisend/includes/Sdk/V1/class-client.php @@ -5,7 +5,7 @@ * @package OmnisendClient */ -namespace Omnisend\Public\V1; +namespace Omnisend\Sdk\V1; use WP_Error; diff --git a/omnisend/includes/Public/V1/class-contact.php b/omnisend/includes/Sdk/V1/class-contact.php similarity index 99% rename from omnisend/includes/Public/V1/class-contact.php rename to omnisend/includes/Sdk/V1/class-contact.php index bb69b7e..04f2dd9 100644 --- a/omnisend/includes/Public/V1/class-contact.php +++ b/omnisend/includes/Sdk/V1/class-contact.php @@ -5,7 +5,7 @@ * @package OmnisendClient */ -namespace Omnisend\Public\V1; +namespace Omnisend\Sdk\V1; use Omnisend\Internal\Utils; use WP_Error; diff --git a/omnisend/includes/Public/V1/class-omnisend.php b/omnisend/includes/Sdk/V1/class-omnisend.php similarity index 96% rename from omnisend/includes/Public/V1/class-omnisend.php rename to omnisend/includes/Sdk/V1/class-omnisend.php index 148e070..d4b3ea9 100644 --- a/omnisend/includes/Public/V1/class-omnisend.php +++ b/omnisend/includes/Sdk/V1/class-omnisend.php @@ -5,7 +5,7 @@ * @package OmnisendClient */ -namespace Omnisend\Public\V1; +namespace Omnisend\Sdk\V1; use Omnisend\Internal\Options; From 0cbbe0f4d530672ce9989be7c334f05ca848cdcb Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Mon, 12 Feb 2024 17:47:11 +0200 Subject: [PATCH 02/10] Change client create_contact response type --- .../includes/Internal/V1/class-client.php | 15 ++++---- omnisend/includes/Sdk/V1/class-client.php | 4 +-- .../Sdk/V1/class-createcontactresponse.php | 36 +++++++++++++++++++ 3 files changed, 46 insertions(+), 9 deletions(-) create mode 100644 omnisend/includes/Sdk/V1/class-createcontactresponse.php diff --git a/omnisend/includes/Internal/V1/class-client.php b/omnisend/includes/Internal/V1/class-client.php index 74c7591..e5350a6 100644 --- a/omnisend/includes/Internal/V1/class-client.php +++ b/omnisend/includes/Internal/V1/class-client.php @@ -8,6 +8,7 @@ namespace Omnisend\Internal\V1; use Omnisend\Sdk\V1\Contact; +use Omnisend\Sdk\V1\CreateContactResponse; use WP_Error; defined( 'ABSPATH' ) || die( 'no direct access' ); @@ -30,7 +31,7 @@ public function __construct( string $api_key, string $plugin_name, string $plugi } - public function create_contact( $contact ): mixed { + public function create_contact( $contact ): CreateContactResponse { $error = new WP_Error(); if ( $contact instanceof Contact ) { @@ -42,7 +43,7 @@ public function create_contact( $contact ): mixed { $error->merge_from( $this->check_setup() ); if ( $error->has_errors() ) { - return $error; + return new CreateContactResponse( '', $error ); } $response = wp_remote_post( @@ -61,7 +62,7 @@ public function create_contact( $contact ): mixed { if ( is_wp_error( $response ) ) { error_log('wp_remote_post error: ' . $response->get_error_message()); // phpcs:ignore - return $response; + return new CreateContactResponse( '', $response ); } $http_code = wp_remote_retrieve_response_code( $response ); @@ -69,23 +70,23 @@ public function create_contact( $contact ): mixed { $body = wp_remote_retrieve_body( $response ); $err_msg = "HTTP error: {$http_code} - " . wp_remote_retrieve_response_message( $response ) . " - {$body}"; $error->add( 'omnisend_api', $err_msg ); - return $error; + return new CreateContactResponse( '', $error ); } $body = wp_remote_retrieve_body( $response ); if ( ! $body ) { $error->add( 'omnisend_api', 'empty response' ); - return $error; + return new CreateContactResponse( '', $error ); } $arr = json_decode( $body, true ); if ( empty( $arr['contactID'] ) ) { $error->add( 'omnisend_api', 'contactID not found in response.' ); - return $error; + return new CreateContactResponse( '', $error ); } - return (string) $arr['contactID']; + return new CreateContactResponse( (string) $arr['contactID'], $error ); } /** diff --git a/omnisend/includes/Sdk/V1/class-client.php b/omnisend/includes/Sdk/V1/class-client.php index c13f7bb..28faf00 100644 --- a/omnisend/includes/Sdk/V1/class-client.php +++ b/omnisend/includes/Sdk/V1/class-client.php @@ -22,7 +22,7 @@ interface Client { * * @param Contact $contact * - * @return string|WP_Error Created/updated contact identifier (ID) or WP_Error + * @return CreateContactResponse */ - public function create_contact( $contact ): mixed; + public function create_contact( $contact ): CreateContactResponse; } diff --git a/omnisend/includes/Sdk/V1/class-createcontactresponse.php b/omnisend/includes/Sdk/V1/class-createcontactresponse.php new file mode 100644 index 0000000..026e3ba --- /dev/null +++ b/omnisend/includes/Sdk/V1/class-createcontactresponse.php @@ -0,0 +1,36 @@ +contact_id = $contact_id; + $this->wp_error = $wp_error; + } + + public function get_contact_id(): string { + return $this->contact_id; + } + + public function get_wp_error(): WP_Error { + return $this->wp_error; + } +} From 97569b348c7cba671f70912d9cca28593cb70266 Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Mon, 12 Feb 2024 17:48:58 +0200 Subject: [PATCH 03/10] Update version --- omnisend/class-omnisend-core-bootstrap.php | 8 ++++---- omnisend/readme.txt | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/omnisend/class-omnisend-core-bootstrap.php b/omnisend/class-omnisend-core-bootstrap.php index 44d50ea..c5fbc71 100644 --- a/omnisend/class-omnisend-core-bootstrap.php +++ b/omnisend/class-omnisend-core-bootstrap.php @@ -4,7 +4,7 @@ * * Plugin Name: Omnisend * Description: Omnisend main plugin that enables integration with Omnisend. - * Version: 1.1.4 + * Version: 1.1.5 * Author: Omnisend * Author URI: https://www.omnisend.com * Developer: Omnisend @@ -22,7 +22,7 @@ defined( 'ABSPATH' ) || die( 'no direct access' ); -const OMNISEND_CORE_PLUGIN_VERSION = '1.1.4'; +const OMNISEND_CORE_PLUGIN_VERSION = '1.1.5'; const OMNISEND_CORE_SETTINGS_PAGE = 'omnisend'; const OMNISEND_CORE_PLUGIN_NAME = 'Email Marketing by Omnisend'; @@ -71,13 +71,13 @@ public static function load_omnisend_admin_styles(): void { 'roboto.css', plugin_dir_url( __FILE__ ) . 'assets/fonts/roboto/roboto.css?' . time(), array(), - '1.1.4', + OMNISEND_CORE_PLUGIN_VERSION, ); wp_enqueue_style( 'styles.css', plugin_dir_url( __FILE__ ) . 'styles/styles.css?' . time(), array(), - '1.1.4', + OMNISEND_CORE_PLUGIN_VERSION, ); } } diff --git a/omnisend/readme.txt b/omnisend/readme.txt index 3f826cb..08a341a 100644 --- a/omnisend/readme.txt +++ b/omnisend/readme.txt @@ -5,7 +5,7 @@ Tags: email marketing, marketing, newsletter, sms, form Requires at least: 4.7.0 Tested up to: 6.4 Requires PHP: 7.1 -Stable tag: 1.1.4 +Stable tag: 1.1.5 License: GPLv3 or later URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -54,6 +54,10 @@ Read Omnisend [Terms of Use](https://www.omnisend.com/terms) == Changelog == += 1.1.5 = + +* Improve Sdk client + = 1.1.4 = * Improve connection messages From 14915f07cf50dc558f0246271a1f065af589e2e8 Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Mon, 12 Feb 2024 18:06:52 +0200 Subject: [PATCH 04/10] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index db29aa9..ddce337 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ You can find function references in the [client folder](https://github.com/omnis Before using Omnisend Client you need to ensure the following conditions: * Omnisend Plugin is installed `is_plugin_active( 'omnisend/class-omnisend-core-bootstrap.php' )` -* Omnisend Plugin is up to date `class_exists( 'Omnisend\Public\V1\Omnisend' )` -* Omnisend is connected to the WordPress `Omnisend\Public\V1\Omnisend::is_connected()` +* Omnisend Plugin is up to date `class_exists( 'Omnisend\Sdk\V1\Omnisend' )` +* Omnisend is connected to account `Omnisend\Sdk\V1\Omnisend::is_connected()` If any of these conditions are false you should ask to resolve them. @@ -36,7 +36,7 @@ To send contact to the Omnisend you need to provide your integration name & vers This is done by getting an actual client -` $client = \Omnisend\Public\V1\Omnisend::get_client( 'integration name', 'integration version' );` +` $client = \Omnisend\Sdk\V1\Omnisend::get_client( 'integration name', 'integration version' );` 'integration name' - should be your integration name 'integration version' - should be your integration version @@ -64,7 +64,7 @@ Here is how you can create a basic client & submit contact. $contact->set_email_opt_in( 'where user opted to become subscriber' ); } - $client = \Omnisend\Public\V1\Omnisend::get_client( 'integration name', 'integration version' ); + $client = \Omnisend\Sdk\V1\Omnisend::get_client( 'integration name', 'integration version' ); $response = $client->create_contact( $contact ); ``` @@ -74,15 +74,15 @@ Here is how you can create a basic client & submit contact. If data provided is invalid or creation fails, then ```php -$client->create_contact($contact) +$response = $client->create_contact($contact) ``` -Will return `errors` in `WP_Error`. Depending on your integration logic you should handle the error i.e +Will return `CreateContactResponse`. Depending on your integration logic you may handle the error i.e ```php - if ( is_wp_error( $response ) ) { - error_log( 'Error in after_submission: ' . $response->get_error_message()); - return; + if ( $response->get_wp_error()->has_errors() ) { + error_log( 'Error in after_submission: ' . $response->get_wp_error()->get_error_message()); + return; } ``` From 4554b53c22b3df5fde3036f9a3df6b291bfb5a0c Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Tue, 13 Feb 2024 09:00:27 +0200 Subject: [PATCH 05/10] Update version --- omnisend/class-omnisend-core-bootstrap.php | 4 ++-- omnisend/readme.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/omnisend/class-omnisend-core-bootstrap.php b/omnisend/class-omnisend-core-bootstrap.php index c5fbc71..eb97a4e 100644 --- a/omnisend/class-omnisend-core-bootstrap.php +++ b/omnisend/class-omnisend-core-bootstrap.php @@ -4,7 +4,7 @@ * * Plugin Name: Omnisend * Description: Omnisend main plugin that enables integration with Omnisend. - * Version: 1.1.5 + * Version: 1.2.0 * Author: Omnisend * Author URI: https://www.omnisend.com * Developer: Omnisend @@ -22,7 +22,7 @@ defined( 'ABSPATH' ) || die( 'no direct access' ); -const OMNISEND_CORE_PLUGIN_VERSION = '1.1.5'; +const OMNISEND_CORE_PLUGIN_VERSION = '1.2.0'; const OMNISEND_CORE_SETTINGS_PAGE = 'omnisend'; const OMNISEND_CORE_PLUGIN_NAME = 'Email Marketing by Omnisend'; diff --git a/omnisend/readme.txt b/omnisend/readme.txt index 08a341a..e47836a 100644 --- a/omnisend/readme.txt +++ b/omnisend/readme.txt @@ -5,7 +5,7 @@ Tags: email marketing, marketing, newsletter, sms, form Requires at least: 4.7.0 Tested up to: 6.4 Requires PHP: 7.1 -Stable tag: 1.1.5 +Stable tag: 1.2.0 License: GPLv3 or later URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -54,7 +54,7 @@ Read Omnisend [Terms of Use](https://www.omnisend.com/terms) == Changelog == -= 1.1.5 = += 1.2.0 = * Improve Sdk client From e378abd65b55c99d6ff8751dc9debdff665f89c4 Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Tue, 13 Feb 2024 09:25:22 +0200 Subject: [PATCH 06/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ddce337..fd7e144 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ If data provided is invalid or creation fails, then $response = $client->create_contact($contact) ``` -Will return `CreateContactResponse`. Depending on your integration logic you may handle the error i.e +Will return `CreateContactResponse`. Depending on your integration logic you should handle the error i.e ```php if ( $response->get_wp_error()->has_errors() ) { From 5bd79cd5e0dd87ff6765b3a3b2c77dd413177744 Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Tue, 13 Feb 2024 09:36:45 +0200 Subject: [PATCH 07/10] Change namespace --- omnisend/includes/Internal/V1/class-client.php | 8 ++++---- omnisend/includes/{Sdk => SDK}/V1/class-client.php | 2 +- omnisend/includes/{Sdk => SDK}/V1/class-contact.php | 2 +- .../{Sdk => SDK}/V1/class-createcontactresponse.php | 2 +- omnisend/includes/{Sdk => SDK}/V1/class-omnisend.php | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename omnisend/includes/{Sdk => SDK}/V1/class-client.php (94%) rename omnisend/includes/{Sdk => SDK}/V1/class-contact.php (99%) rename omnisend/includes/{Sdk => SDK}/V1/class-createcontactresponse.php (95%) rename omnisend/includes/{Sdk => SDK}/V1/class-omnisend.php (96%) diff --git a/omnisend/includes/Internal/V1/class-client.php b/omnisend/includes/Internal/V1/class-client.php index e5350a6..a3b9833 100644 --- a/omnisend/includes/Internal/V1/class-client.php +++ b/omnisend/includes/Internal/V1/class-client.php @@ -7,13 +7,13 @@ namespace Omnisend\Internal\V1; -use Omnisend\Sdk\V1\Contact; -use Omnisend\Sdk\V1\CreateContactResponse; +use Omnisend\SDK\V1\Contact; +use Omnisend\SDK\V1\CreateContactResponse; use WP_Error; defined( 'ABSPATH' ) || die( 'no direct access' ); -class Client implements \Omnisend\Sdk\V1\Client { +class Client implements \Omnisend\SDK\V1\Client { private string $api_key; private string $plugin_name; @@ -37,7 +37,7 @@ public function create_contact( $contact ): CreateContactResponse { if ( $contact instanceof Contact ) { $error->merge_from( $contact->validate() ); } else { - $error->add( 'contact', 'Contact is not instance of Omnisend\Sdk\V1\Contact.' ); + $error->add( 'contact', 'Contact is not instance of Omnisend\SDK\V1\Contact.' ); } $error->merge_from( $this->check_setup() ); diff --git a/omnisend/includes/Sdk/V1/class-client.php b/omnisend/includes/SDK/V1/class-client.php similarity index 94% rename from omnisend/includes/Sdk/V1/class-client.php rename to omnisend/includes/SDK/V1/class-client.php index 28faf00..9a0cd88 100644 --- a/omnisend/includes/Sdk/V1/class-client.php +++ b/omnisend/includes/SDK/V1/class-client.php @@ -5,7 +5,7 @@ * @package OmnisendClient */ -namespace Omnisend\Sdk\V1; +namespace Omnisend\SDK\V1; use WP_Error; diff --git a/omnisend/includes/Sdk/V1/class-contact.php b/omnisend/includes/SDK/V1/class-contact.php similarity index 99% rename from omnisend/includes/Sdk/V1/class-contact.php rename to omnisend/includes/SDK/V1/class-contact.php index 04f2dd9..1e6d4aa 100644 --- a/omnisend/includes/Sdk/V1/class-contact.php +++ b/omnisend/includes/SDK/V1/class-contact.php @@ -5,7 +5,7 @@ * @package OmnisendClient */ -namespace Omnisend\Sdk\V1; +namespace Omnisend\SDK\V1; use Omnisend\Internal\Utils; use WP_Error; diff --git a/omnisend/includes/Sdk/V1/class-createcontactresponse.php b/omnisend/includes/SDK/V1/class-createcontactresponse.php similarity index 95% rename from omnisend/includes/Sdk/V1/class-createcontactresponse.php rename to omnisend/includes/SDK/V1/class-createcontactresponse.php index 026e3ba..e61a332 100644 --- a/omnisend/includes/Sdk/V1/class-createcontactresponse.php +++ b/omnisend/includes/SDK/V1/class-createcontactresponse.php @@ -5,7 +5,7 @@ * @package OmnisendClient */ -namespace Omnisend\Sdk\V1; +namespace Omnisend\SDK\V1; use WP_Error; diff --git a/omnisend/includes/Sdk/V1/class-omnisend.php b/omnisend/includes/SDK/V1/class-omnisend.php similarity index 96% rename from omnisend/includes/Sdk/V1/class-omnisend.php rename to omnisend/includes/SDK/V1/class-omnisend.php index d4b3ea9..8f04b78 100644 --- a/omnisend/includes/Sdk/V1/class-omnisend.php +++ b/omnisend/includes/SDK/V1/class-omnisend.php @@ -5,7 +5,7 @@ * @package OmnisendClient */ -namespace Omnisend\Sdk\V1; +namespace Omnisend\SDK\V1; use Omnisend\Internal\Options; From d17b06c122b5db76871c4ef4e54de23c33aa0673 Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Tue, 13 Feb 2024 10:47:41 +0200 Subject: [PATCH 08/10] Fix bug --- composer.json | 3 ++- omnisend/includes/Internal/class-connection.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 052bd72..d0ec318 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,8 @@ "license": "proprietary", "config": { "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true + "dealerdirect/phpcodesniffer-composer-installer": true, + "johnpbloch/wordpress-core-installer": true } }, "require-dev": { diff --git a/omnisend/includes/Internal/class-connection.php b/omnisend/includes/Internal/class-connection.php index 35641eb..0e43b4c 100644 --- a/omnisend/includes/Internal/class-connection.php +++ b/omnisend/includes/Internal/class-connection.php @@ -30,7 +30,7 @@ public static function display(): void { return; } - if ( $response['verified'] === true && $response['platform'] !== wordpress_platform ) { + if ( $response['verified'] === true && $response['platform'] !== $wordpress_platform ) { echo '

This Omnisend account is already connected to non-WordPress site. Log in to access it. Contact our support if you have other issues.

'; require_once __DIR__ . '/../../view/connection-form.html'; @@ -38,7 +38,7 @@ public static function display(): void { } $connected = false; - if ( $response['platform'] === wordpress_platform ) { + if ( $response['platform'] === $wordpress_platform ) { $connected = true; } From 00b05559f284b6104f879e156417cf4d99b03e02 Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Tue, 13 Feb 2024 11:28:12 +0200 Subject: [PATCH 09/10] Update readme --- README.md | 8 ++++---- omnisend/readme.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fd7e144..49e6a76 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ You can find function references in the [client folder](https://github.com/omnis Before using Omnisend Client you need to ensure the following conditions: * Omnisend Plugin is installed `is_plugin_active( 'omnisend/class-omnisend-core-bootstrap.php' )` -* Omnisend Plugin is up to date `class_exists( 'Omnisend\Sdk\V1\Omnisend' )` -* Omnisend is connected to account `Omnisend\Sdk\V1\Omnisend::is_connected()` +* Omnisend Plugin is up to date `class_exists( 'Omnisend\SDK\V1\Omnisend' )` +* Omnisend is connected to account `Omnisend\SDK\V1\Omnisend::is_connected()` If any of these conditions are false you should ask to resolve them. @@ -36,7 +36,7 @@ To send contact to the Omnisend you need to provide your integration name & vers This is done by getting an actual client -` $client = \Omnisend\Sdk\V1\Omnisend::get_client( 'integration name', 'integration version' );` +` $client = \Omnisend\SDK\V1\Omnisend::get_client( 'integration name', 'integration version' );` 'integration name' - should be your integration name 'integration version' - should be your integration version @@ -64,7 +64,7 @@ Here is how you can create a basic client & submit contact. $contact->set_email_opt_in( 'where user opted to become subscriber' ); } - $client = \Omnisend\Sdk\V1\Omnisend::get_client( 'integration name', 'integration version' ); + $client = \Omnisend\SDK\V1\Omnisend::get_client( 'integration name', 'integration version' ); $response = $client->create_contact( $contact ); ``` diff --git a/omnisend/readme.txt b/omnisend/readme.txt index e47836a..41e59b4 100644 --- a/omnisend/readme.txt +++ b/omnisend/readme.txt @@ -56,7 +56,7 @@ Read Omnisend [Terms of Use](https://www.omnisend.com/terms) = 1.2.0 = -* Improve Sdk client +* Improve SDK client = 1.1.4 = From 71758586bfd084c1b8804be3e29ab3c58b18a5a9 Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Tue, 13 Feb 2024 11:30:05 +0200 Subject: [PATCH 10/10] Update composer --- composer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index d0ec318..052bd72 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,7 @@ "license": "proprietary", "config": { "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true, - "johnpbloch/wordpress-core-installer": true + "dealerdirect/phpcodesniffer-composer-installer": true } }, "require-dev": {