chore: Move exceptions to domain

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2023-11-26 22:17:14 +01:00
parent 3f69f09e5f
commit d542685e14
508 changed files with 2830 additions and 2475 deletions

View File

@@ -27,15 +27,16 @@ namespace SP\Tests\Repositories;
use DI\DependencyException;
use DI\NotFoundException;
use SP\Core\Context\ContextException;
use SP\Core\Exceptions\ConstraintException;
use SP\Core\Exceptions\QueryException;
use SP\Core\Exceptions\SPException;
use SP\DataModel\ItemData;
use SP\DataModel\ItemSearchData;
use SP\Domain\Core\Exceptions\ConstraintException;
use SP\Domain\Core\Exceptions\QueryException;
use SP\Domain\Core\Exceptions\SPException;
use SP\Domain\Plugin\Ports\PluginRepositoryInterface;
use SP\Infrastructure\Plugin\Repositories\PluginModel;
use SP\Infrastructure\Plugin\Repositories\PluginRepository;
use SP\Tests\DatabaseTestCase;
use function SP\Tests\setupContext;
/**
@@ -46,7 +47,7 @@ use function SP\Tests\setupContext;
class PluginRepositoryTest extends DatabaseTestCase
{
/**
* @var \SP\Domain\Plugin\Ports\PluginRepositoryInterface
* @var PluginRepositoryInterface
*/
private static $repository;