mirror of
https://github.com/anthonyaxenov/atol-online.git
synced 2024-09-27 15:57:27 +00:00
AnthonyAxenov
42d194116f
- класс `PayingAgent`, покрытый тестами - новые константы для тегов ФФД 1.05 `Ffd105Tags` - `Entity::jsonSerialize()` object -> array (again) - `TooManyException::$max` int -> float - тесты по psr-4, потому что почему бы и нет - некоторые провайдеры вынесены в `BasicTestCase` - улучшен тест покупателя
24 lines
696 B
PHP
24 lines
696 B
PHP
<?php
|
||
/*
|
||
* Copyright (c) 2020-2021 Антон Аксенов (Anthony Axenov)
|
||
*
|
||
* This code is licensed under MIT.
|
||
* Этот код распространяется по лицензии MIT.
|
||
* https://github.com/anthonyaxenov/atol-online/blob/master/LICENSE
|
||
*/
|
||
|
||
declare(strict_types = 1);
|
||
|
||
namespace AtolOnline\Exceptions;
|
||
|
||
use AtolOnline\Constants\Constraints;
|
||
|
||
/**
|
||
* Исключение, возникающее при попытке указать слишком длинный логин ККТ
|
||
*/
|
||
class TooLongLoginException extends TooLongException
|
||
{
|
||
protected $message = 'Слишком длинный логин';
|
||
protected float $max = Constraints::MAX_LENGTH_LOGIN;
|
||
}
|