Skip to content

Conversation

@othercodes
Copy link
Contributor

No description provided.

@othercodes othercodes requested a review from Copilot October 14, 2025 07:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the codebase by moving domain model and event interfaces from their current locations to a new "Contracts" directory structure, improving code organization and separation of concerns.

  • Move domain model interfaces from ComplexHeart\Domain\Model to ComplexHeart\Domain\Contracts\Model
  • Move domain event interfaces from ComplexHeart\Domain\Events to ComplexHeart\Domain\Contracts\Events
  • Move application interfaces from various locations to ComplexHeart\Application\Contracts subdirectories

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.

File Description
tests/ArchTest.php Updates architectural tests to reference the new Contracts namespace locations
src/Domain/Contracts/Model/*.php Moves domain model interfaces (ValueObject, Identifier, Entity, Aggregate) to Contracts directory
src/Domain/Contracts/Events/*.php Moves domain event interfaces (Traceable, Sourceable, EventBus, Event) to Contracts directory
src/Application/Contracts/*.php Moves application layer interfaces (ServiceBus, Query/Command handlers and buses) to Contracts directory

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@othercodes othercodes merged commit 3198f19 into main Oct 14, 2025
4 checks passed
@othercodes othercodes deleted the refactor/add-contracts-directory branch October 14, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants