Repository navigation
SDK-2801: PHP - Remove the API for AML check in connect - php - #425
mehmet-yoti wants to merge 2 commits into
Conversation
…oned) Removes all client-side AML check surface: Yoti\Aml\* classes (Address, Country, Profile, Result, Service), Yoti\Exception\AmlException, YotiClient::performAmlCheck(), the aml-check example app, and all related tests and sample data. Bumps version to 4.6.0. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🤖 Claude Code ReviewCode Review FindingsMajor
Four tests that covered $options[Config::API_URL] = $options[Config::API_URL] ?? Env::get(Constants::ENV_API_URL);Scenario: A future change silently breaks env-var or option-override URL resolution for Suggested fix: Add equivalent API-URL tests that drive through Minor
The deleted Nit
// Current
/**
* Asserts that the AML check method has been removed from the public API.
*
* @covers ::__construct ← misleading
*/
public function testPerformAmlCheckMethodDoesNotExist()
// Suggested
/**
* Asserts that the AML check method has been removed from the public API.
*/
public function testPerformAmlCheckMethodDoesNotExist()SummaryThe removal itself is clean — all |
Summary
Removes the AML (Anti-Money-Laundering) check API from the yoti-php-sdk as the underlying endpoint has been decommissioned. This is a breaking change that eliminates the entire `Aml` namespace, the `performAmlCheck()` method on `YotiClient`, and all associated example code. The version has been bumped to 4.6.0 to signal the breaking change.
Changes
QA Test Steps
Setup
Run the full test suite
Verify AML method removal
Verify namespace removal
Verify example removal
Verify key file renames
Regression: Verify unrelated functionality
Notes
Related Jira: SDK-2801
Auto-generated by Claude dynamic workflow