refactor(core) : final legacy cleanup — app is 100% modular
LST-60 (3.3). Closes the modular-monolith migration. src/Entity was already
empty; this removes the last legacy residue.
- Doctrine: drop the legacy "App" mapping (empty src/Entity). resolve_target_
entities already targets modules only.
- MCP User tools (Reference/) -> Core/Infrastructure/Mcp/Tool; MCP Serializer
-> Shared/Infrastructure/Mcp (33 usages repointed).
- Controllers (mark-all-read, notification unread-count, regenerate-api-token,
user-avatar) -> Core/Infrastructure/Controller. TokenEncryptor -> Shared/
Infrastructure/Service (11 usages). AppVersion resource+provider -> Shared.
ContractType enum -> Core/Domain/Enum.
- src/{Entity,State,Controller,Service,Enum,ApiResource} now empty; routes,
MCP tool names and public API unchanged.
180 tests green, mapping valid, no route regression, cs-fixer clean.
Note: final Malio visual harmonisation (subjective) left to the PO.
This commit is contained in:
@@ -28,12 +28,6 @@ doctrine:
|
|||||||
App\Shared\Domain\Contract\ClientInterface: App\Module\Directory\Domain\Entity\Client
|
App\Shared\Domain\Contract\ClientInterface: App\Module\Directory\Domain\Entity\Client
|
||||||
App\Shared\Domain\Contract\ClientTicketInterface: App\Module\ClientPortal\Domain\Entity\ClientTicket
|
App\Shared\Domain\Contract\ClientTicketInterface: App\Module\ClientPortal\Domain\Entity\ClientTicket
|
||||||
mappings:
|
mappings:
|
||||||
App:
|
|
||||||
type: attribute
|
|
||||||
is_bundle: false
|
|
||||||
dir: '%kernel.project_dir%/src/Entity'
|
|
||||||
prefix: 'App\Entity'
|
|
||||||
alias: App
|
|
||||||
Core:
|
Core:
|
||||||
type: attribute
|
type: attribute
|
||||||
is_bundle: false
|
is_bundle: false
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
$uploadDir: '%task_document_upload_dir%'
|
$uploadDir: '%task_document_upload_dir%'
|
||||||
|
|
||||||
App\Controller\UserAvatarController:
|
App\Module\Core\Infrastructure\Controller\UserAvatarController:
|
||||||
arguments:
|
arguments:
|
||||||
$avatarUploadDir: '%avatar_upload_dir%'
|
$avatarUploadDir: '%avatar_upload_dir%'
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\DataFixtures;
|
namespace App\DataFixtures;
|
||||||
|
|
||||||
use App\Enum\ContractType;
|
|
||||||
use App\Module\Absence\Domain\Entity\AbsenceBalance;
|
use App\Module\Absence\Domain\Entity\AbsenceBalance;
|
||||||
use App\Module\Absence\Domain\Entity\AbsencePolicy;
|
use App\Module\Absence\Domain\Entity\AbsencePolicy;
|
||||||
use App\Module\Absence\Domain\Entity\AbsenceRequest;
|
use App\Module\Absence\Domain\Entity\AbsenceRequest;
|
||||||
@@ -15,6 +14,7 @@ use App\Module\ClientPortal\Domain\Enum\ClientTicketStatus;
|
|||||||
use App\Module\ClientPortal\Domain\Enum\ClientTicketType;
|
use App\Module\ClientPortal\Domain\Enum\ClientTicketType;
|
||||||
use App\Module\Core\Application\Rbac\RbacSeeder;
|
use App\Module\Core\Application\Rbac\RbacSeeder;
|
||||||
use App\Module\Core\Domain\Entity\User;
|
use App\Module\Core\Domain\Entity\User;
|
||||||
|
use App\Module\Core\Domain\Enum\ContractType;
|
||||||
use App\Module\Directory\Domain\Entity\Client;
|
use App\Module\Directory\Domain\Entity\Client;
|
||||||
use App\Module\Directory\Domain\Entity\Prospect;
|
use App\Module\Directory\Domain\Entity\Prospect;
|
||||||
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Absence\Application\Service\AbsenceBalanceService;
|
use App\Module\Absence\Application\Service\AbsenceBalanceService;
|
||||||
use App\Module\Absence\Domain\Enum\AbsenceStatus;
|
use App\Module\Absence\Domain\Enum\AbsenceStatus;
|
||||||
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Absence\Application\Service\AbsenceBalanceService;
|
use App\Module\Absence\Application\Service\AbsenceBalanceService;
|
||||||
use App\Module\Absence\Domain\Entity\AbsenceRequest;
|
use App\Module\Absence\Domain\Entity\AbsenceRequest;
|
||||||
use App\Module\Absence\Domain\Enum\AbsenceStatus;
|
use App\Module\Absence\Domain\Enum\AbsenceStatus;
|
||||||
@@ -14,6 +13,7 @@ use App\Module\Absence\Domain\Repository\AbsencePolicyRepositoryInterface;
|
|||||||
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
||||||
use App\Module\Absence\Domain\Service\AbsenceDayCalculator;
|
use App\Module\Absence\Domain\Service\AbsenceDayCalculator;
|
||||||
use App\Module\Core\Domain\Repository\UserRepositoryInterface;
|
use App\Module\Core\Domain\Repository\UserRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Absence\Domain\Enum\AbsenceType;
|
use App\Module\Absence\Domain\Enum\AbsenceType;
|
||||||
use App\Module\Absence\Domain\Repository\AbsenceBalanceRepositoryInterface;
|
use App\Module\Absence\Domain\Repository\AbsenceBalanceRepositoryInterface;
|
||||||
use App\Module\Core\Domain\Repository\UserRepositoryInterface;
|
use App\Module\Core\Domain\Repository\UserRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Absence\Domain\Repository\AbsencePolicyRepositoryInterface;
|
use App\Module\Absence\Domain\Repository\AbsencePolicyRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Absence\Domain\Enum\AbsenceStatus;
|
use App\Module\Absence\Domain\Enum\AbsenceStatus;
|
||||||
use App\Module\Absence\Domain\Enum\AbsenceType;
|
use App\Module\Absence\Domain\Enum\AbsenceType;
|
||||||
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
||||||
use App\Module\Core\Domain\Repository\UserRepositoryInterface;
|
use App\Module\Core\Domain\Repository\UserRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Absence\Application\Service\AbsenceBalanceService;
|
use App\Module\Absence\Application\Service\AbsenceBalanceService;
|
||||||
use App\Module\Absence\Domain\Enum\AbsenceStatus;
|
use App\Module\Absence\Domain\Enum\AbsenceStatus;
|
||||||
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
use App\Module\Absence\Domain\Repository\AbsenceRequestRepositoryInterface;
|
||||||
use App\Shared\Domain\Contract\UserInterface;
|
use App\Shared\Domain\Contract\UserInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Absence\Domain\Repository\AbsenceBalanceRepositoryInterface;
|
use App\Module\Absence\Domain\Repository\AbsenceBalanceRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
namespace App\Module\Absence\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Absence\Domain\Repository\AbsencePolicyRepositoryInterface;
|
use App\Module\Absence\Domain\Repository\AbsencePolicyRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ use ApiPlatform\Metadata\Get;
|
|||||||
use ApiPlatform\Metadata\GetCollection;
|
use ApiPlatform\Metadata\GetCollection;
|
||||||
use ApiPlatform\Metadata\Patch;
|
use ApiPlatform\Metadata\Patch;
|
||||||
use ApiPlatform\Metadata\Post;
|
use ApiPlatform\Metadata\Post;
|
||||||
use App\Enum\ContractType;
|
use App\Module\Core\Domain\Enum\ContractType;
|
||||||
use App\Module\Core\Infrastructure\ApiPlatform\State\MeProvider;
|
use App\Module\Core\Infrastructure\ApiPlatform\State\MeProvider;
|
||||||
use App\Module\Core\Infrastructure\ApiPlatform\State\Processor\UserRbacProcessor;
|
use App\Module\Core\Infrastructure\ApiPlatform\State\Processor\UserRbacProcessor;
|
||||||
use App\Module\Core\Infrastructure\ApiPlatform\State\UserPasswordHasherProcessor;
|
use App\Module\Core\Infrastructure\ApiPlatform\State\UserPasswordHasherProcessor;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Enum;
|
namespace App\Module\Core\Domain\Enum;
|
||||||
|
|
||||||
enum ContractType: string
|
enum ContractType: string
|
||||||
{
|
{
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Controller;
|
namespace App\Module\Core\Infrastructure\Controller;
|
||||||
|
|
||||||
use App\Module\Core\Infrastructure\Doctrine\DoctrineNotificationRepository;
|
use App\Module\Core\Infrastructure\Doctrine\DoctrineNotificationRepository;
|
||||||
use App\Shared\Domain\Contract\UserInterface;
|
use App\Shared\Domain\Contract\UserInterface;
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Controller;
|
namespace App\Module\Core\Infrastructure\Controller;
|
||||||
|
|
||||||
use App\Module\Core\Infrastructure\Doctrine\DoctrineNotificationRepository;
|
use App\Module\Core\Infrastructure\Doctrine\DoctrineNotificationRepository;
|
||||||
use App\Shared\Domain\Contract\UserInterface;
|
use App\Shared\Domain\Contract\UserInterface;
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Controller;
|
namespace App\Module\Core\Infrastructure\Controller;
|
||||||
|
|
||||||
use App\Module\Core\Domain\Entity\User;
|
use App\Module\Core\Domain\Entity\User;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Controller;
|
namespace App\Module\Core\Infrastructure\Controller;
|
||||||
|
|
||||||
use App\Module\Core\Domain\Entity\User;
|
use App\Module\Core\Domain\Entity\User;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
+2
-2
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Mcp\Tool\Reference;
|
namespace App\Module\Core\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Mcp\Tool\Reference;
|
namespace App\Module\Core\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
+3
-3
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Mcp\Tool\Reference;
|
namespace App\Module\Core\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Enum\ContractType;
|
use App\Module\Core\Domain\Enum\ContractType;
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
@@ -4,10 +4,10 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Entity\Client;
|
use App\Module\Directory\Domain\Entity\Client;
|
||||||
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
||||||
use App\Module\Directory\Domain\Repository\ProspectRepositoryInterface;
|
use App\Module\Directory\Domain\Repository\ProspectRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Entity\Client;
|
use App\Module\Directory\Domain\Entity\Client;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Entity\Prospect;
|
use App\Module\Directory\Domain\Entity\Prospect;
|
||||||
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Repository\ClientRepositoryInterface;
|
use App\Module\Directory\Domain\Repository\ClientRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Repository\ProspectRepositoryInterface;
|
use App\Module\Directory\Domain\Repository\ProspectRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
||||||
use App\Module\Directory\Domain\Repository\ProspectRepositoryInterface;
|
use App\Module\Directory\Domain\Repository\ProspectRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Repository\ClientRepositoryInterface;
|
use App\Module\Directory\Domain\Repository\ClientRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
namespace App\Module\Directory\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
use App\Module\Directory\Domain\Enum\ProspectStatus;
|
||||||
use App\Module\Directory\Domain\Repository\ProspectRepositoryInterface;
|
use App\Module\Directory\Domain\Repository\ProspectRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ use ApiPlatform\State\ProcessorInterface;
|
|||||||
use App\Module\Integration\Domain\Entity\BookStackConfiguration;
|
use App\Module\Integration\Domain\Entity\BookStackConfiguration;
|
||||||
use App\Module\Integration\Domain\Repository\BookStackConfigurationRepositoryInterface;
|
use App\Module\Integration\Domain\Repository\BookStackConfigurationRepositoryInterface;
|
||||||
use App\Module\Integration\Infrastructure\ApiPlatform\Resource\BookStackSettings;
|
use App\Module\Integration\Infrastructure\ApiPlatform\Resource\BookStackSettings;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
|
|
||||||
final readonly class BookStackSettingsProcessor implements ProcessorInterface
|
final readonly class BookStackSettingsProcessor implements ProcessorInterface
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ use ApiPlatform\State\ProcessorInterface;
|
|||||||
use App\Module\Integration\Domain\Entity\GiteaConfiguration;
|
use App\Module\Integration\Domain\Entity\GiteaConfiguration;
|
||||||
use App\Module\Integration\Domain\Repository\GiteaConfigurationRepositoryInterface;
|
use App\Module\Integration\Domain\Repository\GiteaConfigurationRepositoryInterface;
|
||||||
use App\Module\Integration\Infrastructure\ApiPlatform\Resource\GiteaSettings;
|
use App\Module\Integration\Infrastructure\ApiPlatform\Resource\GiteaSettings;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
|
|
||||||
final readonly class GiteaSettingsProcessor implements ProcessorInterface
|
final readonly class GiteaSettingsProcessor implements ProcessorInterface
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ use ApiPlatform\State\ProcessorInterface;
|
|||||||
use App\Module\Integration\Domain\Entity\ShareConfiguration;
|
use App\Module\Integration\Domain\Entity\ShareConfiguration;
|
||||||
use App\Module\Integration\Domain\Repository\ShareConfigurationRepositoryInterface;
|
use App\Module\Integration\Domain\Repository\ShareConfigurationRepositoryInterface;
|
||||||
use App\Module\Integration\Infrastructure\ApiPlatform\Resource\ShareSettings;
|
use App\Module\Integration\Infrastructure\ApiPlatform\Resource\ShareSettings;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
|
|
||||||
final readonly class ShareSettingsProcessor implements ProcessorInterface
|
final readonly class ShareSettingsProcessor implements ProcessorInterface
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ use ApiPlatform\State\ProcessorInterface;
|
|||||||
use App\Module\Integration\Domain\Entity\ZimbraConfiguration;
|
use App\Module\Integration\Domain\Entity\ZimbraConfiguration;
|
||||||
use App\Module\Integration\Domain\Repository\ZimbraConfigurationRepositoryInterface;
|
use App\Module\Integration\Domain\Repository\ZimbraConfigurationRepositoryInterface;
|
||||||
use App\Module\Integration\Infrastructure\ApiPlatform\Resource\ZimbraSettings;
|
use App\Module\Integration\Infrastructure\ApiPlatform\Resource\ZimbraSettings;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
|
|
||||||
final readonly class ZimbraSettingsProcessor implements ProcessorInterface
|
final readonly class ZimbraSettingsProcessor implements ProcessorInterface
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace App\Module\Integration\Infrastructure\Service;
|
|||||||
use App\Module\Integration\Domain\Entity\BookStackConfiguration;
|
use App\Module\Integration\Domain\Entity\BookStackConfiguration;
|
||||||
use App\Module\Integration\Domain\Exception\BookStackApiException;
|
use App\Module\Integration\Domain\Exception\BookStackApiException;
|
||||||
use App\Module\Integration\Domain\Repository\BookStackConfigurationRepositoryInterface;
|
use App\Module\Integration\Domain\Repository\BookStackConfigurationRepositoryInterface;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use Symfony\Contracts\HttpClient\Exception\ExceptionInterface;
|
use Symfony\Contracts\HttpClient\Exception\ExceptionInterface;
|
||||||
use Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface;
|
use Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface;
|
||||||
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ use App\Module\Integration\Domain\Exception\GiteaApiException;
|
|||||||
use App\Module\Integration\Domain\Repository\GiteaConfigurationRepositoryInterface;
|
use App\Module\Integration\Domain\Repository\GiteaConfigurationRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Entity\Project;
|
use App\Module\ProjectManagement\Domain\Entity\Project;
|
||||||
use App\Module\ProjectManagement\Domain\Entity\Task;
|
use App\Module\ProjectManagement\Domain\Entity\Task;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use Symfony\Component\String\Slugger\AsciiSlugger;
|
use Symfony\Component\String\Slugger\AsciiSlugger;
|
||||||
use Symfony\Component\String\Slugger\SluggerInterface;
|
use Symfony\Component\String\Slugger\SluggerInterface;
|
||||||
use Symfony\Contracts\HttpClient\Exception\ExceptionInterface;
|
use Symfony\Contracts\HttpClient\Exception\ExceptionInterface;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ use App\Module\Integration\Domain\Service\FileEntry;
|
|||||||
use App\Module\Integration\Domain\Service\FileSource;
|
use App\Module\Integration\Domain\Service\FileSource;
|
||||||
use App\Module\Integration\Domain\Service\SharePathResolver;
|
use App\Module\Integration\Domain\Service\SharePathResolver;
|
||||||
use App\Module\Integration\Domain\Service\ShareTestResult;
|
use App\Module\Integration\Domain\Service\ShareTestResult;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use Icewind\SMB\BasicAuth;
|
use Icewind\SMB\BasicAuth;
|
||||||
use Icewind\SMB\IFileInfo;
|
use Icewind\SMB\IFileInfo;
|
||||||
use Icewind\SMB\IShare;
|
use Icewind\SMB\IShare;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ use ApiPlatform\State\ProcessorInterface;
|
|||||||
use App\Module\Mail\Domain\Entity\MailConfiguration;
|
use App\Module\Mail\Domain\Entity\MailConfiguration;
|
||||||
use App\Module\Mail\Domain\Repository\MailConfigurationRepositoryInterface;
|
use App\Module\Mail\Domain\Repository\MailConfigurationRepositoryInterface;
|
||||||
use App\Module\Mail\Infrastructure\ApiPlatform\Resource\MailSettings;
|
use App\Module\Mail\Infrastructure\ApiPlatform\Resource\MailSettings;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
|
|
||||||
final readonly class MailSettingsProcessor implements ProcessorInterface
|
final readonly class MailSettingsProcessor implements ProcessorInterface
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ use App\Module\Mail\Application\Dto\MailMessageHeaderDto;
|
|||||||
use App\Module\Mail\Domain\Exception\MailProviderException;
|
use App\Module\Mail\Domain\Exception\MailProviderException;
|
||||||
use App\Module\Mail\Domain\Provider\MailProviderInterface;
|
use App\Module\Mail\Domain\Provider\MailProviderInterface;
|
||||||
use App\Module\Mail\Domain\Repository\MailConfigurationRepositoryInterface;
|
use App\Module\Mail\Domain\Repository\MailConfigurationRepositoryInterface;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use SodiumException;
|
use SodiumException;
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Project;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Project;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Repository\ClientRepositoryInterface;
|
use App\Module\Directory\Domain\Repository\ClientRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Entity\Project;
|
use App\Module\ProjectManagement\Domain\Entity\Project;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Project;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Project;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Project;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Project;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Project;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Project;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Directory\Domain\Repository\ClientRepositoryInterface;
|
use App\Module\Directory\Domain\Repository\ClientRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Task;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Task;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
||||||
use App\Module\ProjectManagement\Domain\Entity\Task;
|
use App\Module\ProjectManagement\Domain\Entity\Task;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
||||||
@@ -15,6 +14,7 @@ use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
|||||||
use App\Module\ProjectManagement\Domain\Repository\TaskStatusRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskStatusRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskTagRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskTagRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Infrastructure\Service\CalDavService;
|
use App\Module\ProjectManagement\Infrastructure\Service\CalDavService;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Task;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Task;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Task;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Task;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Task;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\Task;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskEffortRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskEffortRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskGroupRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskGroupRepositoryInterface;
|
||||||
@@ -13,6 +12,7 @@ use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
|||||||
use App\Module\ProjectManagement\Domain\Repository\TaskStatusRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskStatusRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskTagRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskTagRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Infrastructure\Service\CalDavService;
|
use App\Module\ProjectManagement\Infrastructure\Service\CalDavService;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\TaskMeta;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\TaskMeta;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\ProjectManagement\Domain\Entity\TaskGroup;
|
use App\Module\ProjectManagement\Domain\Entity\TaskGroup;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\TaskMeta;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\TaskMeta;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskGroupRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskGroupRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\TaskMeta;
|
namespace App\Module\ProjectManagement\Infrastructure\Mcp\Tool\TaskMeta;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskGroupRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskGroupRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ use App\Module\Integration\Domain\Repository\ZimbraConfigurationRepositoryInterf
|
|||||||
use App\Module\ProjectManagement\Domain\Entity\Task;
|
use App\Module\ProjectManagement\Domain\Entity\Task;
|
||||||
use App\Module\ProjectManagement\Domain\Entity\TaskRecurrence;
|
use App\Module\ProjectManagement\Domain\Entity\TaskRecurrence;
|
||||||
use App\Module\ProjectManagement\Domain\Enum\RecurrenceType;
|
use App\Module\ProjectManagement\Domain\Enum\RecurrenceType;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use DateTimeZone;
|
use DateTimeZone;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use Sabre\VObject\Component\VCalendar;
|
use Sabre\VObject\Component\VCalendar;
|
||||||
|
|||||||
@@ -4,13 +4,13 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\TimeTracking\Infrastructure\Mcp\Tool;
|
namespace App\Module\TimeTracking\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
use App\Module\Core\Infrastructure\Doctrine\DoctrineUserRepository;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskTagRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskTagRepositoryInterface;
|
||||||
use App\Module\TimeTracking\Domain\Entity\TimeEntry;
|
use App\Module\TimeTracking\Domain\Entity\TimeEntry;
|
||||||
use App\Module\TimeTracking\Domain\Repository\TimeEntryRepositoryInterface;
|
use App\Module\TimeTracking\Domain\Repository\TimeEntryRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\TimeTracking\Infrastructure\Mcp\Tool;
|
namespace App\Module\TimeTracking\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\TimeTracking\Domain\Repository\TimeEntryRepositoryInterface;
|
use App\Module\TimeTracking\Domain\Repository\TimeEntryRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Mcp\Capability\Attribute\McpTool;
|
use Mcp\Capability\Attribute\McpTool;
|
||||||
use Symfony\Bundle\SecurityBundle\Security;
|
use Symfony\Bundle\SecurityBundle\Security;
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Module\TimeTracking\Infrastructure\Mcp\Tool;
|
namespace App\Module\TimeTracking\Infrastructure\Mcp\Tool;
|
||||||
|
|
||||||
use App\Mcp\Tool\Serializer;
|
|
||||||
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\ProjectRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskRepositoryInterface;
|
||||||
use App\Module\ProjectManagement\Domain\Repository\TaskTagRepositoryInterface;
|
use App\Module\ProjectManagement\Domain\Repository\TaskTagRepositoryInterface;
|
||||||
use App\Module\TimeTracking\Domain\Repository\TimeEntryRepositoryInterface;
|
use App\Module\TimeTracking\Domain\Repository\TimeEntryRepositoryInterface;
|
||||||
|
use App\Shared\Infrastructure\Mcp\Serializer;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
|||||||
+2
-2
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\ApiResource;
|
namespace App\Shared\Infrastructure\ApiPlatform\Resource;
|
||||||
|
|
||||||
use ApiPlatform\Metadata\ApiResource;
|
use ApiPlatform\Metadata\ApiResource;
|
||||||
use ApiPlatform\Metadata\Get;
|
use ApiPlatform\Metadata\Get;
|
||||||
use App\State\AppVersionProvider;
|
use App\Shared\Infrastructure\ApiPlatform\State\AppVersionProvider;
|
||||||
use Symfony\Component\Serializer\Attribute\Groups;
|
use Symfony\Component\Serializer\Attribute\Groups;
|
||||||
|
|
||||||
#[ApiResource(
|
#[ApiResource(
|
||||||
+2
-2
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\State;
|
namespace App\Shared\Infrastructure\ApiPlatform\State;
|
||||||
|
|
||||||
use ApiPlatform\Metadata\Operation;
|
use ApiPlatform\Metadata\Operation;
|
||||||
use ApiPlatform\State\ProviderInterface;
|
use ApiPlatform\State\ProviderInterface;
|
||||||
use App\ApiResource\AppVersion;
|
use App\Shared\Infrastructure\ApiPlatform\Resource\AppVersion;
|
||||||
use Symfony\Component\DependencyInjection\Attribute\Autowire;
|
use Symfony\Component\DependencyInjection\Attribute\Autowire;
|
||||||
|
|
||||||
final readonly class AppVersionProvider implements ProviderInterface
|
final readonly class AppVersionProvider implements ProviderInterface
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Mcp\Tool;
|
namespace App\Shared\Infrastructure\Mcp;
|
||||||
|
|
||||||
use App\Module\Absence\Domain\Entity\AbsenceBalance;
|
use App\Module\Absence\Domain\Entity\AbsenceBalance;
|
||||||
use App\Module\Absence\Domain\Entity\AbsencePolicy;
|
use App\Module\Absence\Domain\Entity\AbsencePolicy;
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Service;
|
namespace App\Shared\Infrastructure\Service;
|
||||||
|
|
||||||
use RuntimeException;
|
use RuntimeException;
|
||||||
use SodiumException;
|
use SodiumException;
|
||||||
@@ -8,7 +8,7 @@ use App\Module\Mail\Domain\Entity\MailConfiguration;
|
|||||||
use App\Module\Mail\Domain\Exception\MailProviderException;
|
use App\Module\Mail\Domain\Exception\MailProviderException;
|
||||||
use App\Module\Mail\Domain\Repository\MailConfigurationRepositoryInterface;
|
use App\Module\Mail\Domain\Repository\MailConfigurationRepositoryInterface;
|
||||||
use App\Module\Mail\Infrastructure\Imap\ImapMailProvider;
|
use App\Module\Mail\Infrastructure\Imap\ImapMailProvider;
|
||||||
use App\Service\TokenEncryptor;
|
use App\Shared\Infrastructure\Service\TokenEncryptor;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use Psr\Log\NullLogger;
|
use Psr\Log\NullLogger;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user