feat: G1/SP1 самозапись клиента с подтверждением почты 6-значным кодом

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Дмитрий
2026-06-18 19:33:33 +03:00
parent ae0a4174ea
commit 53fb7b7760
53 changed files with 3476 additions and 1119 deletions
@@ -26,7 +26,7 @@ use App\Services\DaData\DaDataPhoneResponse;
class FakeDaDataPhoneClient extends DaDataPhoneClient
{
/**
* @var array<string, DaDataPhoneResponse|null> phone => response (null = throw DaDataException)
* @var array<string, DaDataPhoneResponse|null> phone => response (null = throw DaDataException)
*/
private array $stubs = [];
@@ -56,10 +56,10 @@ class FakeDaDataPhoneClient extends DaDataPhoneClient
city: null,
timezone: null,
raw: [
'qc' => $qc,
'qc' => $qc,
'provider' => $provider,
'region' => $region,
'phone' => $phone,
'region' => $region,
'phone' => $phone,
],
);
@@ -80,7 +80,7 @@ class FakeDaDataPhoneClient extends DaDataPhoneClient
/**
* Возвращает заранее зарегистрированный ответ или бросает DaDataException.
*
* @throws DaDataException Если стаб не зарегистрирован или зарегистрирован как throw.
* @throws DaDataException Если стаб не зарегистрирован или зарегистрирован как throw.
*/
public function cleanPhone(string $phone): DaDataPhoneResponse
{