Refactor App Bootstrapping & DI Ownership Model#457
Merged
armanist merged 80 commits intoApr 20, 2026
Conversation
…ces in the container
…::reset() in AppFactory Made-with: Cursor
…n state Made-with: Cursor
…actions Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
…onsoleAppTrait Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
…ls with stages Made-with: Cursor
…pTrait, ConsoleAppTrait Made-with: Cursor
…ss through DI Made-with: Cursor
…stance properties Made-with: Cursor
…crete classes Made-with: Cursor
…aged instance Made-with: Cursor
…aged instance Made-with: Cursor
…o DI-managed instance Made-with: Cursor
…to DI-managed instance Made-with: Cursor
… DI-managed instance Made-with: Cursor
…he to DI-managed instance Made-with: Cursor
…DI-managed instance Made-with: Cursor
… to DI-managed instance Made-with: Cursor
…o DI-managed instance Made-with: Cursor
…to DI-managed instance Made-with: Cursor
…to DI-managed instance Made-with: Cursor
…to DI-managed instance Made-with: Cursor
…CoreDependenciesStage Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Collaborator
Author
|
@coderabbitai help |
ChatThere are 3 ways to chat with CodeRabbit:
CodeRabbit commands
Other keywords and placeholders
CodeRabbit configuration file (
|
Collaborator
Author
|
@coderabbitai summary |
✅ Actions performedSummary regeneration triggered. |
Collaborator
Author
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
grigoryanmartin20
approved these changes
Apr 16, 2026
Made-with: Cursor
… becomes a pure facade Made-with: Cursor
…istration duplication Made-with: Cursor
…iewFactory Made-with: Cursor
andrey-smaelov
requested changes
Apr 17, 2026
…behavior to ConsoleAppAdapter Made-with: Cursor
…throws annotations Made-with: Cursor
Collaborator
Author
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
andrey-smaelov
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete refactoring of the Quantum PHP Framework application bootstrapping, dependency injection, and service ownership model. This introduces explicit application lifecycle boundaries, an instance-based DI container, and eliminates all static singleton patterns from core services.
Key changes
Di::get()contract (must register before resolving)createArrayBacked()for isolated env loading, withenvironment()helper and shorthand methodsGuiding principle
Closes
Closes #373
Closes #374
Closes #375
Closes #376
Closes #377
Closes #378
Closes #379
Closes #380
Closes #381
Closes #382
Closes #452
Closes #454
Closes #455
Closes #456