From 4ee43539063ca93e6d7091acb425f8ae1009bc69 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Wed, 26 Jun 2024 11:34:59 +0200 Subject: [PATCH] Drupal 10 compability tweaks --- .../src/Drush/Commands/DigitalPostTestCommands.php | 2 +- .../src/Helper/CertificateLocatorHelper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/os2forms_digital_post/src/Drush/Commands/DigitalPostTestCommands.php b/modules/os2forms_digital_post/src/Drush/Commands/DigitalPostTestCommands.php index 8db7f4f1..248452a3 100644 --- a/modules/os2forms_digital_post/src/Drush/Commands/DigitalPostTestCommands.php +++ b/modules/os2forms_digital_post/src/Drush/Commands/DigitalPostTestCommands.php @@ -2,7 +2,7 @@ namespace Drupal\os2forms_digital_post\Drush\Commands; -use Drupal\Core\Serialization\Yaml; +use Drupal\Component\Serialization\Yaml; use Drupal\Core\Utility\Token; use Drupal\entity_print\Plugin\EntityPrintPluginManagerInterface; use Drupal\os2forms_digital_post\Helper\DigitalPostHelper; diff --git a/modules/os2forms_digital_post/src/Helper/CertificateLocatorHelper.php b/modules/os2forms_digital_post/src/Helper/CertificateLocatorHelper.php index 7c4d4117..10e6ac57 100644 --- a/modules/os2forms_digital_post/src/Helper/CertificateLocatorHelper.php +++ b/modules/os2forms_digital_post/src/Helper/CertificateLocatorHelper.php @@ -4,7 +4,7 @@ use Drupal\os2forms_digital_post\Exception\CertificateLocatorException; use GuzzleHttp\Client; -use Http\Adapter\Guzzle6\Client as GuzzleAdapter; +use Http\Adapter\Guzzle7\Client as GuzzleAdapter; use Http\Factory\Guzzle\RequestFactory; use ItkDev\AzureKeyVault\Authorisation\VaultToken; use ItkDev\AzureKeyVault\KeyVault\VaultSecret;