Skip to content

Commit

Permalink
SDK-2438 updated libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet-yoti committed Aug 18, 2024
1 parent c8d0316 commit 90fa379
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"homepage": "https://yoti.com",
"license": "MIT",
"require": {
"php": "^7.1 || ^8.0 || ^8.1",
"php": "^7.4 || ^8.0 || ^8.1",
"yoti/yoti-php-sdk": "^4.2"
},
"require-dev": {
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.3",
"squizlabs/php_codesniffer": "^3.4",
"friendsofphp/php-cs-fixer": "^3.4",
"friendsofphp/php-cs-fixer": "3.62.0",
"brainmaestro/composer-git-hooks": "^2.8",
"phpstan/phpstan-strict-rules": "^0.12.1",
"phpstan/extension-installer": "^1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/Aml/SandboxProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class SandboxProfile implements \JsonSerializable
/**
* Full address.
*
* @var \Yoti\Sandbox\Aml\Address
* @var \Yoti\Sandbox\Aml\SandboxAddress
*/
private $amlAddress;

Expand All @@ -47,7 +47,7 @@ class SandboxProfile implements \JsonSerializable
*
* @param string $givenNames
* @param string $familyName
* @param \Yoti\Aml\Address $amlAddress
* @param \Yoti\Sandbox\Aml\SandboxAddress $amlAddress
* @param null|string $ssn
*/
public function __construct($givenNames, $familyName, SandboxAddress $amlAddress, string $ssn = null)
Expand Down
3 changes: 2 additions & 1 deletion src/Aml/SandboxResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ public static function checkAttributes(array $result, ResponseInterface $respons

// Throw an error if any expected attribute is missing.
if (count($missingAttr) > 0) {
throw new SandboxAmlException('Missing attributes from the result: ' . implode(',', $missingAttr), $response);
throw new SandboxAmlException('Missing attributes from the result: '
. implode(',', $missingAttr), $response);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Aml/SandboxService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use Psr\Http\Message\ResponseInterface;
use Yoti\Constants;
use Yoti\Sandbox\Exception\SandboxAmlException;
use Yoti\Http\Payload;
use Yoti\Http\RequestBuilder;
use Yoti\Sandbox\Exception\SandboxAmlException;
use Yoti\Util\Config;
use Yoti\Util\Json;
use Yoti\Util\PemFile;
Expand Down

0 comments on commit 90fa379

Please sign in to comment.