Skip to content

Conversation

@othercodes
Copy link
Contributor

No description provided.

@othercodes othercodes requested a review from Copilot October 14, 2025 06:22
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 to use explicit layer-based namespaces, moving from generic Contracts to specific domain and application layer namespaces (ComplexHeart\Domain\Model, ComplexHeart\Domain\Events, ComplexHeart\Application\*).

  • Reorganizes interfaces into layer-explicit namespaces following Clean Architecture principles
  • Adds comprehensive architecture testing with Pest PHP to enforce layer dependencies
  • Updates development tooling with code style checking, test framework, and CI improvements

Reviewed Changes

Copilot reviewed 31 out of 31 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/Pest.php Pest testing framework configuration
tests/ArchTest.php Architecture tests enforcing layer dependencies and interface placement
src/Domain/Model/*.php Domain model interfaces moved from Contracts to explicit Model namespace
src/Domain/Events/*.php New domain event interfaces with segregated capabilities
src/Application/*.php Application layer interfaces reorganized into Command/Query/Handler namespaces
src/Domain/Contracts/ServiceBus/*.php Legacy contract interfaces removed
composer.json Development dependencies and scripts updated for testing and code style
README.md Documentation updated to reflect new architecture and testing
.github/workflows/test.yml CI pipeline enhanced with code style checks and architecture tests

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

@othercodes othercodes force-pushed the refactor/layer-explicit-namespaces branch 3 times, most recently from 0c8f6c7 to 6a15938 Compare October 14, 2025 06:36
@othercodes othercodes force-pushed the refactor/layer-explicit-namespaces branch from 6a15938 to 2cbbe87 Compare October 14, 2025 06:39
@othercodes othercodes requested a review from Copilot October 14, 2025 06:40
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

Copilot reviewed 32 out of 33 changed files in this pull request and generated 1 comment.


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

@othercodes othercodes merged commit 79a96e5 into main Oct 14, 2025
4 checks passed
@othercodes othercodes deleted the refactor/layer-explicit-namespaces branch October 14, 2025 06:43
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